Open herrmayr opened 3 years ago
I'm facing the exact same issue. And if I hit the back button, it responds with -1.
I have the same problem.
I found the fix. The app was crashing because the color parameter I was using was "ffffff" instead of "#ffffff".
I found the fix. The app was crashing because the color parameter I was using was "ffffff" instead of "#ffffff".
Thanks! It's also solved my problem too (was wrong text color format).
Describe the bug When invoking FlutterBarcodeScanner.scanBarcode("7DCD85", "cancel", false, ScanMode.QR); the app only shows a black screen with no content from the camera. I can press the "back" button, which safely returns to the last screen without crashing.
The log at that time reads
When I tap anywhere in the blank/black area while in "scan mode", the app crashes, referencing some NullPointerExceptions.
Log:
To Reproduce Steps to reproduce the behavior: Consistently on Android, but no on iOS