Skip to content

Persist Navigation State in dev mode

Manish requested to merge chore/nav-state-persistence into release/4.24.0

Ticket(s) / Related Merge Requests

(Any issue cards for the merge request, and related merge requests/dependencies)

Summary of Changes

We want to save the location in the app so that we are immediately returned to the same location after the app is restarted. This is especially valuable during development because it allows the developer to stay on the same screen when they refresh the app.

https://reactnavigation.org/docs/state-persistence/

Testing Considerations

go to some nested screen -> close the app -> open the app -> you should be at the newsfeed (behavior should be unchanged)

Regression Scope

(Can this change cause another regression issue? Which areas to focus on for regression testing?)

Platform Affected (web, mobile, etc)

all

Developer Testing Completed

manual

Screenshots

(Any extra UI screens that can be shared)

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Merge request reports