Post

Replies

Boosts

Views

Activity

Reply to iOS app thread 0 crashed
I found out what line is causing my error. It's await _qrCodeScanner.processImage(InputImage.fromFile(file)); When code is reaching this point app is crashing. I need permission to access temporary directory or something? I am using https://pub.dev/packages/google_ml_kit and https://pub.dev/packages/path_provider to get this functions. _qrCodeScanner = GoogleMlKit.vision .barcodeScanner(<BarcodeFormat>[BarcodeFormat.qrCode]); getTemporaryDirectory().then((value) { _tempDir = value; }); File file = await File('${_tempDir.path}/image.png').create(); file.writeAsBytesSync(frame.asUint8List()); await _qrCodeScanner.processImage(InputImage.fromFile(file)); But I don't found any of GoogleMLKit line in my crash report.
Apr ’22
Reply to unable to process application at this time due to the following error: null.
Did you find what was a problem and did you solved it?
Replies
Boosts
Views
Activity
Jan ’23
Reply to iOS app thread 0 crashed
I found out what line is causing my error. It's await _qrCodeScanner.processImage(InputImage.fromFile(file)); When code is reaching this point app is crashing. I need permission to access temporary directory or something? I am using https://pub.dev/packages/google_ml_kit and https://pub.dev/packages/path_provider to get this functions. _qrCodeScanner = GoogleMlKit.vision .barcodeScanner(<BarcodeFormat>[BarcodeFormat.qrCode]); getTemporaryDirectory().then((value) { _tempDir = value; }); File file = await File('${_tempDir.path}/image.png').create(); file.writeAsBytesSync(frame.asUint8List()); await _qrCodeScanner.processImage(InputImage.fromFile(file)); But I don't found any of GoogleMLKit line in my crash report.
Replies
Boosts
Views
Activity
Apr ’22
Reply to iOS app thread 0 crashed
full crash report This is my full crash report. I tried to match these addresses from Last Exception Backtrace with binary image but honestly I don't know how.
Replies
Boosts
Views
Activity
Apr ’22