mobile_scanner icon indicating copy to clipboard operation
mobile_scanner copied to clipboard

Update UI

Open Jayden62 opened this issue 2 years ago • 1 comments

Please, update border like qr-code-scanner. If i scan a product has multiple QR code, its crash.

Jayden62 avatar Jun 10 '22 04:06 Jayden62

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 no onComplete 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.

prasunsultania avatar Aug 29 '22 18:08 prasunsultania

This is fixed in v3.0.0.

juliansteenbakker avatar Feb 09 '23 21:02 juliansteenbakker