mobile_scanner
mobile_scanner copied to clipboard
Update UI
Please, update border like qr-code-scanner. If i scan a product has multiple QR code, its crash.
Can you provide example of code snippet or something to understand it more ?
When I used, multi-scan is working, but, I do see following issues:
- there are certain null scans, so, make sure your app is prepared to handle cases when
barcode.rawValue
is received as null. - there is also an issue that it calls the
onDetect
callback multiple times for images with multiple qr codes, but there is noonComplete
event or callback to understand if the entire image has been processed completely.
You can see mobile_scanner_controller.dart https://github.com/juliansteenbakker/mobile_scanner/blob/eff29e08b1284af71ae8034eb22bd752376ba4a6/lib/src/mobile_scanner_controller.dart#L88 keeps calling the handleEvent on data, not sure, if there is possible of implementing onComplete event without adding Future based time pause.
This is fixed in v3.0.0.