juliansteenbakker/mobile_scanner

Migrate from jsQR to qr-scanner for full barcode support.

juliansteenbakker opened this issue · 7 comments

On web, jsQR is limited to QR codes only. We should migrate to qr-scanner or something similar to support other barcodes aswell.

Hi there!
Quick question, is there a specific reason that the StreamController in the mobile_scanner_web_plugin.dart file is not a broadcast StreamController. I'm having problems using the QR reader more than once in the same web app. Thanks in advance for your response.

The controller is since PR #94 a broadcast Streamcontroller

qr-scanner (https://github.com/nimiq/qr-scanner) is also limited to QR codes

It looks like this implementation has a better support for barcodes and cross platform browwsers.

Maybe I can do this one day; I wrote the initial implementation in juliuscanute/qr_code_scanner#306 too and actually promised to still improve it.

It looks like this implementation has a better support for barcodes and cross platform browwsers.

I have look into this library and build simple_barcode_scanner but it is not promising as you can see the issue here

but it is not promising as you can see the issue here

If the underlying problem is specifically that It can't read EAN-13 barcodes with leading Zero mebjas/html5-qrcode#361 (comment) I think it's very promising, I would argue that it's maybe a better implementation than the current one.