I have an app using capacitor-firebase-auth to do Google signin. It works well in emulator. Works well too if I install the app-release.apk directly to my Android phone. However, when the app is deployed to Android Play Store, login failed. I checked the error logs in my server, it stated the following:
Error: Google Sign In failure. at Object.fromNative (capacitor-runtime.js:230:14) at :1:18
- App is signed with the upload.jks with Android Studio
- SHA1, SHA256 fingerprints of the upload.jks are added to firebase console
- Corresponding API credential is added in google cloud console with correct SHA1 fingerprint
Do not know exactly what caused the error, as the error message did not include any status code or something.
"@capacitor/android": "^2.4.2", "@capacitor/core": "2.4.2", "capacitor-firebase-auth": "^2.3.2",