-
Notifications
You must be signed in to change notification settings - Fork 137
Description
This occurs when the app is opened in the background (e.g., via Android Studio) while the phone is locked, or after completing the Google Play Services install flow and returning to the app.
The root cause is that the sign in event occurs while the MainActivity isn't running. MainViewModel emits the navigationRequests, but MainActivity is not there to receive it. To resolve this:
- The
signInStateinAuthenticationManagershould be aStateFlow. We have one now, but we convert to aFlowbecause we callfilterNotNull(). - Either Navigation events should only be triggered from within the Fragment lifecycle.
Metadata
Metadata
Assignees
Labels
type: bugSomething isn't workingSomething isn't working
Type
Projects
Status
In Progress