Open adityadees opened 2 months ago
![Uploading IMG_20240516_053626.jpg…]()
I also don't get this to work on iOS:
const html5QrCode = new Html5Qrcode("reader");
const qrCodeSuccessCallback = (decodedText, decodedResult) => {
document.getElementById("result").value = decodedText;
};
const config = {
fps: 10,
disableFlip: false,
focusMode: "continuous",
aspectRatio: 1,
advanced: [{ zoom: 2.0 }],
rememberLastUsedCamera: true,
qrbox: { width: 400, height: 400 },
videoConstraints: {
width: {min: 1000, ideal: 1920},
height: {min: 1000, ideal: 1080},
facingMode: "environment",
},
};
// If you want to prefer back camera
html5QrCode.start({}, config, qrCodeSuccessCallback).then(function () {
html5QrCode.applyVideoConstraints({
focusMode: "continuous",
aspectRatio: 1,
advanced: [{ zoom: 2.0 }],
});
});
It's stuck on scanner pages, didn't get any response.
Should be have response right? I'm testing on my laptop and change resolution with mobile devices and working properly
OS: IOS 17.4.1
Browser: Google Chrome
Version : 124.0.6367.111