mohesu / barcode_scanner

A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
Apache License 2.0
41 stars 31 forks source link

Dependency on mobile_scanner is causing issues on iOS #127

Closed AbelTarazona closed 1 month ago

AbelTarazona commented 2 months ago

Despite using the most recent version of the package (5.2.1) you can see that it is pointing to Google Data Transport, which is lower than the one used by Firebase.

[!] CocoaPods could not find compatible versions for pod "GoogleDataTransport": In Podfile:

    firebase_crashlytics (from `.symlinks/plugins/firebase_crashlytics/ios`) was resolved to 4.1.2, which depends on
      Firebase/Crashlytics (= 11.0.0) was resolved to 11.0.0, which depends on
        FirebaseCrashlytics (~> 11.0.0) was resolved to 11.0.0, which depends on
          GoogleDataTransport (~> 10.0)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
      GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
        GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
          MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
            GoogleDataTransport (< 10.0, >= 9.4.1)
YoussefShehab commented 1 month ago

@AbelTarazona Did you find any solution ?

rvndsngwn commented 1 month ago
firebase_core: 3.3.0

(Note the missing ^)

rm podfile.lock
pod install --repo-update
rvndsngwn commented 1 month ago

Hi @AbelTarazona, @YoussefShehab this issue has been resolved with latest version.