facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 908 forks source link

Native facebook app not return email #730

Open cihankarsak opened 4 years ago

cihankarsak commented 4 years ago

Although I use readPermissions={['public_profile','email']}, native facebook app not return email. When use the browser login, I can get email. How can solve this problem. I want to get email in native facebook app.

lucasgismondi commented 4 years ago

Is this for android or ios?

MTTenterprise commented 4 years ago

Seems like the have updated the Loginbutton component

you should change <LoginButton readPermissions={["email"]}

to <LoginButton permissions={["email"]}

Everything should be working right after

cihankarsak commented 4 years ago

@MTTenterprise , Thanks, You are wonderful. Now, Email info is return.