Description
Describe your issue. If applicable, add screenshots to help explain your problem.
In some android devices barcode scan is not working! (For now samsung galaxy tab a7 Android 12 and tab s9+ Android 13) There is no specific error just return empty barcode list. But there is specific log on devices which not working.
I/tflite (23965): Initialized TensorFlow Lite runtime.
E/libc (23965): Access denied finding property "ro.mediatek.platform"
I/tflite (23965): Created TensorFlow Lite XNNPACK delegate for CPU.
This logs are not showing on working devices.
Here my camera controller how initialized
var cameraController = CameraController(
ultraWideCamera ?? backCameras.firstOrNull ?? cameras.first,
ResolutionPreset.veryHigh,
enableAudio: false,
imageFormatGroup: Platform.isIOS ? ImageFormatGroup.bgra8888 : ImageFormatGroup.nv21,
);
Steps to reproduce.
Run on specific devices ( now we only know Tab A7 & Tab s9)
What is the expected result?
Normal barcode scanning behaviout
Did you try our example app?
Yes
Is it reproducible in the example app?
Yes
Reproducible in which OS?
Android
Flutter/Dart Version?
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.4 23E214 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.89.1)
Plugin Version?
google_mlkit_barcode_scanning: ^0.12.0
camera: ^0.11.0