Status Update
Comments
te...@gmail.com <te...@gmail.com> #2
I notice the same issue and LogCat shows the following message:
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
am...@gmail.com <am...@gmail.com> #3
Comment has been deleted.
am...@gmail.com <am...@gmail.com> #4
me as well....
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
Description
<navigation xmlns:android="
xmlns:app="
android:id="@+id/main"
app:startDestination="@id/graph1">
<include app:graph="@navigation/graph1" />
<include app:graph="@navigation/graph2" />
<include app:graph="@navigation/graph3" />
<include app:graph="@navigation/auth" />
<action
android:id="@+id/action_to_auth"
app:destination="@id/auth"
app:popUpTo="@id/graph1"
app:popUpToInclusive="true"
app:launchSingleTop="true" />
<action
android:id="@+id/action_to_main"
app:destination="@id/graph1"
app:popUpTo="@id/auth"
app:popUpToInclusive="true"
app:launchSingleTop="true" />
</navigation>
I didn't want to make auth the start destination since i know that's not a best practice. I'm showing / hiding the bottom navigation bar depending if the user is on the auth flow or not.
When starting the app if the user is logged out i redirect to auth flow using the action_to_authand when he logs out, i’m calling navigate(R.id.action_to_auth) . The issue with multiple backstacks is that saved stacks aren’t cleared and there is no way to query what back stacks were previously saved into the fragment manager and have options on what do with them. Am i missing something and there is a better way to handling auth flow?