This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { GoogleSignin as GS } from 'react-native-google-signin' | |
import configuration from '../configuration_public.json' | |
async function checkForPlayServices() { | |
let hasPlayServices = false | |
try { | |
hasPlayServices = await GS.hasPlayServices({autoResolve: true}) | |
} catch(e) { |