You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we open the app in signed out state. The first activity that is appearing on screen is Navigation activity. Then after checking authentication through service, app gets redirected to AuthenticationActivity for asking user credentials. This is the current app flow.
The point is that logically if the app is in signed out state, Authentication activity should be the first activity to appear in front of user, not the Navigation activity.
I want to fix this app flow. But need some discussion.
The text was updated successfully, but these errors were encountered:
I am thinking of implementing this with the help of SharedPreference. By adding a boolean key "auth" to false by default and setting it to true when user logged in successfully. By checking value of this key, we can check user authentication in Authentication activity.
When we open the app in signed out state. The first activity that is appearing on screen is Navigation activity. Then after checking authentication through service, app gets redirected to AuthenticationActivity for asking user credentials. This is the current app flow.
The point is that logically if the app is in signed out state, Authentication activity should be the first activity to appear in front of user, not the Navigation activity.
I want to fix this app flow. But need some discussion.
The text was updated successfully, but these errors were encountered: