There are some issues in the latest version of the package. The app force closes even before the bundle is loaded. I'll attach the output from logcat soon. You can reproduce the issue by trying out the example application.
thanks for reporting. I'll have a look
I've tried the same but as soon as I click the GoogleSignIn button Xcode crashes.
@devfd
@peterlazar1993
All the following is only for Android, don't know if this problem happens with iOS as well.
Relevant stacktrace for this problem:
D/AndroidRuntime( 1681): Shutting down VM
E/AndroidRuntime( 1681): FATAL EXCEPTION: main
E/AndroidRuntime( 1681): Process: com.test_login, PID: 1681
E/AndroidRuntime( 1681): java.lang.NoSuchMethodError: No static method zzy(Ljava/lang/Object;)Ljava/lang/Object; in class Lcom/google/android/gms/common/internal/zzx; or its super classes (declaration of 'com.google.android.gms.common.internal.zzx' appears in /data/app/com.test_login-2/base.apk)
E/AndroidRuntime( 1681): at com.google.android.gms.measurement.internal.zzt.zzaU(Unknown Source)
E/AndroidRuntime( 1681): at com.google.android.gms.measurement.AppMeasurementContentProvider.onCreate(Unknown Source)
E/AndroidRuntime( 1681): at android.content.ContentProvider.attachInfo(ContentProvider.java:1730)
E/AndroidRuntime( 1681): at android.content.ContentProvider.attachInfo(ContentProvider.java:1705)
E/AndroidRuntime( 1681): at android.app.ActivityThread.installProvider(ActivityThread.java:5116)
E/AndroidRuntime( 1681): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4700)
E/AndroidRuntime( 1681): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4640)
E/AndroidRuntime( 1681): at android.app.ActivityThread.access$1500(ActivityThread.java:156)
E/AndroidRuntime( 1681): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
E/AndroidRuntime( 1681): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1681): at android.os.Looper.loop(Looper.java:211)
E/AndroidRuntime( 1681): at android.app.ActivityThread.main(ActivityThread.java:5371)
E/AndroidRuntime( 1681): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1681): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1681): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:945)
E/AndroidRuntime( 1681): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:740)
Problem seems to be caused by incompatible version of Google Play Services.
Relevant issues: here, here and here.
Note that trying the solutions mentioned in the SO threads above give the following error message when compiling:
:app:processDebugGoogleServices FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services
plugin (information about the latest version is available at
https://bintray.com/android/android-tools/com.google.gms.google-services/)
or updating the version of com.google.android.gms to 8.3.0.
Finally, when we upgrade settings in build.gradle as follows and update the gradle version to 2.10
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
classpath 'com.google.gms:google-services:2.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
App compiles and launches, but we get the following error message when trying to call GoogleSignin.configure() :

Note that the npm module is correctly found and the constructor is called, but GoogleSignin and GoogleSigninButton are undefined inside app.
That's as far as my investigations went about this issue.
thanks @mbernardeau for the debugging. unfortunately the app still crash even with the updated gradle version.
for now play-services have been reverted back to 8.3.0. I will investigate further.
@devfd
It works with version 0.5.0-beta :smile:
the road was a little bumpy but latest version is now in NPM. thanks @mbernardeau for your time
I write whole article about this problem:
https://medium.com/@suchydan/how-to-solve-google-play-services-version-collision-in-gradle-dependencies-ef086ae5c75f#.9l0u84y9t
Hope I helped you :)
struggled with this for hours and @Nodonisko's solution worked like a charm :)
Most helpful comment
I write whole article about this problem:
https://medium.com/@suchydan/how-to-solve-google-play-services-version-collision-in-gradle-dependencies-ef086ae5c75f#.9l0u84y9t
Hope I helped you :)