Skip to content
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

Release builds return the error code 12500 #2132

Open
mary-ng5519 opened this issue Jun 16, 2023 · 3 comments
Open

Release builds return the error code 12500 #2132

mary-ng5519 opened this issue Jun 16, 2023 · 3 comments

Comments

@mary-ng5519
Copy link

mary-ng5519 commented Jun 16, 2023

the integration of 'com.firebaseui:firebase-ui-auth' returns error 12500, we already updated and checked latest json configs, Android client ID (from goole cloud console) and SHA-5 extracted from release jsk, it works only debug build, in release builds, it returns the 12500 error code
*scope of evaluation: release builds for internal testing, doesnt push the release APK to PlayStore channels

Troubleshootings:
https://stackoverflow.com/questions/36185774/release-debug-version-and-authorization-google
https://stackoverflow.com/questions/51360250/firebase-ui-authentication-with-google-fails-with-message-code10-message10)
2023-06-17 02:11:40.003 29373-29373 AuthUI                  usap64                               E  A sign-in error occurred.
                                                                                                    com.firebase.ui.auth.FirebaseUiException: Code: 12500, message: 12500: 
                                                                                                    	at com.firebase.ui.auth.data.remote.GoogleSignInHandler.onActivityResult(GoogleSignInHandler.java:114)
                                                                                                    	at com.firebase.ui.auth.ui.idp.SingleSignInActivity.onActivityResult(SingleSignInActivity.java:144)
                                                                                                    	at android.app.Activity.dispatchActivityResult(Activity.java:8550)
                                                                                                    	at android.app.ActivityThread.deliverResults(ActivityThread.java:5583)
                                                                                                    	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5631)
                                                                                                    	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loop(Looper.java:246)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8653)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
2023-06-17 02:11:40.003 29373-29373 AuthUI                  usap64                               E  A sign-in error occurred.
                                                                                                    com.firebase.ui.auth.FirebaseUiException: Code: 12500, message: 12500: 
                                                                                                    	at com.firebase.ui.auth.data.remote.GoogleSignInHandler.onActivityResult(GoogleSignInHandler.java:114)
                                                                                                    	at com.firebase.ui.auth.ui.idp.SingleSignInActivity.onActivityResult(SingleSignInActivity.java:144)
                                                                                                    	at android.app.Activity.dispatchActivityResult(Activity.java:8550)
                                                                                                    	at android.app.ActivityThread.deliverResults(ActivityThread.java:5583)
                                                                                                    	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5631)
                                                                                                    	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loop(Looper.java:246)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8653)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
2023-06-17 02:11:40.055 29373-29373 AuthUI                  usap64                               E  A sign-in error occurred.
                                                                                                    com.firebase.ui.auth.FirebaseUiException: Code: 12500, message: 12500: 
                                                                                                    	at com.firebase.ui.auth.data.remote.GoogleSignInHandler.onActivityResult(GoogleSignInHandler.java:114)
                                                                                                    	at com.firebase.ui.auth.ui.idp.SingleSignInActivity.onActivityResult(SingleSignInActivity.java:144)
                                                                                                    	at android.app.Activity.dispatchActivityResult(Activity.java:8550)
                                                                                                    	at android.app.ActivityThread.deliverResults(ActivityThread.java:5583)
                                                                                                    	at android.app.ActivityThread.handleSendResult(ActivityThread.java:5631)
                                                                                                    	at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2336)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loop(Looper.java:246)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8653)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
@thatfiredev
Copy link
Member

Hey @mary-ng5519
Sorry you have run into that. Have you seen this section in our docs: https://firebase.google.com/docs/android/troubleshooting-faq#android-app-error12500 ?

@thatfiredev
Copy link
Member

Also, it would be helpful to us if you can tell us what version of Firebase Auth and Firebase UI you're using.

@drindt
Copy link

drindt commented Jun 28, 2024

I have exactly the same problem. I use firebase-bom:33.1.1 and firebase-ui-auth:8.0.2. I can absolutely rule out that this is a wrong setup, i.e. signing fingerprints.
I would be very grateful for any help. The code has been running smoothly so far. I cannot understand in which version construct the error occurs.

Thanks,
Daniel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants