mohesu / barcode_scanner

A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
Apache License 2.0
41 stars 31 forks source link

app crashing #34

Closed Abhinav-Satija closed 1 year ago

Abhinav-Satija commented 1 year ago

When we put the camera in front of more than one barcode, it begins to crash.

scanner crash logs.txt

https://user-images.githubusercontent.com/10865512/221144835-8964f0ee-8e44-4e11-b15b-e22d32ab95f4.mp4

rvndsngwn commented 1 year ago

Thanks for using this package, @Abhinav-Satija.

      controller: MobileScannerController(
        detectionSpeed: DetectionSpeed.noDuplicates,
      ),

You need to add a controller to your code.

This issue is the same as well #25.

rvndsngwn commented 1 year ago

I hope that the issue has been resolved, and therefore, I will proceed to close it. However, if you still encounter the same issue, please do not hesitate to reopen it.