简体   繁体   English

如果从Google Play下载应用程序,则Facebook登录不起作用

[英]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.

相关问题 如果从Google Play下载应用,则android facebook登录将停止工作 - android facebook login stops working if app is downloaded from google play 如果从 Google Play 下载,我使用地图 API 的应用程序将无法运行 - My app that uses Maps API doesn't work if downloaded from Google Play 如果未安装应用程序,Facebook登录将不起作用 - Facebook login doesn't work if app is not installed 从 Google Play 下载后应用无法运行 - App doesn't work after downloading from Google Play 从Google Play下载后,应用程序无法正常工作 - Application don't work after downloaded from google play 即使安装了Google Play,facebook app也无法在genymotion模拟器2.0.1上运行 - facebook app doesn't work on genymotion emulator 2.0.1 even if google play is installed 没有Facebook应用的Android Facebook SDK 4登录无法正常工作 - Android Facebook SDK 4 login without Facebook app doesn't work Facebook 和 Google 登录不适用于 Android AAB 构建上传到 Firebase 应用程序分发 - Facebook and Google login doesn't work for Android AAB build uploaded to Firebase App Distribution cordova检测应用程序是否从Google Play下载 - cordova detect if app was downloaded from Google Play 如何知道该应用是从Google Play下载的? - How to know the app is downloaded from Google Play?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM