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
I have an issue where I want to launch my web app and then navigate to the given path in the URL. This is needed to link to news articles inside of the web app.
The splash screen is shown initially and then I programmatically route the user to the next screen using my initialization guard. So far this works fine. Now when I append a path such as /main to the url the path gets ignored and I immediately get this error:
══╡ EXCEPTION CAUGHT BY FLUTTER FRAMEWORK ╞═════════════════════════════════════════════════════════
js_primitives.dart:30 The following message was thrown:
js_primitives.dart:30 Could not navigate to initial route.
js_primitives.dart:30 The requested route name was: "/main"
js_primitives.dart:30 There was no corresponding route in the app, and therefore the initial route specified will be
js_primitives.dart:30 ignored and "/" will be used instead.
js_primitives.dart:30 ═════════
════════════════════════════════════════════════════════════════════════════
I'm unsure if this error is Flutter related or related to auto_route. I have also played around with the deeplinkBuilder but I never have the chance to access the initial path.
The text was updated successfully, but these errors were encountered:
I have an issue where I want to launch my web app and then navigate to the given path in the URL. This is needed to link to news articles inside of the web app.
The splash screen is shown initially and then I programmatically route the user to the next screen using my initialization guard. So far this works fine. Now when I append a path such as /main to the url the path gets ignored and I immediately get this error:
My app_router.dart:
I'm unsure if this error is Flutter related or related to auto_route. I have also played around with the deeplinkBuilder but I never have the chance to access the initial path.
The text was updated successfully, but these errors were encountered: