flutter_barcode_scanner
flutter_barcode_scanner copied to clipboard
Android only - different result with Debug and Release
If I run the app on an Android phone (Debug mode), I have to tap once on the scanning area to start the camera, which is unexpected, but after that it scans the code.
If I build an APK (Release mode) and install the APK on a phone, the scanning starts immediately, but it never detects any code.
On iPhone there's no difference if I run the app in Debug or I build, upload and install it from TestFlight.
Flutter: 3.0.5
Android: compileSdkVersion 33 minSdkVersion 21 targetSdkVersion 33
Android devices: various
Camera permission is added in the Manifest.