Returning to the app
Bolt has relatively simple behaviour to determine what happens when a user returns to the app after it's been in the background.
1. Bolt will always try to return the user to exactly where they were when they closed it, including context such as the navigational stack. This is true regardless of how long the app has been in the background.
2. This is a best effort attempt, and certain uncommon things can prevent this from happening, such as the app being upgraded to a newer version. In this case the user will be returned to the first tab.
3. If the app is force quit we will clear the user's state and return them to the first tab.
Additionally, we've added behaviour to always preserve a user's position inside an edition. This means that if they were part-way through an edition and then navigate elsewhere in the app, when they return to that edition we'll take them back to the page they were on when they left. This is true of editions which do not have a table of contents.
Vertical scroll position within articles is not remembered once the app has been removed from memory.