Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
loginWithGoogle = async () => {
return await this.googleLogin(
Google.logInAsync({
clientId: Platform.OS == OS_TYPES.IOS ? IOS_GOOGLE_CLIENT_ID : ANDROID_GOOGLE_CLIENT_ID,
scopes: ['profile', 'email']
})
);
};