Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import * as GoogleSignIn from 'expo-google-sign-in';
import React from 'react';
import { Image, StyleSheet, Text, View } from 'react-native';
import GoogleSignInButton from '../components/GoogleSignInButton';
GoogleSignIn.allowInClient();
interface State {
user?: {
[key: string]: any;
photoURL: string;
displayName: string;
email: string;
};
}
export default class GoogleSignInScreen extends React.Component<{}, State> {
static navigationOptions = {
title: 'Native Google Sign-In',
};
readonly state: State = {};