Skip to content

Dependency conflict with flutterfire (firebase - google_mlkit_face_detection) [GTMSessionFetcher/Core] #357

Description

@phiyale

Hello,
flutterfire released a major update, 4 days ago. after updating firebase libs I got the error below:

    [!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
      In Podfile:
        firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.0.2, which depends on
          Firebase/Auth (= 10.0.0) was resolved to 10.0.0, which depends on
            FirebaseAuth (~> 10.0.0) was resolved to 10.0.0, which depends on
              GTMSessionFetcher/Core (~> 2.1)

        google_mlkit_face_detection (from `.symlinks/plugins/google_mlkit_face_detection/ios`) was resolved to 0.4.0, which depends on
          GoogleMLKit/FaceDetection (~> 3.2.0) was resolved to 3.2.0, which depends on
            MLKitFaceDetection (~> 2.2.0) was resolved to 2.2.0, which depends on
              MLKitVision (~> 4.2) was resolved to 4.2.0, which depends on
                GTMSessionFetcher/Core (~> 1.1)

I've updated the face_detection package but error still occurs,
in pubspec.yaml

  firebase_auth: ^4.0.2
  firebase_core: ^2.1.0
  google_mlkit_face_detection:
    git:
      url: https://github.com/bharat-biradar/Google-Ml-Kit-plugin.git
      ref: f8edf95e85e74778be2b7f082b367f4a086e503f
      path: packages/google_mlkit_face_detection

flutterfire side:
firebase/flutterfire@9627c56
firebase/flutterfire#9708

flutter doctor:

[✓] Flutter (Channel stable, 3.3.5, on macOS 12.6 21G115 darwin-arm, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
[✓] Android Studio (version 2021.3)
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.72.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

Are you planning any update update to resolve conflict, or should I rollback FIR update and wait for a while?
Do you any advice to workaround?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FirebaseIssues related to using ML Kit along with Firabase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions