skip to Main Content

I uploaded my signed apk using the new Google App Signing, and found out I need to change the authentication keys in order for the APIs to keep working.
The SHA1 is given directly on the google play console, so I used it successfully with for my Google APIs, however Facebook login key is different (28 characters ending by “=” ).
Since I don’t know the alias of the new keystore created by google, I don’t know how to get this key.
Hope someone can help.
Cheers,

Q

3

Answers


  1. Chosen as BEST ANSWER

    Just found out by myself. Actually for Facebook Login, you just need to translate the hexadecimal code of your SHA1 into Base64. You can find some online tools to do it. Hope this helps someone someday =)


  2. Just to add another option, one can check the device’s logcat & there’s a Log from Facebook Sdk with the “key” expected/required to login, we can directly copy+paste from there as well instead of converting it through an online tool.

    Login or Signup to reply.
  3. Thank me later

    echo YOUR_HEXADECIMAL_KEY | xxd -r -p | openssl base64
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search