EddyVerbruggen / cordova-plugin-googleplus

:heavy_plus_sign: Cordova plugin to login with Google Sign-In on iOS and Android
567 stars 629 forks source link

Error 10 issue on Android Internal Testing Track for Release mode but not Debug mode #760

Closed skyline220 closed 1 year ago

skyline220 commented 1 year ago

Hi,

I have added the production SHA1 hash under "App signing key certificate" to the Firebase Console for my Android app with the correct package name however when I create the app in release mode and put it on Android Internal Testing I get Error 10. When I create the app in Android Debug mode I do not get error 10 and the app works fine.

Does anyone know how to fix this? I've tried everything including cordova clean and I double checked the Oauth was generated in Google cloud platform for the production SHA1 hash too.

Thanks

skyline220 commented 1 year ago

I was able to fix this issue by creating an entirely new Firebase project, renaming my package name and creating a new app store listing. I then didn't use Googles automatic signing feature which results in different keys for App Signing Certificate SHA1 and Upload Certificate SHA1. Instead I submitted the option where you use your own key to sign and as a result the App Signing Certificate SHA1 and Upload Certificate SHA1 were the same on the app signing page, after doing that and rebuilding the app and running there is no more error 10. Hope that helps someone else, closing this item