a7medev / react-native-ml-kit

React Native On-Device Machine Learning w/ Google ML Kit
MIT License
340 stars 53 forks source link

Upgrade GoogleMLKit/FaceDetection to 6.0.0 #52

Open allangomessl opened 1 week ago

allangomessl commented 1 week ago

What happened?

I'm using FaceDetection with google-signin and their are with conflict on GTMSessionFetcher

[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
  In snapshot (Podfile.lock):
    GTMSessionFetcher/Core (< 4.0, = 3.4.1, >= 3.3, >= 3.3.2, ~> 3.3)

  In Podfile:
    RNGoogleSignin (from `../node_modules/@react-native-google-signin/google-signin`) was resolved to 12.2.1, which depends on
      GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
        GTMSessionFetcher/Core (~> 3.3)

    RNMLKitFaceDetection (from `../node_modules/@react-native-ml-kit/face-detection`) was resolved to 1.3.1, which depends on
      GoogleMLKit/FaceDetection (= 4.0.0) was resolved to 4.0.0, which depends on
        MLKitFaceDetection (~> 3.0.0) was resolved to 3.0.0, which depends on
          MLKitVision (~> 5.0) was resolved to 5.0.0, which depends on
            GTMSessionFetcher/Core (< 3.0, >= 1.1)

To resolve this problem we need upgrade GoogleMLKit/FaceDetection to 6.0.0

Version

@react-native-ml-kit/face-detection: ^1.3.1

Which ML Kit packages do you use?

What platforms are you seeing this issue on?

System Information

System: OS: macOS 14.3 CPU: (8) arm64 Apple M1 Memory: 106.59 MB / 16.00 GB Shell: version: "5.9" path: /bin/zsh Binaries: Node: version: 20.11.0 path: ~/.local/share/mise/installs/node/20/bin/node Yarn: Not Found npm: version: 10.2.4 path: ~/.local/share/mise/installs/node/20/bin/npm Watchman: version: 2024.01.22.00 path: /opt/homebrew/bin/watchman Managers: CocoaPods: version: 1.15.2 path: /Users/ag/.local/share/mise/installs/ruby/2.7.3/bin/pod SDKs: iOS SDK: Platforms:

Steps to Reproduce

npx expo install @react-native-google-signin/google-signin
npx expo install @react-native-ml-kit/face-detection
npx pod-install
allangomessl commented 1 week ago

PR opened https://github.com/a7medev/react-native-ml-kit/pull/53