- SDK Version: 36
- Platforms: iOS
When trying to login my user with Facebook I am asked to login using the Facebook App as the only option so I have no choice but to accept. When I enter the Facebook App the classic blue “Continue” button pops up, after pressing it the Facebook app navigates me to a blank screen with a “Cancel” button on the header left corner.
I supose this is not an issue regarding Expo or my code but I am not sure. I have followed the docs. I also wonder if there is any way to only allow web browser logging in for Facebook (I was not able to find how in this SDK version).
Facebook.initializeAsync(facebookAppId, 'MyAppName')
.then(() => {
Facebook.logInWithReadPermissionsAsync({ permissions: ['public_profile', 'email'] })
.then(({ type, token }) => {
if (type === 'success') {
....
}
})
.catch(e => ...);
})
.catch(e => ...);
Thanks in advance for your help…