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
I'm using BrowserQRCodeReader and i try to scan a QrCode with just a url. I have this message when i'm scanning on iPhone. It's okay on Android.
Here my code : ` const initScanner = () => { const codeReader = new BrowserQRCodeReader()
BrowserCodeReader.listVideoInputDevices().then((devices) => { const selectedDeviceId = devices[devices.length - 1].deviceId // last one is usually the rear camera codeReader .decodeFromVideoDevice( selectedDeviceId, previewAreaRef.current, (result, error, controls) => { if (result) { const text = result.getText() onFound && onFound(text) controls.stop() return } if (!previewAreaRef.current) { controls.stop() return } if (error) { if (error instanceof RangeError) { controls.stop() alert("error", t("scanner.scanError", { ns: "factory" })) refreshProcess(START_CREATION) return } } } ) .catch((e) => { alert("error", t("scanner.scanError", { ns: "factory" })) }) }) }`
Do you have any idea where the problem could come from?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using BrowserQRCodeReader and i try to scan a QrCode with just a url.
I have this message when i'm scanning on iPhone. It's okay on Android.
Here my code :
`
const initScanner = () => {
const codeReader = new BrowserQRCodeReader()
Do you have any idea where the problem could come from?
The text was updated successfully, but these errors were encountered: