Hello
I noticed 3 things in the documentation about login
Backendless.UserService.login( username, password );
Backendless.UserService.isValidLogin();
UserIdStorageFactory.instance().getStorage().get();
and I am confused to the sequence of events (or what to do for my case). It seems the above 3 methods essentially do the same thing (or perhaps they have different use cases that I dont understand).
Basically assuming the user is registered. Now lets say he opens the app to login. I would like to validate his login credential. I assume this is where the “login” method used for.
Now let’s say that he killed the app or restarted the phone. I would like the user to continue using the app without the need to login again. would calling isValidLogin or getStorage().get() be valid here?
What is needed here to achieve the above? Please keep in mind that I am open to store things locally if needed
Thank you