Open ecymerman opened 7 years ago
Error 10 issue here too on Google Android device
Error 10 issue in Cordova app build
+1 same issue
+1 same issue
I fixed this it was just a configuration problem with REVERSED_CLIENT_ID and webClientId
Same here error 10
My problem was not including the SHA1 keys withing firebase, and since I'm in development phase so far, thus, I took the debug key sha1 like so:
keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore
Copied it as shown (for sure without SH1:
prefix):
And added it as shown here:
I was getting error 10 because the client id was incorrect as well.
@mkwsra I followed your steps but still get the error 10.
@pptoan23 Did you download google-services.json
and place it at the root of your project? if not do the same for iOS as well!
@mkwsra thank you ! I rollback anything that I changed before and redo your steps again. It worked.
@mkwsra This plugin doesn't require google-services.json as far as I can tell, and it's not in the setup instructions for the plugin. The only reason it requires it is because you have to configure an app in the firebase console in order to generate credentials
+1
you're the best @mkwsr
I had to add my web client id (the same as reversed client id in config.xml but in different format)
this.googlePlus.login({webClientId: ENV.googleWebClientId})
When logging in using Google on an Android device, sometimes an error 10 is returned, sometimes not. We can't find any pattern, though once an error is returned, it doesn't start working for a while. What could be the cause?
We could only get it working at all by using a 'Web Application' credential, an 'Android' credential never worked. IOS is OK, which uses an 'IOS' credential.