-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
bug: QR code read from file on iOS #217
Comments
Thank you for your request. Please provide a Minimal (!), Reproducible Example using this template in a public GitHub repository so I can debug the issue. |
This issue has been labeled as Please provide a Minimal, Reproducible Example using this template in a public GitHub repository so we can debug the issue. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for us to reproduce the issue. |
This is not a minimal, reproducible example. There are a lot of dependencies that are not needed. I'm also not familiar with React. |
hi Robin, |
Which image can I use to reproduce this? |
Unfortunately, I cannot reproduce your issue. ScreenRecording_12-25-2024.09-05-39_1.1.MP4The example works without problems (I've just replaced |
hi Robin, |
and what about this error (in my case):
|
iPhone 13 with iOS 18.1.1. I've only tested the first image. |
can you check the second one too, please? |
Hm, interesting As i understand - here we don't need any specific iOS permissions, right? |
No, you don't need any specific permissions. |
i see. |
For other devices (with iOS 18.1 for example) - for some images with QR codes all ok, but not for all. |
This seems to be a problem with the ML Kit SDK and not with the plugin. Maybe create an issue in https://github.com/googlesamples/mlkit. The issue must be reproducible in any case, otherwise it's hard to help you. I will close this issue for now. |
@elzone Did you manage to find a fix for this? I am also facing the same issue of receiving blank result from barcode reader for both QR and barcodes but only in iOS 16. iOS 18 is okay for me |
hi. no. as Robin mentioned, this error mostly depend on mlkit. have to add bug report there |
Plugin(s)
Version
6.2.0
Platform(s)
Current behavior
When try to read QR code from file on iOS device, get the blank result with such trace from Xcode terminal:
Expected behavior
When read QR code from file on iOS should return QR code data.
Reproduction
https://github.com/elzone/qr-code-issue
Steps to reproduce
Other information
No response
Capacitor doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
Installed Dependencies:
@capacitor/core: 6.2.0
@capacitor/cli: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0
[success] iOS looking great! 👌
Before submitting
The text was updated successfully, but these errors were encountered: