144
Views
3
Comments
Solved
[Google Login Plugin] Error 10
google-login-plugin
Mobile icon
Forge asset by OutSystems Lab

Hello,


i'm trying to make login with this component, and i'm always geting the Error 10.


Any clue what is this error?



Best regards,

PVN

2018-06-15 00-21-10
Pedro Vila Nova
Solution

Hi Eduardo,


Thank you for your reply.


It was a noob problem, i forgot to configure the keystore.......



Problem Solved...


Best regards,

Pedro Vila Nova

2022-07-08 12-19-58
Eduardo Benites

Pedro Vila Nova wrote:

Hello,


i'm trying to make login with this component, and i'm always geting the Error 10.


Any clue what is this error?



Best regards,

PVN

Hi Pedro,

  1. generate your private key
    $ keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

  2. get SHA1 from the key that you generated above
    $ keytool -exportcert -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore

  3. use that SHA1 here to get all your necesarry token, IDs or keys --> https://developers.google.com/mobile/add?platform=android&cntapi=signin 549

  4. release build your app to generate an unsigned apk file
    $ cordova build android --release

  5. jar sign that apk file with the above keystore
    $ jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name

Reference:
http://ionicframework.com/docs/v1/guide/publishing.html



Regards,

Eduardo Benites

2018-06-15 00-21-10
Pedro Vila Nova
Solution

Hi Eduardo,


Thank you for your reply.


It was a noob problem, i forgot to configure the keystore.......



Problem Solved...


Best regards,

Pedro Vila Nova

2022-07-08 12-19-58
Eduardo Benites

You're welcome,


Eduardo Benites

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.