-
Notifications
You must be signed in to change notification settings - Fork 4k
flutterfire_ui 0.4.0 Google Sign In Error on Android and macOS desktop #8384
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
Comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Thanks for the report. Seeing the same using latest version. Verified this on Android device (S10). stable, master flutter doctor -v
/cc @lesnitsky Please disregard the Android platform replication. It was related to my SHA key and re-registering it got it working for me on Android. So this doesn't seem to be specific to mobile platform. I can confirm this behavior on macOS wherein I am seeing 400 server response with |
@Splashman777 what platform are you experiencing this issue? |
Macos
… في ٠٤/٠٤/٢٠٢٢ الساعة ٢:٥٧ م، كتب/كتبت Andrei Lesnitsky ***@***.***>:
@Splashman777 what platform are you experiencing this issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
@Splashman777 Could you please add your emualtor sha to the firebase project and try to sign in with google again? |
@lesnitsky Android. I have all my SHA keys set up in Firebase and everything has been working on other versions besides 0.4.0 |
I have a similar issue on macOS for both Google and Apple sign in. |
Strangely I'm getting the same "an unknown error has occurred" error message and I haven't moved off I should add I'm also on stable channel, using a Android 12 device and can confirm I have the debug SHA1 fingerprint added to my Firebase project config. |
Also getting an 'An unknown error occurred' with This occurs when Login with Google:
Have now also tested with |
I'm looking into it |
I encountered the same issue on Android after upgrading This change may be the reason. The |
@etienn01 Specifying the I'm using But still get the "An unknown error occurred" when using 'Sign in with Google'. Email/password sign in and Sign in with Apple both still working fine. UPDATE: Have now upgraded to |
I have the same issue. Google SignIn button works only with version of flutterfire_ui smaller than 4.0.0. In other case 'An unknown error occured' happens. IDE: Android Studio, google_sin_in: 5.3.0 |
Using flutterfire_ui version 0.4.2 I have the same issue debugging on 1)Samsung SM-G900V running Android 6.0.1, and 2)Samsung SM-G950U running Android 9. Same project runs on iPhone and iPad with no problems with Sign in with Google. Flutter Doctor: • No issues found! |
Update which shows we have a clear conflicting requirements around the id. Trying to use I'm using the latest:
Result when the app runs on Android is this warning: So |
I've just hit this and I think the warning is a red herring...
Hopefully one of those two things helps the rest of you (I assume it's the first one). I believe there is a decent delay after changing the OAuth Consent Sceen, so give it an hour |
I upgraded flutterfire_ui from 0.3.6+1 to 0.4.0 and Google Sign In button no longer works. It always says "An unknown error occurred". I can't find anything in the logs for further info. Switched back to 0.3.6+1 and it works fine.
The only thing I could find while debugging was this: "com.google.android.gms.common.api.ApiException: 10: null". Sounds like I might have something set up wrong but I've only had a problem with this version so I'm confused.
The text was updated successfully, but these errors were encountered: