Open burekas7 opened 1 year ago
I also have this same problem. Did you get anything?
I check if the qrcode was read correctly. If it returns status 400, it displays the error message. The camera is still enabled, but it is not possible to read a new qrcode.
final scannerController = MobileScannerController( formats: [BarcodeFormat.qrCode], autoStart: true, detectionSpeed: DetectionSpeed.normal, );
I'm getting similar but no error message. I'm using a standard barcode. The scanner reads for the first time, then when I stop and restart, it doesn't read any further
Any news about this problem? This happens to me too! I can't read a qrcode sequentially
I faced that problem too. I was calling the stop()
method. I had to remove it
Should be fixed here https://github.com/arok/mobile_scanner/tree/fix_scanning
@arok can you please create a pull request for the fix?
I have the same issue
+1
I build the MobileScanner on initState. After the first scan I'm doing setState, but when trying to scan the next time I'm getting this error: 'Unhandled Exception: Bad state: Cannot add new events after calling close"
Why the stream is closed after the first screen, how to keep it open?
The controller is set like this:
MobileScannerController(detectionSpeed: DetectionSpeed.unrestricted);