Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_signOutAsync = async () => {
try {
// await GoogleSignIn.disconnectAsync();
await GoogleSignIn.signOutAsync();
console.log('Log out successful');
} catch ({ message }) {
console.error('Demo: Error: logout: ' + message);
} finally {
this.setState({ user: undefined });
}
}