-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
MissingPluginException: MissingPluginException(No implementation found for method vision#startBarcodeScanner on channel g... #1155
Comments
Issue has been reproduced on my mobile phone iOS (launched locally with current code, not via TestFlight), which might be caused by the package google_ml_barcode_scanner, since I manage to scan continuously by switching to google_ml_kit(0.7.3), but configuration of Firebase in Podfile and AppDelegated.swift are necessary to make it work. google_ml_barcode_scanner might be an old version of GoogleMLKit/BarcodeScanning, more détails could be found as followings: |
Thanks for sharing @cli1005, yes google_ml_barcode_scanner is indeed a version of google_ml_kit but it excluded all the other ML-Kit features in favour of the app size. Did you test google_ml_barcode_scanner with Firebase set up, this would save a lot time |
@M123-dev I've lost the thread, but I believe that currently we support 2 different scanners. I assume that it was for good reasons, e.g. the first one not working properly or the second proposing interesting features. |
@monsieurtanuki when I remeber right then both had some flaws on iOS, the old one's github repo (of the native library used) is archived so no bug fixes there, the best thing would be to fix this one here. The problem is just that I have no way to debug/reproduce so it's mostly about guessing |
@M123-dev Understood. What about trying |
@monsieurtanuki sadly it's not as easy as that since we need a lot of customization. I did a comparison in January which can be found here As for For |
@M123-dev Thank you for your explanations.
I guess that if developers used it and found it remotely interesting, it would have more than 1 like after more than 4 months... There are only 2 releases in
That's not what I call a very active project. On the other hand, the more recent Those were just remarks from an external viewpoint. |
Yes, I modified the file ios/Podfile, ios/Runner/AppDelegate.swift, and added a plist file GoogleServices-Info.pist in ios/Runner folder as mentioned in this reply : flutter-ml/google_ml_kit_flutter#172 (comment)
It seems that firebase dependencies could be removed from ML kit, but it does not work with the version 0.7.3(tried 💪 => failed 😞 ):
|
That's unfortunate @cli1005 but I am unsure what this is caused by. The package doesn't include the old firebase scanner (Firebase/MLVision or Firebase/MLVisionBarcodeModel) but only the new mlkit barcode scanner (GoogleMLKit/BarcodeScanning) and on the official guide for it there is nothing about adding a firebase project. https://developers.google.com/ml-kit/vision/barcode-scanning/ios?hl=en So its likely a problem of the implementation inside the package and not from ml kit. Best would be if we could find a way to fix it otherwise we would have to add a firebase project |
I found another intersting fact, 85.96% of the occurrences happen on iOS simulator. But since we stopped sentry for debug builds a bit ago they stopped coming in. But there are still some reports coming in from real devices |
- Use an old version of google_ml_kit to remove firebase link
fix method handler in google_ml_barcode_scanner
I made a fix in method handler of google_ml_barcode_scanner, we might use the git repo forked while waiting for my PR to be merged:
|
Heyy sounds great @cli1005 you know if this problem also exists in the main google_ml_kit package |
Opened a PR @cli1005 |
I tested the newest version released on TestFlight, it works on my mobile(iOS15.3), does it work on yours? |
Sentry Issue: SMOOTHIE-T3
The text was updated successfully, but these errors were encountered: