Tags: gruhn/vue-qrcode-reader
Tags
fix: native `BarocdeDetector` doesn't support requested formats (#451) fix: native `BarocdeDetector` doesn't support requested formats Previously we always used the native `BarocdeDetector` implementation if available. However, the native API might be available but does not support the barcode formats requested by the user. For example, `"qr_code"` might be supported but the user wants to scan `["qr_code", "aztec"]`. In these cases, we now also fallback to the polyfill implementation. Closes #450
perf: BarcodeDetector polyfill only if no native support Still using polyfill for `QrcodeDropZone` and `QrcodeCapture` even on platforms with native `BarcodeDetector` is available, because on some of them `BarcodeDetector.detect` does not support `Blob` / `File` inputs. See: #447
fix: increase stream-load-timeout to 6 seconds @Asko-Dev reports that the `SteamLoadTimeoutError` seems to be thrown "randomly" on iOS 17.5.1 ( see #298 ). That suggests that there is a race condition with the timeout. Let's try to double the timeout (3s -> 6s) and see if that helps. Side changes: * The ESLint setup is broken somehow and since linting is a pre-commit hook it blocks the committing process. Thus, removing the setup entirely for now. To be fixed later if deemed necessary. * migrate legacy Nix setup to Nix flakes / direnv
PreviousNext