Closed jifalops closed 4 years ago
Describe the bug BarcodeScanner.scan() does not return a result, null, or throw an exception. The scanner Activity runs and exits after scanning a barcode, but no errors are logged.
BarcodeScanner.scan()
To Reproduce Steps to reproduce the behavior:
protobuf
pip install protobuf
pub global activate protoc_plugin
proto3
try { final result = await BarcodeScanner.scan().catchError((e) { log.e('Barcode scan threw exception.', e); }); log.v('Scan result: $result'); } catch (e) { log.e('Barcode scan threw exception.', e); }
Expected behavior Something should be logged.
Environment (please complete the following information):
barcode_scan
flutter --version
Flutter 1.17.0 • channel stable • https://github.com/flutter/flutter.git Framework • revision e6b34c2b5c (5 weeks ago) • 2020-05-02 11:39:18 -0700 Engine • revision 540786dd51 Tools • Dart 2.8.1
Same issue!
Pick one of them... https://github.com/mintware-de/flutter_barcode_reader/issues?q=is%3Aissue+is%3Aclosed+no+result
Upgrade Guide: https://github.com/mintware-de/flutter_barcode_reader/blob/master/UPGRADE.md#upgrade-from-2x-to-300
Describe the bug
BarcodeScanner.scan()
does not return a result, null, or throw an exception. The scanner Activity runs and exits after scanning a barcode, but no errors are logged.To Reproduce Steps to reproduce the behavior:
protobuf
viapip install protobuf
.pub global activate protoc_plugin
proto3
VS code plugin is installed.Expected behavior Something should be logged.
Environment (please complete the following information):
barcode_scan
: 3.0.1flutter --version
: