android: When opening a notification, "back" should not leave the account's context #1210
Labels
a-Android
Issues specific to Android, or requiring Android-specific work
a-notifications
beta feedback
Things beta users have specifically asked for
Milestone
From beta feedback.
If the app is showing UI for Account A and you open a notification for Account B, we push a message-list route for Account B onto the nav stack that's supposed to belong to Account A. This means the "back" button will take you out of Account B's context, which can be confusing.
When we navigate on opening a notification, we should switch to a new nav stack for the notification's account (if different) before pushing the message-list route.
(The iOS counterpart is covered by #1147, for navigating at all when a notification is tapped.)
Implementation
Probably we want to call
HomePage.navigate
——and then push the result of
MessageListPage.buildRoute
after that.The text was updated successfully, but these errors were encountered: