Fixed
Status Update
Comments
il...@google.com <il...@google.com> #2
To reproduce the issue. Open a fragment for example then request permission. send the app to background, open it again from recent apps. it will crash with the above exception.
Description
It would be nice if navigation had an API that provided the currentBackStackEntry every time the destination changed.
Giving direct access to the backStackEntry would mean simplified interaction with components made available by the NavBackStackEntry like ViewModels, Lifecycles, SavedHandles, etc.