Hello There
I’ve come across a problem on real android devices when log-ing out of Facebook.
When using a android emulator , or a real iOs devices, after log out , the facebook user/password modal show up just fine, and I can switch between users, but on a real android device it just logins directly .
This is a snippet of my code
import { Facebook, FacebookLoginResponse } from '@ionic-native/facebook';
constructor(private http: Http, private storage: Storage, private fb: Facebook)
logout() {
this.fb.getLoginStatus().then( data=>{
if (data.status =='connected'){
this.fb.logout()
}
}
)
return this.http.get(this.logoutUrl);
}
Sorry if this has been answered or is a duplicate , i couldn’t find any relevant information so far
Some info about the plugins versions
"@angular/common": "4.1.2",
"@ionic-native/core": "3.10.2",
"cordova-android": "^6.2.3",
"ionic-angular": "3.3.0",
"@ionic-native/facebook": "^3.12.1",
"cordova-plugin-facebook4": "^1.9.1",