-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[firebase_auth_web] Can't sign in after hot restart #2002
Comments
Hi @AndroidNils |
Hi @AndroidNils |
Unfortunately this bug still there. But I dont't get the error We have this issue also in production. In production the error occurs only sometimes. In Production: If this error occurs, there are two ways to fix it:
Some additional information:
Links to our web app (Production): It's very difficult to reproduce the error in the production web app. But in debug mode it is very easy for me:
flutter run -d chrome --verbose
|
For me it happens everytime consistently after each hot reload/restart 🙃 Flutter doctor
|
DemoCode to reproducemain.dart
index.html
|
any updates on this issue ? |
I don't know if the production bug (described in the description of this ticket) and the debug bug are the same, but I found a workaround for the production bug: Like I said the user can fix it by reloading the page. So I integrated this behavior into our app:
This is the workflow:
|
cc @Ehesp - one that should be fairly quick to fix on the Auth rework branch - using the new |
Hey 👋 Our rework of the For help migrating to the new plugins please see the new migration guide: https://firebase.flutter.dev/docs/migration |
Describe the bug
After a hot restart I‘m logged out. I can‘t sign in anymore, because firebase auth loading doesn’t stop (only if type in the correct login data). Only way to fix it is so rebuild the whole app.
We have this issue also in production. In production the error occurs only sometimes.
In Production: If this error occurs, there are two ways to fix it:
Some additional information:
Links to our web app (Production):
Normal Render: https://web.sharezone.net
Skia Render: https://sharezone-release.web.app
It's very difficult to reproduce the error in the production web app. But in debug mode it is very easy for me:
Flutter doctor
[✓] Flutter (Channel dev, v1.15.3, on Mac OS X 10.15.2 19C57, locale de-DE) • Flutter version 1.15.3 at /usr/local/Caskroom/flutter/latest/flutter • Framework revision 67826bdce5 (5 days ago), 2020-02-10 14:59:32 -0800 • Engine revision 6158f03ef5 • Dart version 2.8.0 (build 2.8.0-dev.8.0 514a8d4c84)[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at /Users/nils/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.1
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.8.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
• IntelliJ at /Users/nils/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[✓] VS Code (version 1.42.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.8.1
[✓] Connected device (4 available)
• BKL L09 • 192.168.0.143:5555 • android-arm64 • Android 9 (API 28)
• macOS • macOS • darwin-x64 • Mac OS X 10.15.2 19C57
• Chrome • chrome • web-javascript • Google Chrome 79.0.3945.130
• Web Server • web-server • web-javascript • Flutter Tools
Edit: I found more information:
Demo
Login-Data:
E-Mail:
[email protected]
Password:
12345678
Code to reproduce
main.dart
index.html
The text was updated successfully, but these errors were encountered: