脸谱网LinkedIn集成无法在Beta版中使用 [英] Facebook & LinkedIn integration not working in beta release
问题描述
我对Facebook& Linkedin集成,
I have some strange issue regarding Facebook & Linkedin integration,
我已经通过Facebook和Google进行了集成登录.在我的应用程序中使用了LinkedIn.
I have integrated login through Facebook & LinkedIn in my application.
登录在调试&中正常运行释放版本. 但是当我使用签名的apk(发布版本)将我的应用程序上载到Beta版中时,Facebook和LinkedIn都无法使用登录功能.
Login Working fine in debug & release build. But when I upload my application in beta release with signed apk(release build), login functionality is not working neither Facebook nor LinkedIn.
我已经使用
用于调试
keytool -exportcert -alias androiddebugkey -keystore debug.keystore | openssl sha1 -binary | openssl base64
发布
keytool -exportcert -alias <aliasName> -keystore <keystoreFilePath> | openssl sha1 -binary | openssl base64
我收到Invalid key hash.
错误.
以下是相同的屏幕截图,
Here is the screenshot of the same,
推荐答案
经过数小时的研究,我发现了一些新的&有趣的.来了,
After hours of research on this I come to know something new & interesting. Here it goes,
当我们将应用程序上传到 Google Play控制台时,它会对其进行签名和&生成用于申请的签名证书.作为此过程的一部分,我们的SHA1值将被替换& ;;获取由签名证书分配的新SHA1值 .
When we upload our application on Google play console, It signs it & generates a signature certificate for application. As a part of this process our SHA1 value gets replaced & gets new SHA1 value assigned by signature certificate.
可以在 Google Play控制台>所有应用程序>您的应用程序>版本管理>应用程序的签名>应用程序的签名证书>证书的SHA-1指纹中找到该值
One can find this value at Google Play Console > All Applications > You Application > Version Management > Signature of the app > Certificate of signature of the app > SHA-1 fingerprint of the certificate
注意:请手动复制,因为从给定按钮(SHA1键旁边)处理的内容还包括"SHA1:"文本,该文本实际上不属于应用程序SHA1的一部分.
NOTE : Please copy manually because coping from given button (next to SHA1 key) also includes "SHA1:" text, which is actually not part of SHA1 of the application.
正确复制后,将您的 SHA1转换为base-64 格式.您可以使用此链接 SHA1转换为Base64 .
Once copied properly, convert your SHA1 to base-64 format. You can do so using this link SHA1 Convert to Base64.
最后,在现在将此哈希密钥添加到您的Facebook
& LinkedIn
开发人员门户.
Now add this hash key to your Facebook
& LinkedIn
developer portal.
这篇关于脸谱网LinkedIn集成无法在Beta版中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!