Skip to content

Unable to Build due to compatibility relating to Firebase Auth #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LarryAlexander opened this issue Nov 17, 2022 · 2 comments
Closed
Labels
Firebase Issues related to using ML Kit along with Firabase

Comments

@LarryAlexander
Copy link

I'm using flutter to create an application.
I'm unable to build or perform a pod install whenever I try to use the Google Ml Kit dependencies.
Dependency : google_mlkit_barcode_scanning: ^0.5.0

Notes: This error only appears when using the Firebase Auth dependency. I want to utilize the Qr code scanning feature!

Error: firebase_auth (from .symlinks/plugins/firebase_auth/ios) was resolved to 4.1.3, which depends on
Firebase/Auth (= 10.2.0) was resolved to 10.2.0, which depends on
FirebaseAuth (~> 10.2.0) was resolved to 10.2.0, which depends on
GTMSessionFetcher/Core (< 4.0, >= 2.1)

google_mlkit_barcode_scanning (from `.symlinks/plugins/google_mlkit_barcode_scanning/ios`) was resolved to 0.5.0, which depends on
  GoogleMLKit/BarcodeScanning (~> 3.2.0) was resolved to 3.2.0, which depends on
    GoogleMLKit/MLKitCore (= 3.2.0) was resolved to 3.2.0, which depends on
      MLKitCommon (~> 8.0.0) was resolved to 8.0.0, which depends on
        GTMSessionFetcher/Core (~> 1.1)
@emileswain
Copy link

looks like its mentioned here too #357

@phiyale
Copy link

phiyale commented Nov 26, 2022

    **Workaround:**

#357 (comment)
thanks @jorgeroncero
Do not forget to edit Podfile
#357 (comment)
thanks @steven230500 @emileswain

The solution above works, confirmed few people(including me), any side effect not reported yet.

MLKit team also suggesting tweaking dependencies before MLKit release new pods
https://issuetracker.google.com/issues/254418199#comment56

Originally posted by @phiyale in #357 (comment)

#357

@fbernaly fbernaly added the Firebase Issues related to using ML Kit along with Firabase label Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Firebase Issues related to using ML Kit along with Firabase
Projects
None yet
Development

No branches or pull requests

4 participants