flutter_barcode_listener icon indicating copy to clipboard operation
flutter_barcode_listener copied to clipboard

Windows Desktop can not get full code

Open cwangfr opened this issue 2 years ago • 3 comments

I have a strange problem, in some Windows systems, the complete barcode cannot always be scanned, and the results in release mode and debug mode are different. My code is this BarcodeKeyboardListener( bufferDuration: const Duration(milliseconds: 500), useKeyDownEvent: true, onBarcodeScanned: (barcode) { debugPrint(barcode); if (barcode.length == 12) { barcode = "0" + barcode; } controller.barcode(barcode: barcode); }, child: barcodeList(), ) i have 3 barcode

0755441231925 20147426 3700408421526

in debug mode result WeChat9588b95f99896733e733ee965ec24f9c

in release mode result WeChatd242b9c51a207f4067cfda561db339ca

cwangfr avatar Apr 15 '22 10:04 cwangfr

Hello.. have you found any solution for this?

utpalruparel avatar May 07 '22 18:05 utpalruparel

Any solution here pls?

utpalruparel avatar May 09 '22 16:05 utpalruparel

Note, if you are able to configure scanning inter character delay this workaround is working for me https://github.com/flutter/flutter/issues/79849#issuecomment-1007147194

deanbot avatar May 14 '22 01:05 deanbot

Closing this since it's issue with Flutter, not this plugin.

shaxxx avatar Nov 11 '22 07:11 shaxxx