-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facebook Login - Cache problem #13
Comments
Maybe I found the problem, I got that FB sdk has a trick to force the login status caching, we have just to add a second parameter to "FB.getLoginStatus" method as " true : But the plugin isn't made to receive this parameter. Could you add this functionality ? I found around the main trunk many issue regarding this problem. This could be a big improvement. Than you so much Enrico |
Indeed this was a big problem for me around one time, I think my solution was to call .logout whenever something went wrong Your proposed solution seems better |
Thanks kaansoral for your response, I added the facebookConnectPlugin.logout to app logout, but I still have this problem in a case of not registred user, when the user try to login and the app provide message of "not yet registreted" it ask to register or not, in the last case I got the same problem.... :( I should put logout() method in that case. |
@link-me Unfortunately your solution is for the JS SDK which this plugin doesn't use. On which platform(s) do you see this issue and perhaps: can you find a similar fix for it? |
Hi @EddyVerbruggen I know, I was suggesting to expose a parameter on facebookConnectPlugin.getLoginStatus method, as FB SDK does, to keep easy the manage of cache, without trick to clear it. I run on Android and IoS, actually it seems be the only way to clear the cache of SDK through the plugin. |
+1 The Android version show the login diakog after logout is execute. Success Callback function of Logout returns OK for Android. In iOS return In iOS use the safari to login, the temporally solution i found id delete web data from safari. Could be a solution implement a method to force delete cookies, what do you think? thanks |
I tried also this: http://stackoverflow.com/questions/12896676/facebook-ios-sdk-3-1-1-closeandcleartokeninformation-method-no-working but didn't work any ideas? |
HI @ceoaliongroo, Bye |
@link-me didn't work for me. Still keep the previous session (iOS 9.x) |
Plugin version 1.7.1.2 uses Facebook SDK 4, all previous versions used SDK 3. Perhaps that helps.. |
Getting same issue in the latest release. 1.7.1.3 |
Hi,
I got a problem with "facebookConnectPlugin.getLoginStatus" method, when I make login the first time after installation, and then try to change account I cannot do it, it seems cache the login status. I tried to uninstall facebook app and messenger app but the method "GetLoginStatus" still give me the first login data.
Is this a known problem?
Thankyou,
The text was updated successfully, but these errors were encountered: