Optimized lib from https://pub.dev/packages/newlandscanner All credits to the original author Mateusz Maziec
- Optimized imports
- Fixed Android SDK version
- Upgraded all libs
Capture SDK of Newland Barcode Android devices for Flutter using native Intent broadcast receiver.
Add this to your package's pubspec.yaml file:
dependencies:
barcode_newland_flutter: ^0.0.1
not supported
Make sure the device scan output mode is set to "Output via API".
Newlandscanner.listenForBarcodes.listen((event) {
log('BarcodeScanned: ${event.barcodeData}')
});