Facebook 登录导致 React native 中的 android APP 崩溃
Facebook login crashes the android APP in React native
我正在尝试在我的应用程序中实现 facebook 登录,但它在点击登录按钮或通过登录管理器调用它时使应用程序崩溃。我跟着,一步步https://developers.facebook.com/docs/react-native/configure-android-current。
这是一个完整的实现 - https://github.com/sanbornsen/rct-fblogin-test
我做错了什么?
对于非发布操作,您需要在 index.android.js 中的第 59 行使用 'readPermissions' 代替。
readPermissions={['public_profile']}
我正在尝试在我的应用程序中实现 facebook 登录,但它在点击登录按钮或通过登录管理器调用它时使应用程序崩溃。我跟着,一步步https://developers.facebook.com/docs/react-native/configure-android-current。
这是一个完整的实现 - https://github.com/sanbornsen/rct-fblogin-test
我做错了什么?
对于非发布操作,您需要在 index.android.js 中的第 59 行使用 'readPermissions' 代替。
readPermissions={['public_profile']}