I have built a simple Google Sign in for my application. However, when I deploy the apk using Firebase App Distribution, the process returns error code 10 when a user is trying to do google sign in on their device. I have checked to make sure that the firebase project has the same SHA-1 key as my application. I am also using github actions to deploy the apk(debug) to Firebase. I'm not really sure which code snippet to show here because I am following the Google Docs on integrating Sign in. This works on the emulator. You can let me know if there's any particular file I should add here for you to help better
In Credentials select your Android project. Your API key by default has name "Android key (auto created by Firebase)". Then click "Edit API key" and in field "API restrictions" select "Don't restrict key" and click "Save". Now Google Sign in (OAuth) should works properly also when the apk is from Firebase App Distribution.
In case of AAB:
App distribution generates a new test certificate after your first AAB upload, so you should add it for your application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With