edufolly / flutter_mobile_vision

Flutter implementation of Google Mobile Vision.
MIT License
455 stars 168 forks source link

when starting to scan, it crashes #57

Open Csabatom opened 4 years ago

Csabatom commented 4 years ago

Future<Null> _scan() async { List<Barcode> barcodes = []; try { barcodes = await FlutterMobileVision.scan( autoFocus: true, formats: Barcode.QR_CODE, multiple: true, showText: true, fps: 15.0, ); } on Exception { barcodes.add(Barcode('Failed to get barcode.')); } }

and it is being called from a button onclick event.

edufolly commented 3 years ago

Hi @Csabatom,

could you provide the error log?