I use this (https://github.com/facebook/react-native-fbsdk) component in attempts to setup authentication to my app using Facebook. I've successfully configured it so login button gives me a valid token on both platforms.
Problem is that application records successfully logged user
and it is pretty tricky to get rid of it (only reinstall can help). Moreover, when you try to change logged a user in facebook application on android - it gives an error:
'User logged in as different Facebook user'
I always receive this screen instead of a login form, where I can enter other credentials or at least change the account.
I use provided LoginManager.logInWithReadPermissions
for login and LoginManager.logOut
seems to do nothing.
So, is it possible for me to make application to give a user a choice
if the login was not correct or main-fb-app account has changed?