AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS

Home Page:https://pub.dev/packages/flutter_barcode_scanner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android only - different result with Debug and Release

chavdardonchev opened this issue · comments

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.