You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onScan is not working on the Xiaomi Poco M3 device. I have provided camera permission, the camera image appears, but the code does not scan.
On the Samsung A30s device and emulator - it works.
Code sample
code from Example not work too
Logs
I/CameraManagerGlobal( 3943): Connecting to camera serviceW/CameraManagerGlobal( 3943): [soar.cts] ignore the status update of camera: 2W/CameraManagerGlobal( 3943): [soar.cts] ignore the status update of camera: 3W/CameraManagerGlobal( 3943): [soar.cts] ignore the status update of camera: 4W/CameraManagerGlobal( 3943): [soar.cts] ignore the status update of camera: 5W/CameraManagerGlobal( 3943): [soar.cts] ignore the status update of camera: 6W/CameraManagerGlobal( 3943): ignore the torch status update of camera: 3W/CameraManagerGlobal( 3943): ignore the torch status update of camera: 4W/CameraManagerGlobal( 3943): ignore the torch status update of camera: 5E/libc ( 3943): Access denied finding property "persist.vendor.camera.privapp.list"W/ne.appany.reach( 3943): type=1400 audit(0.0:3041): avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=16035 scontext=u:r:untrusted_app:s0:c48,c262,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0W/CameraManagerGlobal( 3943): ignore the torch status update of camera: 3W/CameraManagerGlobal( 3943): ignore the torch status update of camera: 4W/CameraManagerGlobal( 3943): ignore the torch status update of camera: 5I/Camera ( 3943): startPreviewW/libc ( 3943): Unable to set property "persist.vendor.camera.mi.cameraid" to "false": connection failed; errno=13 (Permission denied)W/ne.appany.reach( 3943): type=1400 audit(0.0:3044): avc: denied { write } for name="property_service" dev="tmpfs" ino=14666 scontext=u:r:untrusted_app:s0:c48,c262,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0E/CameraManager( 3943): setprop error: java.lang.RuntimeException: failed to set system propertyW/BpBinder( 3943): Slow Binder: BpBinder transact took 218ms, interface=android.hardware.camera2.ICameraDeviceUser, code=6 oneway=falseI/Camera ( 3943): CameraCaptureSession onConfiguredI/Camera ( 3943): Updating builder settingsD/Camera ( 3943): Updating builder with feature: ExposureLockFeatureD/Camera ( 3943): Updating builder with feature: ExposurePointFeatureD/Camera ( 3943): Updating builder with feature: ZoomLevelFeatureD/Camera ( 3943): Updating builder with feature: AutoFocusFeatureD/Camera ( 3943): Updating builder with feature: NoiseReductionFeatureI/Camera ( 3943): updateNoiseReduction | currentSetting: fastD/Camera ( 3943): Updating builder with feature: FocusPointFeatureD/Camera ( 3943): Updating builder with feature: ResolutionFeatureD/Camera ( 3943): Updating builder with feature: SensorOrientationFeatureD/Camera ( 3943): Updating builder with feature: FlashFeatureD/Camera ( 3943): Updating builder with feature: ExposureOffsetFeatureD/Camera ( 3943): Updating builder with feature: FpsRangeFeatureI/Camera ( 3943): refreshPreviewCaptureSessionW/pool-13-thread-( 3943): type=1400 audit(0.0:3045): avc: denied { read } for name="u:object_r:camx_hq_prop:s0" dev="tmpfs" ino=15920 scontext=u:r:untrusted_app:s0:c48,c262,c512,c768 tcontext=u:object_r:camx_hq_prop:s0 tclass=file permissive=0E/libc ( 3943): Access denied finding property "persist.vendor.camera.mi.cameraid"W/BpBinder( 3943): Slow Binder: BpBinder transact took 215ms, interface=android.hardware.camera2.ICameraDeviceUser, code=14 oneway=falseW/BpBinder( 3943): Slow Binder: BpBinder transact took 293ms, interface=android.hardware.camera2.ICameraDeviceUser, code=6 oneway=falseI/Camera ( 3943): startPreviewWithImageStreamI/Camera ( 3943): CameraCaptureSession onConfiguredW/ne.appany.reac( 3943): Long monitor contention with owner main (3943) at boolean android.os.BinderProxy.transactNative(int, android.os.Parcel, android.os.Parcel, int)(BinderProxy.java:-2) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$4.run() for 512msI/Camera ( 3943): Updating builder settingsD/Camera ( 3943): Updating builder with feature: ExposureLockFeatureI/Camera ( 3943): refreshPreviewCaptureSessionW/ne.appany.reach( 3943): type=1400 audit(0.0:3046): avc: denied { read } for name="u:object_r:camx_hq_prop:s0" dev="tmpfs" ino=15920 scontext=u:r:untrusted_app:s0:c48,c262,c512,c768 tcontext=u:object_r:camx_hq_prop:s0 tclass=file permissive=0E/libc ( 3943): Access denied finding property "persist.vendor.camera.mi.cameraid"D/Camera ( 3943): Updating builder with feature: ExposurePointFeatureI/Camera ( 3943): CameraCaptureSession onClosedD/Camera ( 3943): Updating builder with feature: ZoomLevelFeatureD/Camera ( 3943): Updating builder with feature: AutoFocusFeatureD/Camera ( 3943): Updating builder with feature: NoiseReductionFeatureI/Camera ( 3943): updateNoiseReduction | currentSetting: fastD/Camera ( 3943): Updating builder with feature: FocusPointFeatureD/Camera ( 3943): Updating builder with feature: ResolutionFeatureD/Camera ( 3943): Updating builder with feature: SensorOrientationFeatureD/Camera ( 3943): Updating builder with feature: FlashFeatureD/Camera ( 3943): Updating builder with feature: ExposureOffsetFeatureD/Camera ( 3943): Updating builder with feature: FpsRangeFeatureI/Camera ( 3943): refreshPreviewCaptureSessionE/libc ( 3943): Access denied finding property "persist.vendor.camera.mi.cameraid"W/System ( 3943): A resource failed to call release.
Doctor output
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3570], locale en-US) • Flutter version 3.13.9 on channel stable at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision d211f42860 (5 days ago), 2023-10-25 13:42:25 -0700 • Engine revision 0545f8705d • Dart version 3.1.5 • DevTools version 2.25.0[√] Windows Version (Installed version of Windows is version 10 or higher)[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2) • Android SDK at G:\DB\soft_db\Android\Sdk\ • Platform android-33-ext5, build-tools 33.0.2 • ANDROID_HOME = G:\DB\soft_db\Android\Sdk\ • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231) • All Android licenses accepted.[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe[√] Android Studio (version 2022.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231) [√] VS Code (version 1.83.1) • VS Code at C:\Users\ooovid\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.46.0[√] Connected device (3 available) • M2010J19CG (mobile) • 931c654c0920 • android-arm64 • Android 10 (API 29) • Chrome (web) • chrome • web-javascript • Google Chrome 118.0.5993.118 • Edge (web) • edge • web-javascript • Microsoft Edge 118.0.2088.61[√] Network resources • All expected network resources are available.• No issues found!
The text was updated successfully, but these errors were encountered:
onScan is not working on the Xiaomi Poco M3 device. I have provided camera permission, the camera image appears, but the code does not scan.
On the Samsung A30s device and emulator - it works.
Code sample
code from Example not work too
Logs
Doctor output
The text was updated successfully, but these errors were encountered: