Be-Prepared / Be-Prepared.github.io

Handy PWA filled with useful tools.
Other
0 stars 0 forks source link

Barcode detection on unsupported devices #19

Closed fidian closed 3 months ago

fidian commented 3 months ago

Investigate if it is worthwhile to implement the WebAssembly port of BarcodeDetector. This may allow more phones to scan barcodes. For example, my phone does not scan data matrix codes even though it is listed as a supported format.

A big downside is it downloads a web assembly component, so that would need to be included in the build.

https://www.npmjs.com/package/barcode-detector

fidian commented 3 months ago

Barcode detection now works on devices without built-in barcode detection.