Repository navigation
fix(core): Fix Android navigation crash - #9996
Conversation
…ues on the Entry struct
|
@dgmachado Perhaps, this fix needs more thought. Also, return statement may leave unexpected leftovers. |
|
@CatchABus good catch. Now I'm updating the arrays completedEntries and waitingQueue properly. |
edusperoni
left a comment
There was a problem hiding this comment.
Looks ok to me. I feel like this issue requires some more thought (how did resolvedPage ever become null? And we care about the frame, not necessarily the page), but this solution is good enough for now.
PR Checklist
What is the current behavior?
Android navigation crash when receiving unexpected value on the Entry struct. The entry.resolvedPage is coming null in a Test App and I suppose the root case is that there's memory leak happening on the navigation.
What is the new behavior?
Fix the Android navigation crash just ignoring the expected value received. It's a defensive programming and that fixes the this crash issue.