-
Notifications
You must be signed in to change notification settings - Fork 186
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
Conflict with Firebase #235
Comments
The version you're using appears to be quite old. This plugin doesn't specify which version of the barcode scanning library to use, that's all up to the app. Have you tried updating GoogleMLKit/BarcodeScanning? That should be with:
And it might not be a bad idea to run Or check your Podfile to make sure you didn't add a constraint. |
Yes. I've try all these. But, still not working. =/ |
I had a similar issue except with
I reverted to |
@rmtmckenzie – probably like many developers, I blow away Should a minimum version of |
I haven't worried about a minimum constraint as this plugin has been using the BarcodeScanning pod since it was first published by Google under that name (it was Firebase Mobile Vision before that), so any version should work so long as things like this don't come up. As to the firebase core issue, there's really not anything I can do about it as it is between the two teams at google. There is an issue open on their bug tracker, you can +1 it to hopefully prompt them to resolve this sooner. |
Looks like there's a new MLKitBarcodeScanning 6.0.0 that uses MLKitCommon 12.0.0 that uses GoogleDataTransport 10.0, so that should make it. https://github.com/CocoaPods/Specs/blob/master/Specs/b/5/4/MLKitBarcodeScanning/6.0.0/MLKitBarcodeScanning.podspec.json |
Yeah, they released the fix for https://issuetracker.google.com/issues/362452861, @rmtmckenzie. I'm still having a pod issue but maybe it's something on my side. |
Note you now have to ensure your app's minimum iOS version is 15.5 to support the latest update from Google. |
I have pushed to fix this, while not merged you can temporarily override the dependency by using dependency_overrides:
# Waiting for https://github.com/rmtmckenzie/flutter_qr_mobile_vision/pull/238
qr_mobile_vision:
git: https://github.com/easyhour/flutter_qr_mobile_vision.git |
@rmtmckenzie As long as iOS apps target 15.5, I believe this issue can now be closed. Whether or not you want to enforce it with #238 is up to you. |
I've updated the example and added something in the README about the iOS version. I'd rather not enforce a minimum version as it is still possible to use older versions of Firebase and the BarcodeScanner library if you need to target ios versions > 15.5. |
I'm trying to add firebase analytics in my project that uses qr_mobile_vision. But I'm facing this error when build for iOS (or run pod install).
I've tried pod repo update and pod install --repo-update also. But get the same error over and over.
The text was updated successfully, but these errors were encountered: