简体   繁体   中英

Google Play App Signing and Facebook Login

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

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 =)

只需添加另一种选项,就可以检查设备的logcat,并且有来自Facebook Sdk的日志,其中带有“需要” /需要登录的“密钥”,我们也可以直接从那里复制粘贴,而无需通过在线工具进行转换。

稍后再谢谢我

echo YOUR_HEXADECIMAL_KEY | xxd -r -p | openssl base64

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM