We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
On the latest iPad version (17.4.1):
reproduction VIDEO: https://photos.app.goo.gl/RkvrR1cjtkzAcgck6
Expected behavior
same as in safari
The text was updated successfully, but these errors were encountered:
Hey, I tried with my iPad Air 4th gen 17.4.1 and I cannot reproduce it... what's happening on your phone (iOS) if you do the same?
Sorry, something went wrong.
It works on iOS iphone.
I have this iPad version with v17.4.1: https://www.apple.com/fr/ipad-10.9
there is no error on the console unfortunately
OK I know more now.
it seems to be related to WebRTC spec not being usable when installed as a PWA on ios safari: zxing-js/browser#122
When not installed it works correctly
I tried to run the app with webrtc shim https://github.com/webrtc/adapter but so far I could not fix the issue
I was getting the same error on iOS 17.6.1. As per this comment I fixed it simply by calling this code before starting the scanner:
const camera = await navigator?.mediaDevices?.getUserMedia({ video: true }).catch((e: any) => ...);
No branches or pull requests
Describe the bug
On the latest iPad version (17.4.1):
reproduction VIDEO: https://photos.app.goo.gl/RkvrR1cjtkzAcgck6
Expected behavior
same as in safari
The text was updated successfully, but these errors were encountered: