2 messages · Page 1 of 1 (latest)
I am trying to use Firebase Auth for my project, but I am having trouble persistent the auth state between hot reloads. I have tried changing the persistence with the setPersistence, but not had any luck.
To check if the user is signed in I have a useVisibleTask$ with the onAuthStateChanged
Solved, use getAuth instead of initializeAuth then it will persist 🙂