FireBase Authentication Not Working in iOS

What if there is no verification?

first I login


then I reload page
and open app
but I can’t load data?

That is a problem

but I can load data first after logn (before reopen app)

1 Like

What happens when you do this in your phone?

1 Like

same

Can you share your project in a DM. I’m imagining you have a block combo that is clearing the users state OR there is some kind of potential bug.

The Firebase SDK actually refreshes the users login automatically and should stay logged in until logged out or the app is fully closed.

So, closing the app and coming back to it on the computer should log the user out. But minimizing an app on your phone should allow you to come back and still be logged in.

The Sign In component provide the developer with the UserID and in the same time it provides the native code with the token. When you reload the page, the token is not available anymore but the UserID is available because you are saving it is a stored variable but now without a token.

2 Likes

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