Open kurtnovice opened 6 years ago
Hi, Pls try trysilentlogin before disconnecting,this is a suggestion.
this.googlePlus.trySilentLogin({
'scopes':
'',
'webClientId':
AppConfig.CONST.webClientId,
'offline': `true`
}).then((data)
=>
{
this.googlePlus.disconnect().then((done) => {
this.storage.remove('login_via').then(done => {
console.log('removed google');
this.loading.dismiss();
})
}).catch(err => {
});
}).catch(err => {
});``
Though I can login and logout successfully, the problem that I have been having is I cannot disconnect the user from my App. I tried signing in with another person's account and I ended up with my gmail app being able to open her email account.
Here is my code
And I have been getting "error 4"
Please help.