-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinte loading for user that's logged out. #13
Comments
hello Maletor I have the same problem. |
Hello, Try to put this inside the button code: try Auth.auth().signOut() |
I added this And this to
This to
Not elegant, but this course is my first dive in to Flutter and local Firebase auth |
I also feel like the right option is in watching the auth stream for changes and logging the user out in response, but that's above my current knowledge. |
In https://github.com/fireship-io/flutter-firebase-quizapp-course/blob/master/lib/screens/profile.dart
if the user logs out, out of band, like by resetting their password, and they are logged into the app, they'll get an infinite loading screen.
The text was updated successfully, but these errors were encountered: