Closed feelinc closed 7 years ago
App is working on emulator. In my case app is not crashed but google signin is not working on real device
I could only get this to work on simulator in the end, was getting errorCode:-1
with no description on phone. Ended up switching to react-native-google-sign-in.
yep can't get it working in release mode either. after selecting the account nothing happens. no error no crash, it just does nothing. tried latest version with rn 0.48 today and same.
scratch that - make sure you have the properly configured the release fingerprint
.
works great!
Turns out probably my real device is having bug (Xioami), because other apps also not working using native Google Signin. I'm closing it.
This problem happen on android real device (debug and release), working correctly on android virtual devices.
There is a black background on notification bar after calling the "GoogleSignin.signIn()", but no google signin screen appear.
The app then crash after I tap the back navigation on the device, with error :
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.auth.api.signin.GoogleSignInResult.isSuccess()' on a null object reference at co.apptailor.googlesignin.RNGoogleSigninModule.handleSignInResult