Ionic 4 cordova Googleplus plugin not working in production
Opened this issue · 6 comments
I have implemented googleplus plugin of cordova in Ionic 4 application. I followed all steps carefully given by your documentaion
Note I have not used firebase rather from Developer console I got both WEB_CLIENT_ID and REVERSED_CLIENT_ID Here is package.json
"cordova-plugin-media": {}, "cordova-plugin-googleplus": { "WEB_APPLICATION_CLIENT_ID": "xxxxxx.googleusercontent.com" }
and in config.xml I added
<plugin name="cordova-plugin-googleplus" source="npm"> <variable name="REVERSED_CLIENT_ID" value="xxxxxxx.apps.googleusercontent.com" /> </plugin>
Please note application run perfectly without any error in debug as well as in production mode(I changed the REVERSED_CLIENT_ID by using the release key I have)
But I am facing problem while I deploy the signed version in Playstore, after installing the Gooleplus feature is not working. The pop-up containing the emailids in device simply disappears after clicking over it without showing any error.
Please anyone help. Thanks.
Not sure if it makes sense, but I was facing same problem.
I made a popup to show the error and it was error 10.
It seens to be working fine after I made this:
Go to Google Play Console / Configuration / App integrity and make sure you have both SHA1 certificate added into your Firebase project (copy and paste).
Holp this help
@nayak001 please close this so it's clear that the problem has been resolved :)
Thanks for pointing this out - it helped me as well!
I am facing the same issue nd error.
But I am not using Firebase. I am using only the Google Cloud Platform.
So can anyone please let me know how I can solve this issue in production?
Google Play store is signing your application with its own key, so you need to update the finger print of your client id in the google cloud console with the Google play store finger print that you can find in Google App Console / Configuration / App integrity