react-native-fbsdk-example
react-native-fbsdk-example copied to clipboard
Can't receive email address
Is it a bug from Facebook?
I'm pretty sure my email address is public
Its been long time working with RN. Will try to find out what is causing the error.
Ha, I found the solution minutes after :P
Basically, the tricks are:
- adding
readPermissions={["email", "user_friends", "public_profile"]}
in<LoginButton>
- removing the default
publishPermissions={["publish_actions"]}
As per #Get user's email from Graph API