jaychang0917 / SocialLoginManager

DEPRECATED
Apache License 2.0
171 stars 43 forks source link

Logout? #3

Open SlobodanNikolic opened 7 years ago

SlobodanNikolic commented 7 years ago

Hi,

this is a nice project, helps a lot with login, but I have some issues. What about logging out? No methods for that. Is the only way if I log out from the app on the phone first. Also, maybe a bigger isue - when the facebook login screen apears, and I click back, it says login failed, please contact the app developer, and the login screen restarts. I cant get back to previous activity. The issue is #1732910.

Thanks, Slobodan Nikolic

jaychang0917 commented 7 years ago

Hi @SlobodanNikolic , seems it doesn't make sense that an app is able to logout her facebook? For your second issue, I cant reproduce, can u post a screenshot?

SlobodanNikolic commented 7 years ago

Well, I needed the facebook login, so I can get a fbid to identify the user. When another user possibly takes the phone and wants to login with his facebook, he needs to logout from facebook app first. This does not work when the facebook app is deleted, I thought that a webview or something like opening a browser to login would popup. But the app crashing when back button is pressed is a problem. I'll post a screenshot tomorow, and send you the project if that would help you.

Cheers, and best regards, Slobodan

jaychang0917 commented 7 years ago

As I know the logout function provided by facebook sdk does not really logout the user but clean the current session and profile. You can check out Instagram's facebook login function.

javedk16 commented 7 years ago

Hi, I want my users to use another google account. How do I logout the user without clearing the app data?