This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
Replies: 1 comment
-
Please create minimal repro, this behavior is working in my app. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a large sized app with several routes. It is working fine when packaged as an android app as well as when packaged as web app and accessed from chrome on desktop. However, when the web version is accessed on Chrome on an android device, I am observing a very weird behavior.
In one of the use cases, the app shows an alert box and when the user clicks ok, the alert box is popped (using Navigator) and the app navigates to the home screen using the call to go_router like this:
The app then shows the home screen (the first tab). Everything this is fine up to this point.
However, immediately after this point, something goes haywire with the go_router. None of the actions that invoke go_router (such as tapping other bottom nav buttons) to change the screen work. I see the messages like "INFO: GoRouter: going to /tab/2" in the console whenever a bottom nav button is clicked. But it doesn't actually go to these routes. The app is neither frozen nor crashed but it just doesn't do any navigation. It does not generate any exception or error message in the console log either.
(BTW, the action associated with FloatingActionButton works because it doesn't use go_router's API. It uses Navigator directly to pop a new screen. )
Again, this happens only on Chrome/Android (not on Chrome/Windows or APK/Android).
I know it is not possible to determine the issue without looking at the code but it is a huge app and I can't really post the code. I am requesting suggestions on how to debug this. What can I do not make it dump more information, which can help me debug.
Beta Was this translation helpful? Give feedback.
All reactions