-
Notifications
You must be signed in to change notification settings - Fork 607
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
Can't read QR code on iOS16 #230
Comments
Same problem here. I doubt this has anything to do with this library. Looks to me like the autofocus is not working properly. I found several hints that this might be related to the iPhone's auto-macro option.: https://developer.apple.com/forums/thread/715568 The fix described here didn't solve the problem for me, I guess this only works for the native camera app. @stcanbe have you tried to scan with the selfie camera on iOS 16? |
@sief |
This is also an issue for me... I am converting a pdf to a png and then getting my imagedata, width and height. it is working in 90%+ of cases but sometimes i am getting null.. I am able to use my phone to get the data from the qr code.. would be great if anybody has in suggestions. currently when i get this null value i have it set up to create a ticket and from there i manually intervene. |
我是在HTMLImageElement元素发送onload通知后,将HTMLImageElement元素转成imageData进行识别,在ios16中大概率识别失败,猜测是onload时机有问题,所以我做了一个处理,在onload通知发送后,延迟50ms进行imageData获取以及二维码识别,成功解决了这个问题,如果你们的识别逻辑也依赖onload事件,可以试试这个办法 |
I am unable to read QR codes on iOS16.
const code = jsQR(imageData, width, height);
Each argument is set correctly, but the result is null. There is no error message.
I was able to read QR codes until iOS15.
Could anyone help me solve this problem?
The text was updated successfully, but these errors were encountered: