Open KrisLau opened 2 years ago
This is expected behavior that we do not currently support "switch account" on the FB Login dialog. The user can go to Facebook app and / or FB on browser to switch accounts.
@yurika-e I've tried changing the account on the browser and it does not seem to work. Even when I log out and don't log in to any account, it will just automatically log me back in to the same account. Reference this thread: https://github.com/thebergamo/react-native-fbsdk-next/issues/29
To log in to different account I had to clear Chrome app data 🤯
@dbacinski Yeah that's the same for me but it doesn't seem like facebook is planning to implement any fixes for this. I'm not sure how other apps implement it since I've definitely seen it in other apps. I'm assuming it has something to do with using an incognito mode webview somehow but im not sure
Checklist before submitting a bug report
Java version
8.0.2010.9
Android version
Android 11
Android SDK version
13.2.0
Installation platform & version
Yarn
Package
Login
Goals
Login > logout > log in with different account
Expected results
Should show option to log out and change account
Actual results
Log in screen assumes I'm using the same account with no options to change account or log out
Steps to reproduce
I use react-native-fbsdk-next to use this SDK and there is already an issue there for this:
The main maintainer there has stated that they cannot do anything unless the underlying Facebook SDK changes. There is also a demand for this as there was also a previous issue on the old deprecated https://github.com/facebookarchive/react-native-fbsdk/issues/712
Code samples & details