You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spam clicking a button that navigates to a different screen can cause the navigation to occur multiple times
if the navigation in question is navigator::pop, it will crash the app if you navigate backwards at the root of the navigation
Screencast_20260706_221421.mp4
in this video i'm spam clicking the settings button, observe how I have to click back many times because settings has been pushed many times
then i spam click the back button, which results in a crash
solution
wrap all navigations in dropUnlessResumed (this is recommended by google and it is what i am doing to resolve it in Navic)
it is very tedious to wrap everything in dropUnlessResumed and i don't want to make a massive change like that in every single file so i will leave this up to discussion for a better solution if needed
issue
spam clicking a button that navigates to a different screen can cause the navigation to occur multiple times
if the navigation in question is navigator::pop, it will crash the app if you navigate backwards at the root of the navigation
Screencast_20260706_221421.mp4
in this video i'm spam clicking the settings button, observe how I have to click back many times because settings has been pushed many times
then i spam click the back button, which results in a crash
solution
wrap all navigations in
dropUnlessResumed(this is recommended by google and it is what i am doing to resolve it in Navic)it is very tedious to wrap everything in
dropUnlessResumedand i don't want to make a massive change like that in every single file so i will leave this up to discussion for a better solution if needed