react-zxing
react-zxing copied to clipboard
Add support for node 24 https://github.com/adamalfredsson/react-zxing/issues/46
Currently the package.json doesn't allow for node 24. https://github.com/adamalfredsson/react-zxing/blob/main/package.json#L74 I'm unable to upgrade our application to 24 because of this.
``` import { RefObject, useMemo, useState } from "react"; import { useZxing } from "react-zxing"; import Typography from "@/components/Typography"; import { cn } from "@/utils"; export const useQrScanner = ()...
I am encountering an issue with the torch.on() and torch.off() functions. When I call torch.on(), no noticeable changes occur, even console don't log any message. I´m using the latest version...
Hi all, i am trying to make a simple app that, when you press a button will show the camera, read a Code and then show the result. My code...
Qr-reader doesn't work on production because of this problem: "Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true". I tried to change HTMLCanvasElement.prototype and...
I notice that in dev mode (my case Nextjs) newly granting camera permission result in empty `` (white box), but in production mode things work fine.
Closes #38
A simple isOn flag should be included in the useZxing hook, to indicate whether or not the scanner is working.