how to add oAuth google signin in react native app
snippet in javascript

how to add oAuth google signin in react native app

user9381

import { GoogleSignin, GoogleSigninButton } from 'react-native-google-signin'; 
render() {  
  <GoogleSigninButton 
  style={{ width: 192, height: 48 }}
  size={GoogleSigninButton.Size.Wide}
  color={GoogleSigninButton.Color.Dark}
  onPress={this._signIn}
  disabled={this.state.isSigninInProgress} />
};

login with gmail in react native

user8850

import { GoogleSignin, GoogleSigninButton } from 'react-native-google-signin'; render() {  <GoogleSigninButton    style={{ width: 192, height: 48 }}    size={GoogleSigninButton.Size.Wide}    color={GoogleSigninButton.Color.Dark}    onPress={this._signIn}    disabled={this.state.isSigninInProgress} />}