I’ve spent a solid 30 minutes searching for a solution to my problem in the topics posted but couldn’t find any, so if this is a duplicate and is already solved please link it to me.
if not, the problem is I am trying to directly make the user login to his account if he already logged in before and did not log out.
Here is the block of what I tried to do, I also tried other things that did not work.
I do know that the problem is in “userId” that should only be used in the “Sign in” method but it is asking for a password and e-mail that I am unable to provide.
So what you all need to do is, you have to store the user id in a local storage with a tag [ ID] during signup process and when the user re-opens the app then on splash screen check if the tag [ ID ] of the local storage is not equal to blank then send user to the home screen else send to signup/login screen