简体   繁体   中英

Signout/Switch Twitter user using SocialAuthAdapter in Android

I'm using SocialAuthAdapter lib in Android and I'm trying to switch Twitter user without success. What happens is after doing the following I do not get LogIn screen, but instead it signs in previous user:

adapter.getCurrentProvider().logout();
adapter.authorize(_parentActivity, Provider.TWITTER);

use the signout method provided by latest socialauth android sdk. The method above not clear cookies

adapter.signOut(HomeActivity.this, Provider.TWITTER.toString()); 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM