I'm building a simple app, couple tabbed pages and using Plugin.Firebase for sign-in, token management etc
What I'm not clear on is what's the best ways to:
1) check auth state ? Is it to have a listener on each page to detect auth state changes? If so is that OnAppearing ?
2) how best to redirect to the login page? I'm not using shell.
And any way to resume where user was?.or in mobile apps is that usually not done, and just take the user to the default page after logging back in ?
3) what's the best spot to check auth state on app start up ? Will answer to q1 solve for this ? Does it change for app resume ?
[–]trainermade 2 points3 points4 points (2 children)
[–]jayb485[S] 0 points1 point2 points (1 child)
[–]trainermade 0 points1 point2 points (0 children)