react-native-google-sign-in
react-native-google-sign-in copied to clipboard
How to check if Google Play services are available?
I can't find methods for check it. Anybody help me? Thanks in advance!
Hi @valerybodak ,
Maybe you can try this
GoogleSignin.hasPlayServices({ autoResolve: true }).then(() => {
this.doGoogleLogin()
})
.catch((err) => {
alert("Play services error", err.code, err.message)
})
Again, @dashracer - you're looking at the wrong package. react-native-google-signin has this