FacebookComponents
FacebookComponents copied to clipboard
Logout not working on iOs
Hi, I'm currently facing an issue with logout on iOs 12.
Everything works well, but even if I call logOut
method on LoginManager
instance, my user is always logged in.
- OS: iOs 12
- FacebookComponents Version: 5.6.0.1
I see current token and profile (in my app context) are null after logout, but Safari's session still has the previous user.
private LoginManager facebookLoginManager = new LoginManager();
...
...
facebookLoginManager.LogOut();
facebookLoginManager.LogIn(facebookPermissions, this, OnFacebookLoginHandler);
Let me know if you need further information. Thank you very much
@christianascone Thanks for reporting this. Can you provide a test case of this, please? Thanks in advance!
@SotoiGhost Thank you for your reply.
Currently I am able to login, but after I call logout
and login
methods again it always stay logged with previous user, so the only way to change user is using Safari.
Is there anything specific I can provide which may help you more? Thank you
@christianascone Does this error happen on simulator or device?
I have only tried on devices, with ios 12 and ios 13.
I tried in the simulator and the error is happening I was using version 5.12.0 Not sure if there are some useful information here https://github.com/facebookarchive/facebook-swift-sdk/issues/215