CapacitorGoogleAuth icon indicating copy to clipboard operation
CapacitorGoogleAuth copied to clipboard

GTMSessionFetcher/Core incompatibility with Firebase.

Open RaduMirceaAndrei opened this issue 2 years ago • 3 comments

Hi,

I'm trying to use your plugin to substitute the login with google part of another plugin, to then authenticate to firebase. The problem is, i'm getting an incompatibility version for GTMSessionFetcher/Core.

Any help would be appreciated.

  In snapshot (Podfile.lock):
    GTMSessionFetcher/Core (< 4.0, = 3.1.1, >= 1.1, >= 1.5, >= 2.1)

  In Podfile:
    CapacitorFirebaseAuthentication/Google (from `../../node_modules/@capacitor-firebase/authentication`) was resolved to 5.1.0, which depends on
      FirebaseAuth (= 10.8.0) was resolved to 10.8.0, which depends on
        GTMSessionFetcher/Core (< 4.0, >= 2.1)`

    CodetrixStudioCapacitorGoogleAuth (from `../../node_modules/@codetrix-studio/capacitor-google-auth`) was resolved to 0.0.1, which depends on
      GoogleSignIn (~> 6.2.4) was resolved to 6.2.4, which depends on
        GTMSessionFetcher/Core (< 3.0, >= 1.1)


You have either:
 * changed the constraints of dependency `GTMSessionFetcher/Core` inside your development pod `CodetrixStudioCapacitorGoogleAuth`.
   You should run `pod update GTMSessionFetcher/Core` to apply changes you've made.

Bumping the dependency of CodetrixStudioCapacitorGoogleAuth, GoogleSignIn to 7.0.0 runs into other issues

RaduMirceaAndrei avatar Sep 25 '23 07:09 RaduMirceaAndrei

Hi @RaduMirceaAndrei

I am using CapacitorFirebaseAuthentication/Google & CodetrixStudioCapacitorGoogleAuth for google signin but in my podfile I am getting error of compatible versions for pod "GoogleSignIn"

CapacitorFirebaseAuthentication/Google depends on GoogleSignIn (= 7.0.0) CodetrixStudioCapacitorGoogleAuth depends on GoogleSignIn (~> 6.2.4)

do you know how to fix this ?

14Sandee avatar Feb 01 '24 05:02 14Sandee