User Should Remain Log In

Hello, when my app starts I ask user to sign-in. If true it takes you to another screen.


So, what I want is, even after the app is closed use should remained signed-in for a day. The only time when user is signed out is

  1. When user clicks Log Out Button.
  2. When day is completed.

PS:- When I press back button on home screen it takes me to start screen i.e., Log-in screen.
Where am I wrong, or what updates should I do to make this work!

You need to save the username in a stored variable rather than an app variable. Stored variables keep their value even when the app is closed.

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