react-native-facebook-login
react-native-facebook-login copied to clipboard
Facebook read permission makes app crash
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
On Android, pressing the login button will make the app crash with the following message: "Cannot pass a read permission (email) to a request for publish authorization". It only happens on Android, on iOS works well. Here is the code:
FBLoginManager.logInWithPublishPermissions(['email', 'user_friends', 'user_birthday', 'user_posts', 'publish_actions'], function(error, data){ if (error) { console.log(error); } else { if (data.credentials){ //do something } } });
What is the expected behavior?
Once the login button is pressed, the Facebook app should open, let the user login and then execute the callback.
Which versions of Lottie
v1.6.1
Thank you for your help!