-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🐛 [FirebaseAuth] Still logged in after app uninstallation #4661
Comments
Hi @arnaudelub This is appeared mid last year #2913. Does updating the dependency resolve this issue? Latest version for auth is |
i'll try that and let you know. Thank you for the reminder |
ok, i can't update firebase_auth because it's depending on firebase_core ^0.7.0 and i am using firebase_messaging as well, but last version is firebase_messaging 7.0.3 and it depends on firebase_core ^0.5.0+1. |
I was able to repro this on the latest master flutter doctor -v[✓] Flutter (Channel master, 1.26.0-2.0.pre.313, on macOS 11.1 20C69 darwin-arm,
locale en-GB)
• Flutter version 1.26.0-2.0.pre.313 at
/Users/nevercode/development/flutter_master
• Framework revision 1cb0a24a46 (35 hours ago), 2021-01-12 21:39:27 -0800
• Engine revision 10cee6abcb
• Dart version 2.12.0 (build 2.12.0-214.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/nevercode/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Users/nevercode/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Users/nevercode/Library/Application
Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android
Studio.app/Contents
• Flutter plugin can be installed from:
� https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
� https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (2 available)
• macOS (desktop) • macos • darwin-arm64 • macOS 11.1 20C69 darwin-arm
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.141
• No issues found! @arnaudelub What did you mean exactly by the token not being available? As a side note the latest messaging version is actually |
Hi @arnaudelub. It is my understanding this issue comes from underlying Firebase iOS SDK as this is persists authentication to the keychain. We ideally need to update the documentation for Flutterfire to explain this scenario. |
This was noted in the react-native-firebase repo as well: invertase/react-native-firebase#4667 (comment) Example iOS code in the react-native-firebase style (might need to be bent to fit here) that works around it @dackers86 Try putting this on your
put it after
|
Thanks @mikehardy! |
Hi, just to let you know that with latest updates, it is still appening. Flutter doctorRun Click To Expand
Flutter dependenciesRun Click To Expand
But as you can see i have to override intl version because of compatibility issue between easy_localization and firebase_auth Thanks |
Bug report
Describe the bug
The user is still logged in after app uninstallation
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: