Skip to content

Android gesture navigation crash 2 #2402

@TepesLucian

Description

@TepesLucian

Still seeing some crashes in Crashlytics similar to #2153 and managed to replicated on my android device and emulator using the following navigation events (and based on the crashlytics logs) :

init LaunchScreen
resetRoot Tab1 options=StateOptions(save=false, restore=false, clear=false)
resetRoot Tab4 options=StateOptions(save=true, restore=true, clear=false)
resetRoot Tab2 options=StateOptions(save=true, restore=true, clear=false)
goTo screen=BrowseScreen
goTo screen=BrowseScreen
goTo screen=DetailsScreen
pop result=null <--- doing a gesture navigation back
goTo screen=DetailsScreen
goTo screen=DetailsScreen
resetRoot Tab3 options=StateOptions(save=true, restore=false, clear=false)
resetRoot Tab2 options=StateOptions(save=true, restore=true, clear=false)
pop result=null <--- doing a gesture navigation back
pop result=null <--- doing a gesture navigation back which crashes the app

Seeing crashes on both 0.30.0 and 0.31.0 versions. Tried writing a test to help with this issue and narrow it down but the test passes every time. I've also tried testing the app on an iPadOS device and doing the same navigation events works no problem. So it seems an android only issue - nvm, I've managed to replicate it on an iOS simulator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoIssues that require more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions