luicfrr / react-native-vision-camera-face-detector

Vision Camera Frame Processor Plugin to detect faces using MLKit Face Detector
https://www.npmjs.com/package/react-native-vision-camera-face-detector
MIT License
132 stars 22 forks source link

[BUG 🐛] Cannot build iOS with @react-native-firebase/messaging #111

Open nhjuhoang opened 1 week ago

nhjuhoang commented 1 week ago

Logs and Screenshots

    RNFBMessaging (from `../node_modules/@react-native-firebase/messaging`) was resolved to 21.6.0, which depends on
      Firebase/Messaging (= 11.5.0) was resolved to 11.5.0, which depends on
        FirebaseMessaging (~> 11.5.0) was resolved to 11.5.0, which depends on
          GoogleDataTransport (~> 10.0)

    VisionCameraFaceDetector (from `../node_modules/react-native-vision-camera-face-detector`) was resolved to 1.7.1, which depends on
      GoogleMLKit/FaceDetection was resolved to 0.60.0, which depends on
        GoogleMLKit/MLKitCore (= 0.60.0) was resolved to 0.60.0, which depends on
          MLKitCommon (~> 0.60.0) was resolved to 0.60.0, which depends on
            GoogleDataTransport (~> 3.2)

package.json file: { "dependencies": { "@react-native-firebase/app": "^21.6.0", "@react-native-firebase/messaging": "^21.6.0", "react-native-vision-camera": "^4.6.1", "react-native-vision-camera-face-detector": "^1.7.1", "react-native-worklets-core": "^1.5.0" } }

Canchola-Ethos commented 5 days ago

Same here

{
"dependencies": {
    "@react-native-firebase/app": "^21.6.0",
    "@react-native-firebase/messaging": "^21.6.0",
    "@react-native-firebase/remote-config": "^21.6.0",
    "react-native-vision-camera": "^4.6.1",
    "react-native-vision-camera-face-detector": "^1.7.1",
  }
}
nhjuhoang commented 4 days ago

I tried upgrading to the latest version "GoogleMLKit/FaceDetection", "7.0.0" then reinstalling the pod and there was no error related to firebase dependencies.

Same here

{
"dependencies": {
    "@react-native-firebase/app": "^21.6.0",
    "@react-native-firebase/messaging": "^21.6.0",
    "@react-native-firebase/remote-config": "^21.6.0",
    "react-native-vision-camera": "^4.6.1",
    "react-native-vision-camera-face-detector": "^1.7.1",
  }
}
luicfrr commented 2 days ago

The currntly version of @react-native-firebase/app I tested is 19.2.2. I can't tell if other versions will work and currently I don't have time to work on a fix.

But you are really wellcome to open a PR with a fix