-
Notifications
You must be signed in to change notification settings - Fork 407
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
Camera does not capture QR on iOS #353
Comments
Same here |
Same here. Any updates? |
same |
same. any updates? |
@mahtoid What iOS version are you using? Do you have the version numbers of each browser, etc? I'm currently using iOS 16.1.1 on the latest version of Chrome / Safari and have no issues. Here's my QrReader component:
|
The docs are wrong with the You can copy and paste this for a good working start: <QrReader
constraints={{
aspectRatio: "1",
facingMode: "environment"
}}
scanDelay={250}
onResult={(result, error) => {
if (!!result) {
console.log(result.getText())
}
}}
ViewFinder={() => (
<div
style={{
position: "absolute",
top: "0",
left: "0",
right: "0",
bottom: "0",
zIndex: 10
}}
>overlay</div>
)}
videoContainerStyle={{}}
videoStyle={{}}
/> |
https://www.npmjs.com/package/react-qrcode-scanner-mi use above library |
Hello,
I am running
react-qr-reader
on a web app. Users have been trying to scan QRs using iOS (w/ Safari and Chrome) and have been reporting that it isn't detecting the QR code to scan.From the little I have been able to test, there doesn't seem to be any errors or feedback what so ever. I have taken a browse over existing issues regarding iOS, but the website is 'trusted' (active SSL Certification) and works perfectly fine on Windows, Linux and Android. It seems to have intermittent issues with Mac (unable to reproduce myself) but has never worked at all on iOS.
Is there an active solution for this issue?
The text was updated successfully, but these errors were encountered: