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 906 forks source link

LoginButton always ask for permission #709

Open DevAhmedRagab opened 4 years ago

DevAhmedRagab commented 4 years ago

when I try to login with LoginButton or use logInWithPermissions always asking for permission!!

Code Example

<LoginButton publishPermissions={['publish_actions']} readPermissions={['public_profile', 'email']} onLoginFinished={(error, result) => { if (error) { console.log('login has error: ', result.error); } else if (result.isCancelled) { console.log('login is cancelled.'); } else { loginFacebook(result); } }} />