-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 AuthUI exception serialization error when logging in with Google #1579
Comments
Sounds like Google Sign In failed and FirebaseUI just caught and wrapped the exception:
My best guess would be that this happens when the user tries to use Google Sign In, needs to update Play Services, and then the update does not finish. |
There's almost definitely nothing you can do about it! There may be
something I can do about it but first I need to determine if this is a
FirebaseUI bug or a Google Sign In bug.
On Tue, Feb 5, 2019, 9:00 AM AngelStanislavovAngelov <
notifications@github.com> wrote:
… Hello Sam,
So this would mean that it is something which occurs from time to time and
there is nothing that we can do about it ?
Best regards,
Angel Angelov
On Tue, Feb 5, 2019 at 5:47 PM Sam Stern ***@***.***> wrote:
> Sounds like Google Sign In failed and FirebaseUI just caught and wrapped
> the exception:
>
> Original: com.firebase.ui.auth.FirebaseUiException: Play Services update
cancelled, original cause: com.google.android.gms.common.api.ApiException:
13:
>
> My best guess would be that this happens when the user tries to use
Google
> Sign In, needs to update Play Services, and then the update does not
finish.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <
#1579 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AsVNg3mpY5wrg05bWR-DlqHv8p69kH4eks5vKaeKgaJpZM4ai5tS
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1579 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEw6p8Hm48VDpVdfN-Ym5P_Drlq2Jblks5vKbiggaJpZM4ai5tS>
.
|
Alright, please do let me know if there is any resolution to this problem. Thanks! |
Having the same issue from time to time. In one of those cases, user had Xiaomi phone and had to enable a Google access for my app in the phone settings or something like that. |
I am having this : |
I have the save exception some times |
Hi, @kamdaou |
Hi @leocorder
But AuthUi is a prebuilt UI and probably needs Google Play services. So, I created my UI instead and used a password-based authentication. You could use it for devices that don't have Google Play services. Here is the link for doing that. |
Thanks for your quick response @kamdaou. I'm using similar code to initiate the sign in/sign up flow in my app. Unfortunately I believe the only solution currently would be to actually implement my own UI, as you did, since FirebaseUI depends on Google Play Services, although Firebase Auth does not. Thank you for your help. |
General Information
Describe the problem:
Some of the users encounter a problem when using Google as their Identity provider. The UI loading indicator on the top of the screen just hangs there and loading goes on forever. Some of them have even a video of the problem. My observations were that there was no error thrown, because what happens when Firebase Auth returns an exception is that it is communicated back to the user uder the form of a dialog. However, in this case we do not receive anything, which means that the block of code which handles logging the exception and presenting an adequate error message is not being called. So the stacktrace which I have pasted below might not actually be the real cause of the problem, however, I have failed to find any other developers encountering the same issue.
Steps to reproduce
Observed Results:
Crashlytics has logged the following exception:
Non-fatal Exception: com.firebase.ui.auth.FirebaseUiException
Exception serialization error, forced wrapping. Original: com.firebase.ui.auth.FirebaseUiException: Play Services update cancelled, original cause: com.google.android.gms.common.api.ApiException: 13:
com.firebase.ui.auth.KickoffActivity$2.onFailure (KickoffActivity.java:72)
com.google.android.gms.tasks.zzl.run (Unknown Source:4)
android.os.Handler.handleCallback (Handler.java:739)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:145)
android.app.ActivityThread.main (ActivityThread.java:6934)
java.lang.reflect.Method.invoke (Method.java)
java.lang.reflect.Method.invoke (Method.java:372)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1404)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1199)
Relevant Code:
The text was updated successfully, but these errors were encountered: