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
{{ message }}
Repository navigation
onGenerate called multiple times when app is closed with the back button #79810
Pushing a deep link /details/1 makes three calls to onGenerateRoute when the app is closed with the back button. It get's called for each segment of the path, so if the user opens a link like/details/1, onGenerateRoute is called with settings.name set to /, /details, and /details/1.
When the app is open, there is only one call to onGenerateRoute, /details/1.
I've reproduced this on the master and stable channels (2.0.3)
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
johnpryan commentedon Apr 5, 2021
cc: @orestesgaolin
github-actions commentedon Aug 3, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.