Auto login / One time login

I have completed making my app, but when user (already signup / members) enter the app it show login page, i want to display direct home page if they are already registered member. I use firebase to store user data, can anyone help me please?

You could store additionally a flag in TinyDB and check that flag during Screen.Initialize

Taifun

2 Likes

Can you show me block please?

See some similar logic in the Screen.Initialize event here App Inventor Extensions: SQlite | Pura Vida Apps
and adjust it to your needs

If TinyDB.GetValue "NotLoggedIn"
Then show login page and after succesful login set TinyDB.StoreValue "NotLoggedIn" to false
Else show home page

Taifun

If you use firebase auth there is a block for this (check if user is signed in)