I'm trying to add Facebook login in my application.
Using react-native-fbsdk-next
Here is my code:
const result = await LoginManager.logInWithPermissions(['public_profile', 'email', 'user_birthday']);
if (result.isCancelled) {
btnFacebookRef.current.setLoadingValue(false);
} else {
const data = await AccessToken.getCurrentAccessToken();
...other code

