mobile_scanner icon indicating copy to clipboard operation
mobile_scanner copied to clipboard

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

Open juliansteenbakker opened this issue 2 years ago • 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.

juliansteenbakker avatar Mar 11 '22 14:03 juliansteenbakker

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.

tiamatthei avatar Apr 12 '22 21:04 tiamatthei

The controller is since PR #94 a broadcast Streamcontroller

EricRode avatar Apr 12 '22 21:04 EricRode

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

p-mazhnik avatar Apr 23 '22 22:04 p-mazhnik

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

thblckjkr avatar May 24 '22 16:05 thblckjkr

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

TheOneWithTheBraid avatar Jun 10 '22 04:06 TheOneWithTheBraid

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

tashi146 avatar Jun 17 '22 07:06 tashi146

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 https://github.com/mebjas/html5-qrcode/issues/361#issue-1075181567 I think it's very promising, I would argue that it's maybe a better implementation than the current one.

thblckjkr avatar Jun 17 '22 07:06 thblckjkr