Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Google Sign-In fails on App Bundles

I am trying to use app bundles for my app. I have enrolled into App Signing by Google and went over all the steps. While I was testing the build generated from App Bundles, I see Google Sign-In feature fails and there are no error logs to help me debug. Everything works fine on .apk. Has anyone else encountered this while using app bundles?

like image 278
user3773337 Avatar asked Oct 25 '25 05:10

user3773337


1 Answers

When you configure Google Sign-In, you need to go to the Google API Console and set the credentials of your Android application, which includes a SHA1 of the certificate of your application.

Instead of putting the SHA1 of the certificate that you upload your APK (or App Bundle) with, you should put the SHA1 of the App Signing certificate (i.e. what is served through the Play Store). You can find this information in the App Integrity page in the Play Console:

App Signing screenshot

like image 84
Pierre Avatar answered Oct 26 '25 20:10

Pierre