Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using GoogleMLKit 0.61.0 thru CocoaPods is downgrading Firebase libs to 6.20.0

Using GoogleMLKit 0.61.0 thru CocoaPods is downgrading Google Firebase libs from the latest one defined in my project to older version detailed below

before MLKit - Firebase/Analytics (6.27.0)
after MLKit  - Firebase/Analytics (6.20.0)

before MLKit - Firebase/Core (6.27.0):
after MLKit  - Firebase/Core (6.20.0):

before MLKit  - nanopb (~> 1.30905.0)
before MLKit  - FirebaseCore (6.8.0):
before MLKit  - FirebaseCoreDiagnostics (~> 1.3)
after MLKit   - nanopb (= 0.3.9011)
after MLKit   - FirebaseAnalyticsInterop (1.5.0)
after MLKit   - FirebaseCore (6.6.4):
after MLKit   - FirebaseCoreDiagnostics (~> 1.2)
after MLKit   - FirebaseCoreDiagnosticsInterop (~> 1.2)

My podfile:

...
  pod 'Firebase/Crashlytics'
  pod 'Firebase/Analytics'
  pod 'Firebase/Performance'
  pod 'GoogleMLKit/BarcodeScanning', '= 0.61.0'. //Latest GoogleMLKit version
  pod 'GoogleMLKit/TextRecognition', '= 0.61.0'
...

As per the changelog it doesn't have any dependency on Firebase, but still when I try to use that it is updating the firebase as well. And we cannot use the older Firebase version because we faced many issues and crashes there

This is the first release of ML Kit as a standalone SDK, independent from Firebase.
This SDK offers all the on-device APIs that were previously offered through the ML Kit for Firebase SDK. 

Any help on this will be very appreciate

like image 298
Rodrigo Almeida Avatar asked Dec 30 '22 23:12

Rodrigo Almeida


1 Answers

We just released a patch version 0.61.1 for MLKitCommon CocoaPod. Please install the latest GoogleMLKit and let us know if the issue is fixed.

like image 183
Dong Chen Avatar answered Jan 05 '23 19:01

Dong Chen