[英]Facebook login doesn't work if app is downloaded from google play
we have a problem with our app. 我们的应用程序有问题。 The problem is that facebook login stops working if the app is downloaded from google play.
问题是,如果从Google Play下载该应用程序,facebook登录将停止工作。 If I install this app on a device from the command line or I download it from AppCenter, then facebook login working.
如果我从命令行在设备上安装了此应用程序,或者从AppCenter下载了该应用程序,则可以使用Facebook登录。 The signature keys are the same.
签名密钥相同。 Does anyone know where the problem might be?
有人知道问题可能在哪里吗?
We have used this package https://github.com/facebook/react-native-fbsdk but the version 0.9.0 and we have more apps when the facebook login working. 我们已经使用了这个软件包https://github.com/facebook/react-native-fbsdk,但是版本为0.9.0,并且当facebook登录有效时,我们还有更多的应用程序。
Go to your Google Play Console > Your Project > Release Management > App Signing > Copy SHA-1 certificate fingerprint and paste it in your facebook console in the SHA-1 field. 转到您的Google Play控制台>您的项目>版本管理>应用签名>复制SHA-1证书指纹,并将其粘贴到您的Facebook控制台的SHA-1字段中。
Or follow this 或按照此
https://stackoverflow.com/a/17770788/5773044 https://stackoverflow.com/a/17770788/5773044
这是因为它可能仅具有应用程序调试模式的sha键。您需要在facebook控制台中添加应用程序发行版的sha键。
Thanks, guys. 多谢你们。 I try to convert the SHA-1 key to base64 and paste it to the facebook app.
我尝试将SHA-1密钥转换为base64并将其粘贴到facebook应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.