@jeremiahblanch/react-scanner
v1.1.9
Published
QRCode and Barcode scanner component for React apps
Downloads
83
Maintainers
Readme
React QR Scanner
Forked from @alzera/react-scanner
. [https://github.com/alzera/react-scanner.git]
Differences within this fork:
- Prettier camera (device) chooser. Only shows when there are multiple devices. Use the HTML
<select>
element which displays nicely on phones. Probably doesn't look great on desktop but most desktops do not have multiple cameras. - When the user chooses their camera (device), the choice is stored in localStorage and retrieved the next time. This makes better UX for using the tool over and over again.
- Removes the components
DropZone
(for uploading an image instead of using the camera) andBarcodeScanner
(a wrapper forScanner
that uses theDropZone
). Now you can just useScanner
.