Google-signin: RC2 build failed with null object reference Java error

Created on 9 Aug 2018  路  3Comments  路  Source: react-native-google-signin/google-signin

screenshot_1533767321

buildToolsVersion = "27.0.3"
com.android.tools.build:gradle:3.1.0'

I just wanted to get those awesome 'statusCodes' you mentioned in the description but wasn't able to import them from RC1 (yarn add react-native-google-signin@next) so I decided to inspect and install the RC2 and luckly I found the export, but then something RED appeared...
This is all I got, no other Javascript errors in the console

Most helpful comment

hey I had the same error ;
was still using GoogleSignin.hasPlayServices({ autoResolve: true })
updated to GoogleSignin.hasPlayServices({ showPlayServicesUpdateDialog: true })
and its working now

All 3 comments

Hi @smartcris thanks for reporting. In order to investigate this, we'll need a little more information - as you can see there is no stack trace included and no steps to reproduce so this bug may as well come from a different module. Please add a repro or at least a stack trace, otherwise this is not actionable. Thanks.

hey I had the same error ;
was still using GoogleSignin.hasPlayServices({ autoResolve: true })
updated to GoogleSignin.hasPlayServices({ showPlayServicesUpdateDialog: true })
and its working now

Thank you @nonotest for the hint that solved my issue too.

Was this page helpful?
0 / 5 - 0 ratings