We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The version of google auth dependency you are using is using support v4 fragment, and if I use it with Capacitor 2 and androidx, it crash.
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/app/FragmentActivity; 04-07 15:17:02.335 1690 1786 E AndroidRuntime: at com.google.android.gms.auth.api.signin.internal.zzh.zzc(Unknown Source:1) 04-07 15:17:02.335 1690 1786 E AndroidRuntime: at com.google.android.gms.auth.api.signin.GoogleSignInClient.getSignInIntent(Unknown Source:20) 04-07 15:17:02.335 1690 1786 E AndroidRuntime: at com.codetrixstudio.capacitor.GoogleAuth.GoogleAuth.signIn(GoogleAuth.java:54) 04-07 15:17:02.335 1690 1786 E AndroidRuntime: ... 7 more
I think you should use the latest version, it works fine on my project now :
CapacitorGoogleAuth/android/build.gradle
Line 46 in d6e73f9
replace with : implementation 'com.google.android.gms:play-services-auth:18.+'
implementation 'com.google.android.gms:play-services-auth:18.+'
Source : https://developers.google.com/android/guides/setup
The text was updated successfully, but these errors were encountered:
#43 fix
362d99b
Thanks for reporting @thibaud-sanchez
Sorry, something went wrong.
No branches or pull requests
The version of google auth dependency you are using is using support v4 fragment, and if I use it with Capacitor 2 and androidx, it crash.
I think you should use the latest version, it works fine on my project now :
CapacitorGoogleAuth/android/build.gradle
Line 46 in d6e73f9
replace with :
implementation 'com.google.android.gms:play-services-auth:18.+'
Source : https://developers.google.com/android/guides/setup
The text was updated successfully, but these errors were encountered: