1

I'm using the qr_code_scanner package and getting an error like this on ios.

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: CameraException(404, No barcode scanner found)
#0 QRViewController.resumeCamera
package:qr_code_scanner/src/qr_code_scanner.dart:304
<asynchronous suspension>

how can i solve this

2 Answers2

0

Use this qr_code_scanner: ^1.0.1

Gprakash
  • 30
  • 7
0

If you are using any buttons to close the QR scanner, then make sure to clear the controller like this.

 _controller = null;

I hope it'll help.

Rohit Gupta
  • 4,022
  • 20
  • 31
  • 41