Keep my app always logged in

How can I store the login information of the person who logs into the application with Google, how can I use Tiny Database here?

So when the user closes and opens each application, it remains logged in.

When login success, store any value in TinyDB.

And check that value every time app opens. If value is there, take users to home page.

Edit: You can follow the suggestion by @ADDYLIN too

FirebaseAuthentication automatically do so.

Use this Block to Verify.

if it returns False then show Login Page.
else continue with your desired App Screen.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.