This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
Persist router stack when activity is killed by android os #328
Unanswered
Lingareddyvinitha
asked this question in
Q&A
Replies: 1 comment 4 replies
-
go_router supports state restoration. Here's an example that shows off how that works: https://github.com/csells/go_router/blob/main/go_router/example/lib/state_restoration.dart |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently facing the issue, that (if RAM is low etc.) Android may kill the Flutter Activity. I can persist the state of my widgets etc. with no problem, but the current route history always is lost and the app starts again at the initial route.
Is there some way to persist the current stack of the router?
Beta Was this translation helpful? Give feedback.
All reactions