Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on scan MLKIT #268

Open
dmsuh opened this issue Jul 7, 2023 · 0 comments
Open

Error on scan MLKIT #268

dmsuh opened this issue Jul 7, 2023 · 0 comments

Comments

@dmsuh
Copy link

dmsuh commented Jul 7, 2023

Describe the bug
I have a crash when scanning done. Parse Error

I Use vue 3 Quasar App
code for vue

<template>
  <div>
    <q-btn @click="startScan"> Start</q-btn>
    <q-btn @click="stop">Stop</q-btn>
    <q-btn @click="toogleTorch">toogleTorch</q-btn>
  </div>
</template>

<script setup lang="ts">
import { BarcodeScanner } from '@capacitor-community/barcode-scanner';
import {onDeactivated, onUnmounted} from "vue";
import {useRouter} from "vue-router";
import {useCounterStore} from "stores/example-store";
const router = useRouter();
const store =useCounterStore()
  const startScan = async () =>{
    await BarcodeScanner.requestPermissions();
    const value =await BarcodeScanner.start({},  async (result) => {
      await store.increment(result.content.toString())
      await router.push({name:'sec'})
      console.log('barcode scanned', result.toString());
    });

  }
  onDeactivated(()=>{
    BarcodeScanner.stop()
  })
 onUnmounted(()=>{
   BarcodeScanner.stop()
 })

  BarcodeScanner.checkPermissions()
  const toogleTorch  = async  ()=>{
      await BarcodeScanner.toggleTorch()
  }

  const stop = async ()=>{
    await BarcodeScanner.stop();
  }
</script>

Video fragment
https://github.com/capacitor-community/barcode-scanner/assets/90576894/f94e672d-c800-45d7-bfed-52d7d9ced991
Code from Logcat

---------------------------- PROCESS STARTED (23026) for package org.scanapp.almaz ----------------------------
2023-07-07 15:18:18.439 23026-23026 Compatibil...geReporter org.scanapp.almaz                    D  Compat change id reported: 171979766; UID 10538; state: ENABLED
2023-07-07 15:18:18.464  2466-2807  ActivityManagerWrapper  com.miui.home                        E  getRecentTasks: taskId=12289   userId=0   baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.scanapp.almaz/.MainActivity }
2023-07-07 15:18:18.464  2466-2807  ActivityManagerWrapper  com.miui.home                        E  getRecentTasks: taskId=12268   userId=0   baseIntent=Intent { act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:org.scanapp.almaz flg=0x10008000 cmp=com.android.settings/.applications.InstalledAppDetails }
2023-07-07 15:18:18.503 23026-23026 ziparchive              org.scanapp.almaz                    W  Unable to open '/data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/base.dm': No such file or directory
2023-07-07 15:18:18.503 23026-23026 ziparchive              org.scanapp.almaz                    W  Unable to open '/data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/base.dm': No such file or directory
2023-07-07 15:18:18.657 23026-23026 nativeloader            org.scanapp.almaz                    D  Configuring classloader-namespace for other apk /data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/lib/arm64:/data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/org.scanapp.almaz
2023-07-07 15:18:18.668 23026-23026 GraphicsEnvironment     org.scanapp.almaz                    V  ANGLE Developer option for 'org.scanapp.almaz' set to: 'default'
2023-07-07 15:18:18.669 23026-23026 GraphicsEnvironment     org.scanapp.almaz                    V  Neither updatable production driver nor prerelease driver is supported.
2023-07-07 15:18:18.671 23026-23026 ForceDarkHelperStubImpl org.scanapp.almaz                    I  initialize for org.scanapp.almaz , ForceDarkOrigin
2023-07-07 15:18:18.672 23026-23026 OpenGLRenderer          org.scanapp.almaz                    D  JNI_OnLoad success
2023-07-07 15:18:18.672 23026-23026 MiuiForceDarkConfig     org.scanapp.almaz                    I  setConfig density:2.750000, mainRule:0, secondaryRule:0, tertiaryRule:0
2023-07-07 15:18:18.674 23026-23026 NetworkSecurityConfig   org.scanapp.almaz                    D  No Network Security Config specified, using platform default
2023-07-07 15:18:18.675 23026-23026 NetworkSecurityConfig   org.scanapp.almaz                    D  No Network Security Config specified, using platform default
2023-07-07 15:18:18.721 23026-23054 libMEOW                 org.scanapp.almaz                    D  meow new tls: 0xb400007c4a55bdc0
2023-07-07 15:18:18.724 23026-23054 libMEOW                 org.scanapp.almaz                    D  meow reload base cfg path: na
2023-07-07 15:18:18.724 23026-23054 libMEOW                 org.scanapp.almaz                    D  meow reload overlay cfg path: na
2023-07-07 15:18:18.727 23026-23054 QT                      org.scanapp.almaz                    E  [QT]file does not exist
2023-07-07 15:18:18.727 23026-23054 libMEOW                 org.scanapp.almaz                    D  applied 1 plugins for [org.scanapp.almaz]:
2023-07-07 15:18:18.727 23026-23054 libMEOW                 org.scanapp.almaz                    D    plugin 1: [libMEOW_gift.so]:
2023-07-07 15:18:18.727 23026-23054 libMEOW                 org.scanapp.almaz                    D  meow delete tls: 0xb400007c4a55bdc0
2023-07-07 15:18:18.762 23026-23026 AppCompatDelegate       org.scanapp.almaz                    D  Checking for metadata for AppLocalesMetadataHolderService : Service not found
2023-07-07 15:18:18.787 23026-23026 ViewScrollStubImpl      org.scanapp.almaz                    D  the value of mScrollFrictionRes is: 0.015
2023-07-07 15:18:18.794 23026-23026 IS_CTS_MODE             org.scanapp.almaz                    D  false
2023-07-07 15:18:18.794 23026-23026 MULTI_WIND...CH_ENABLED org.scanapp.almaz                    D  false
2023-07-07 15:18:18.795 23026-23026 IS_CTS_MODE             org.scanapp.almaz                    D  false
2023-07-07 15:18:18.795 23026-23026 MULTI_WIND...CH_ENABLED org.scanapp.almaz                    D  false
2023-07-07 15:18:18.799 23026-23026 DecorView[]             org.scanapp.almaz                    D  getWindowModeFromSystem  windowmode is 1
2023-07-07 15:18:18.817 23026-23026 g.scanapp.alma          org.scanapp.almaz                    W  Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2023-07-07 15:18:18.817 23026-23026 g.scanapp.alma          org.scanapp.almaz                    W  Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2023-07-07 15:18:18.835 23026-23026 ziparchive              org.scanapp.almaz                    W  Unable to open '/data/app/~~jFn0Z5DY8uqqBI8wgCSfyw==/com.google.android.trichromelibrary.dev_584501131-p9Ks0bouImL3kPcEv82kDw==/base.dm': No such file or directory
2023-07-07 15:18:18.835 23026-23026 ziparchive              org.scanapp.almaz                    W  Unable to open '/data/app/~~jFn0Z5DY8uqqBI8wgCSfyw==/com.google.android.trichromelibrary.dev_584501131-p9Ks0bouImL3kPcEv82kDw==/base.dm': No such file or directory
2023-07-07 15:18:18.835 23026-23026 g.scanapp.alma          org.scanapp.almaz                    W  Entry not found
2023-07-07 15:18:18.838 23026-23026 nativeloader            org.scanapp.almaz                    D  Configuring classloader-namespace for other apk /data/app/~~jFn0Z5DY8uqqBI8wgCSfyw==/com.google.android.trichromelibrary.dev_584501131-p9Ks0bouImL3kPcEv82kDw==/base.apk. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~pUEw9FNR8Q_gOmUzV9xepg==/com.google.android.webview.dev-wRkukpCnCoEfK3lJbEMtSw==/lib/arm64:/data/app/~~pUEw9FNR8Q_gOmUzV9xepg==/com.google.android.webview.dev-wRkukpCnCoEfK3lJbEMtSw==/base.apk!/lib/arm64-v8a:/data/app/~~jFn0Z5DY8uqqBI8wgCSfyw==/com.google.android.trichromelibrary.dev_584501131-p9Ks0bouImL3kPcEv82kDw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2023-07-07 15:18:18.838 23026-23026 nativeloader            org.scanapp.almaz                    D  Extending system_exposed_libraries: libcamera_algoup_jni.xiaomi.so:libcamera_mianode_jni.xiaomi.so:libcamera_ispinterface_jni.xiaomi.so:libapuwareapusys.mtk.so:libapuwareapusys_v2.mtk.so:libapuwarexrp.mtk.so:libapuwarexrp_v2.mtk.so:libapuwareutils.mtk.so:libapuwareutils_v2.mtk.so:libapuwarehmp.mtk.so:libmcv_runtime_usdk.mtk.so:libneuron_graph_delegate.mtk.so:libneuronusdk_adapter.mtk.so:libtflite_mtk.mtk.so:libarmnn_ndk.mtk.so:libcmdl_ndk.mtk.so:libnir_neon_driver_ndk.mtk.so:libmvpu_runtime.mtk.so:libmvpu_runtime_pub.mtk.so:libmvpu_engine_pub.mtk.so:libmvpu_pattern_pub.mtk.so:libmvpuop_mtk_cv.mtk.so:libmvpuop_mtk_nn.mtk.so:libteeservice_client.trustonic.so
2023-07-07 15:18:18.850 23026-23026 nativeloader            org.scanapp.almaz                    D  Configuring classloader-namespace for other apk /data/app/~~pUEw9FNR8Q_gOmUzV9xepg==/com.google.android.webview.dev-wRkukpCnCoEfK3lJbEMtSw==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~pUEw9FNR8Q_gOmUzV9xepg==/com.google.android.webview.dev-wRkukpCnCoEfK3lJbEMtSw==/lib/arm64:/data/app/~~pUEw9FNR8Q_gOmUzV9xepg==/com.google.android.webview.dev-wRkukpCnCoEfK3lJbEMtSw==/base.apk!/lib/arm64-v8a:/data/app/~~jFn0Z5DY8uqqBI8wgCSfyw==/com.google.android.trichromelibrary.dev_584501131-p9Ks0bouImL3kPcEv82kDw==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand
2023-07-07 15:18:18.854 23026-23026 WebViewFactory          org.scanapp.almaz                    I  Loading com.google.android.webview.dev version 116.0.5845.11 (code 584501131)
2023-07-07 15:18:18.868 23026-23026 cr_WVCFactoryProvider   org.scanapp.almaz                    I  Loaded version=116.0.5845.11 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
2023-07-07 15:18:18.889 23026-23026 cr_LibraryLoader        org.scanapp.almaz                    I  Successfully loaded native library
2023-07-07 15:18:18.889 23026-23026 cr_CachingUmaRecorder   org.scanapp.almaz                    I  Flushed 7 samples from 7 histograms, 0 samples were dropped.
2023-07-07 15:18:18.990 23026-23076 chromium                org.scanapp.almaz                    E  [ERROR:simple_file_enumerator.cc(21)] opendir /data/user/0/org.scanapp.almaz/cache/WebView/Default/HTTP Cache/Code Cache/js: No such file or directory (2)
2023-07-07 15:18:18.990 23026-23076 chromium                org.scanapp.almaz                    E  [ERROR:simple_index_file.cc(614)] Could not reconstruct index from disk
2023-07-07 15:18:19.008 23026-23026 Compatibil...geReporter org.scanapp.almaz                    D  Compat change id reported: 171228096; UID 10538; state: ENABLED
2023-07-07 15:18:19.054 23026-23026 Capacitor               org.scanapp.almaz                    D  Starting BridgeActivity
2023-07-07 15:18:19.078 23026-23026 Capacitor               org.scanapp.almaz                    D  Registering plugin instance: CapacitorCookies
2023-07-07 15:18:19.082 23026-23026 Capacitor               org.scanapp.almaz                    D  Registering plugin instance: WebView
2023-07-07 15:18:19.083 23026-23026 Capacitor               org.scanapp.almaz                    D  Registering plugin instance: CapacitorHttp
2023-07-07 15:18:19.085 23026-23026 Capacitor               org.scanapp.almaz                    D  Registering plugin instance: CapacitorCommunityBarcodeScanner
2023-07-07 15:18:19.086 23026-23026 Capacitor               org.scanapp.almaz                    D  Registering plugin instance: App
2023-07-07 15:18:19.098 23026-23026 Capacitor               org.scanapp.almaz                    W  Unable to read file at path public/plugins
2023-07-07 15:18:19.099 23026-23026 Capacitor               org.scanapp.almaz                    D  Loading app at http://192.168.0.11:9500
2023-07-07 15:18:19.110 23026-23106 libMEOW                 org.scanapp.almaz                    D  meow new tls: 0xb400007c4a060900
2023-07-07 15:18:19.110 23026-23106 libMEOW                 org.scanapp.almaz                    D  applied 1 plugins for [org.scanapp.almaz]:
2023-07-07 15:18:19.110 23026-23106 libMEOW                 org.scanapp.almaz                    D    plugin 1: [libMEOW_gift.so]:
2023-07-07 15:18:19.112 23026-23082 cr_media                org.scanapp.almaz                    W  BLUETOOTH_CONNECT permission is missing.
2023-07-07 15:18:19.114 23026-23082 cr_media                org.scanapp.almaz                    W  registerBluetoothIntentsIfNeeded: Requires BLUETOOTH permission
2023-07-07 15:18:19.117 23026-23106 hw-ProcessState         org.scanapp.almaz                    D  Binder ioctl to enable oneway spam detection failed: Invalid argument
2023-07-07 15:18:19.119 23026-23106 libEGL                  org.scanapp.almaz                    E  eglCreateContextImpl:937 error 3004 (EGL_BAD_ATTRIBUTE)
2023-07-07 15:18:19.121 23026-23106 GED                     org.scanapp.almaz                    I  [GT]_get_procNameprocess pid(23026)
2023-07-07 15:18:19.121 23026-23106 GED                     org.scanapp.almaz                    I  [GT]_getprocess name(org.scanapp.almaz)
2023-07-07 15:18:19.121 23026-23106 g.scanapp.alma          org.scanapp.almaz                    I  [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
2023-07-07 15:18:19.136 23026-23026 Capacitor               org.scanapp.almaz                    D  App started
2023-07-07 15:18:19.140 23026-23026 Capacitor/AppPlugin     org.scanapp.almaz                    D  Firing change: true
2023-07-07 15:18:19.140 23026-23026 Capacitor/AppPlugin     org.scanapp.almaz                    V  Notifying listeners for event appStateChange
2023-07-07 15:18:19.140 23026-23026 Capacitor/AppPlugin     org.scanapp.almaz                    D  No listeners found for event appStateChange
2023-07-07 15:18:19.141 23026-23026 Capacitor               org.scanapp.almaz                    D  App resumed
2023-07-07 15:18:19.146 23026-23106 vulkan                  org.scanapp.almaz                    D  searching for layers in '/data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/lib/arm64'
2023-07-07 15:18:19.146 23026-23106 vulkan                  org.scanapp.almaz                    D  searching for layers in '/data/app/~~jZKlX6x8fVl0HL1FrWZcrw==/org.scanapp.almaz-N2RdUpr58TG6MptRlGa-Gw==/base.apk!/lib/arm64-v8a'
2023-07-07 15:18:19.146 23026-23106 vulkan                  org.scanapp.almaz                    D  searching for layers in '/vendor/lib64'
2023-07-07 15:18:19.146 23026-23026 SurfaceFactory          org.scanapp.almaz                    I  [static] sSurfaceFactory = com.mediatek.view.impl.SurfaceFactoryImpl@f26e524
2023-07-07 15:18:19.147 23026-23106 libc                    org.scanapp.almaz                    W  Access denied finding property "vendor.debug.forcibly_enable_mtk_ray_tracing"
2023-07-07 15:18:19.148 23026-23026 MsyncFactory            org.scanapp.almaz                    I  [static] sMsyncFactory = com.mediatek.view.impl.MsyncFactoryImpl@b38b88d
2023-07-07 15:18:19.148 23026-23026 OpenMsyncAppList        org.scanapp.almaz                    D  loadTunerAppList + 
2023-07-07 15:18:19.151 23026-23026 OpenMsyncAppList        org.scanapp.almaz                    D  loadTunerAppList - 
2023-07-07 15:18:19.162 23026-23026 ViewRootIm...nActivity] org.scanapp.almaz                    D  hardware acceleration = true, sRendererEnabled = true, forceHwAccelerated = false
2023-07-07 15:18:19.169 23026-23026 libMEOW                 org.scanapp.almaz                    D  meow new tls: 0xb400007ca1684fc0
2023-07-07 15:18:19.169 23026-23026 libMEOW                 org.scanapp.almaz                    D  applied 1 plugins for [org.scanapp.almaz]:
2023-07-07 15:18:19.169 23026-23026 libMEOW                 org.scanapp.almaz                    D    plugin 1: [libMEOW_gift.so]:
2023-07-07 15:18:19.189 23026-23026 Looper                  org.scanapp.almaz                    W  PerfMonitor looperActivity : package=org.scanapp.almaz/.MainActivity time=0ms latency=766ms running=0ms  procState=-1  historyMsgCount=4 (msgIndex=3 wall=279ms seq=3 late=18ms h=android.app.ActivityThread$H w=110) (msgIndex=4 wall=455ms seq=4 late=295ms h=android.app.ActivityThread$H w=159)
2023-07-07 15:18:19.209  1077-1393  BufferQueueDebug        surfaceflinger                       E  [org.scanapp.almaz/org.scanapp.almaz.MainActivity#0](this:0xb4000073a9f688d0,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'org.scanapp.almaz/org.scanapp.almaz.MainActivity#0'
2023-07-07 15:18:19.215 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/x-adpcm-dvi-ima
2023-07-07 15:18:19.216 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/x-adpcm-dvi-ima
2023-07-07 15:18:19.217 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/x-adpcm-ms
2023-07-07 15:18:19.217 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/x-adpcm-ms
2023-07-07 15:18:19.218 23026-23026 BufferQueueConsumer     org.scanapp.almaz                    I  [](id:59f200000000,api:0,p:-1,c:23026) connect: controlledByApp=false
2023-07-07 15:18:19.218 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/alac
2023-07-07 15:18:19.219 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/alac
2023-07-07 15:18:19.219 23026-23026 BLASTBufferQueue        org.scanapp.almaz                    I  [ViewRootImpl[MainActivity]#0] constructor()
2023-07-07 15:18:19.219 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/ape
2023-07-07 15:18:19.220 23026-23092 AudioCapabilities       org.scanapp.almaz                    W  Unsupported mime audio/ape
2023-07-07 15:18:19.222 23026-23053 libMEOW                 org.scanapp.almaz                    D  meow new tls: 0xb400007c4a8250c0
2023-07-07 15:18:19.222 23026-23053 libMEOW                 org.scanapp.almaz                    D  applied 1 plugins for [org.scanapp.almaz]:
2023-07-07 15:18:19.222 23026-23053 libMEOW                 org.scanapp.almaz                    D    plugin 1: [libMEOW_gift.so]:
2023-07-07 15:18:19.224 23026-23053 GED                     org.scanapp.almaz                    I  [GT]_get_procNameprocess pid(23026)
2023-07-07 15:18:19.224 23026-23053 GED                     org.scanapp.almaz                    I  [GT]_getprocess name(org.scanapp.almaz)
2023-07-07 15:18:19.224 23026-23053 g.scanapp.alma          org.scanapp.almaz                    I  [GT] ret(1) gt_status(00000000) aniso_debug_level(0) gt_aniso_max_level(16) ani so mask(00000001) tri mask(00000002)
2023-07-07 15:18:19.231 23026-23053 BufferQueueProducer     org.scanapp.almaz                    I  [ViewRootImpl[MainActivity]#0(BLAST Consumer)0](id:59f200000000,api:1,p:23026,c:23026) connect: api=1 producerControlledByApp=true
2023-07-07 15:18:19.240 23026-23135 ion                     org.scanapp.almaz                    E  ioctl c0044901 failed with code -1: Invalid argument
2023-07-07 15:18:19.240 23026-23092 VideoCapabilities       org.scanapp.almaz                    W  Unsupported mime image/vnd.android.heic
2023-07-07 15:18:19.242 23026-23092 VideoCapabilities       org.scanapp.almaz                    W  Unsupported mime image/vnd.android.heic
2023-07-07 15:18:19.242 23026-23092 VideoCapabilities       org.scanapp.almaz                    W  Unsupported mime image/vnd.android.heic
2023-07-07 15:18:19.244 23026-23092 VideoCapabilities       org.scanapp.almaz                    W  Unsupported mime image/vnd.android.heic
2023-07-07 15:18:19.246 23026-23053 hw-ProcessState         org.scanapp.almaz                    D  Binder ioctl to enable oneway spam detection failed: Invalid argument
2023-07-07 15:18:19.259 23026-23092 VideoCapabilities       org.scanapp.almaz                    W  Unsupported mime video/x-ms-wmv
2023-07-07 15:18:19.260 23026-23092 VideoCapabilities       org.scanapp.almaz                    W  Unsupported mime video/x-ms-wmv
2023-07-07 15:18:19.274 23026-23053 libc                    org.scanapp.almaz                    W  Access denied finding property "vendor.debug.forcibly_enable_mtk_ray_tracing"
2023-07-07 15:18:19.281 23026-23053 OpenGLRenderer          org.scanapp.almaz                    E  fbcNotifyFrameComplete error: undefined symbol: fbcNotifyFrameComplete
2023-07-07 15:18:19.281 23026-23053 OpenGLRenderer          org.scanapp.almaz                    E  fbcNotifyNoRender error: undefined symbol: fbcNotifyNoRender
2023-07-07 15:18:19.287 23026-23026 Looper                  org.scanapp.almaz                    W  PerfMonitor doFrame : time=96ms vsyncFrame=0 latency=483ms procState=-1 historyMsgCount=4 (msgIndex=1 wall=279ms seq=3 late=18ms h=android.app.ActivityThread$H w=110) (msgIndex=2 wall=455ms seq=4 late=295ms h=android.app.ActivityThread$H w=159)
2023-07-07 15:18:19.334 23026-23026 DecorView[]             org.scanapp.almaz                    D  onWindowFocusChanged hasWindowFocus true
2023-07-07 15:18:19.374 23026-23026 Capacitor/Console       org.scanapp.almaz                    I  File: http://192.168.0.11:9500/@vite/client - Line 184 - Msg: [vite] connecting...
2023-07-07 15:18:19.397 23026-23026 Capacitor/Console       org.scanapp.almaz                    I  File: http://192.168.0.11:9500/@vite/client - Line 212 - Msg: [vite] connected.
2023-07-07 15:18:19.533 23026-23026 Capacitor/Console       org.scanapp.almaz                    I  File: http://192.168.0.11:9500/.quasar/client-entry.js - Line 47 - Msg: [Quasar] Running CAPACITOR.
2023-07-07 15:18:19.545 23026-23026 Capacitor/Plugin        org.scanapp.almaz                    V  To native (Capacitor plugin): callbackId: 119947438, pluginId: App, methodName: addListener
2023-07-07 15:18:19.546 23026-23026 Capacitor               org.scanapp.almaz                    V  callback: 119947438, pluginId: App, methodName: addListener, methodData: {"eventName":"backButton"}
2023-07-07 15:18:19.866 23026-23026 Capacitor/Plugin        org.scanapp.almaz                    V  To native (Capacitor plugin): callbackId: 119947439, pluginId: CapacitorCommunityBarcodeScanner, methodName: checkPermissions
2023-07-07 15:18:19.866 23026-23026 Capacitor               org.scanapp.almaz                    V  callback: 119947439, pluginId: CapacitorCommunityBarcodeScanner, methodName: checkPermissions, methodData: {}
2023-07-07 15:18:19.982 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:19.983 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:19.993 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:19.993 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:20.000 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:20.837 23026-23026 Choreographer           org.scanapp.almaz                    W  Frame time is 0.207966  now = 5093503959610  timestampNanos = 5093504167576 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2023-07-07 15:18:24.850 23026-23171 ProfileInstaller        org.scanapp.almaz                    D  Installing profile for org.scanapp.almaz
2023-07-07 15:18:28.013 23026-23026 MIUIInput               org.scanapp.almaz                    D  [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=5100675, downTime=5100675 } moveCount:0
2023-07-07 15:18:28.016 23026-23026 g.scanapp.alma          org.scanapp.almaz                    W  Accessing hidden method Landroid/view/MotionEvent;->getEventTimeNano()J (unsupported, reflection, allowed)
2023-07-07 15:18:28.089 23026-23026 MIUIInput               org.scanapp.almaz                    D  [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=5100753, downTime=5100675 } moveCount:1
2023-07-07 15:18:28.100 23026-23026 Capacitor/Plugin        org.scanapp.almaz                    V  To native (Capacitor plugin): callbackId: 119947440, pluginId: CapacitorCommunityBarcodeScanner, methodName: requestPermissions
2023-07-07 15:18:28.100 23026-23026 Capacitor               org.scanapp.almaz                    V  callback: 119947440, pluginId: CapacitorCommunityBarcodeScanner, methodName: requestPermissions, methodData: {}
2023-07-07 15:18:28.106 23026-23026 Capacitor/Plugin        org.scanapp.almaz                    V  To native (Capacitor plugin): callbackId: 119947441, pluginId: CapacitorCommunityBarcodeScanner, methodName: start
2023-07-07 15:18:28.106 23026-23026 Capacitor               org.scanapp.almaz                    V  callback: 119947441, pluginId: CapacitorCommunityBarcodeScanner, methodName: start, methodData: {}
2023-07-07 15:18:28.119 23026-23182 CameraManagerGlobal     org.scanapp.almaz                    I  Connecting to camera service
2023-07-07 15:18:28.122 23026-23182 CameraExtStub           org.scanapp.almaz                    D  init android.hardware.camera2.impl.CameraExtImplXiaoMi
2023-07-07 15:18:28.123 23026-23183 CameraInjector          org.scanapp.almaz                    D  updateCloudCameraControllerInfoAsync: E
2023-07-07 15:18:28.139 23026-23183 CameraInjector          org.scanapp.almaz                    D  updateCloudCameraControllerInfoAsync: X
2023-07-07 15:18:28.139 23026-23182 CameraManagerGlobal     org.scanapp.almaz                    W  [soar.cts] ignore the status update of camera: 2
2023-07-07 15:18:28.139 23026-23182 CameraManagerGlobal     org.scanapp.almaz                    W  [soar.cts] ignore the status update of camera: 3
2023-07-07 15:18:28.139 23026-23182 CameraManagerGlobal     org.scanapp.almaz                    W  [soar.cts] ignore the status update of camera: 4
2023-07-07 15:18:28.140 23026-23182 CameraManagerGlobal     org.scanapp.almaz                    W  [soar.cts] ignore the status update of camera: 5
2023-07-07 15:18:28.140 23026-23041 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 2
2023-07-07 15:18:28.140 23026-23041 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 3
2023-07-07 15:18:28.140 23026-23041 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 4
2023-07-07 15:18:28.140 23026-23041 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 5
2023-07-07 15:18:28.149 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.150 23026-23182 CameraRepository        org.scanapp.almaz                    D  Added camera: 0
2023-07-07 15:18:28.150 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.156 23026-23188 DynamiteModule          org.scanapp.almaz                    I  Considering local module com.google.mlkit.dynamite.barcode:10000 and remote module com.google.mlkit.dynamite.barcode:0
2023-07-07 15:18:28.156 23026-23188 DynamiteModule          org.scanapp.almaz                    I  Selected local version of com.google.mlkit.dynamite.barcode
2023-07-07 15:18:28.172 23026-23182 Camera2CameraInfo       org.scanapp.almaz                    I  Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_3
2023-07-07 15:18:28.173 23026-23182 CameraRepository        org.scanapp.almaz                    D  Added camera: 1
2023-07-07 15:18:28.174 23026-23182 Camera2CameraInfo       org.scanapp.almaz                    I  Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_3
2023-07-07 15:18:28.174 23026-23182 CameraValidator         org.scanapp.almaz                    D  Verifying camera lens facing on rosemary, lensFacingInteger: null
2023-07-07 15:18:28.189 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:28.189 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:28.189 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:28.205 23026-23026 StreamConfigurationMap  org.scanapp.almaz                    D  setFlag Flag:1
2023-07-07 15:18:28.207 23026-23184 TransportR...EventStore org.scanapp.almaz                    D  Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct
2023-07-07 15:18:28.208 23026-23026 CameraOrientationUtil   org.scanapp.almaz                    D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2023-07-07 15:18:28.209 23026-23026 CameraOrientationUtil   org.scanapp.almaz                    D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2023-07-07 15:18:28.212 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.214 23026-23026 DeferrableSurface       org.scanapp.almaz                    D  Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@ab73e69}
2023-07-07 15:18:28.215 23026-23026 CameraOrientationUtil   org.scanapp.almaz                    D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2023-07-07 15:18:28.216 23026-23184 TransportR...EventStore org.scanapp.almaz                    D  Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
2023-07-07 15:18:28.217 23026-23026 BufferQueueConsumer     org.scanapp.almaz                    I  [](id:59f200000001,api:0,p:-1,c:23026) connect: controlledByApp=true
2023-07-07 15:18:28.218 23026-23026 CameraOrientationUtil   org.scanapp.almaz                    D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2023-07-07 15:18:28.218 23026-23026 BufferQueueConsumer     org.scanapp.almaz                    I  [](id:59f200000002,api:0,p:-1,c:23026) connect: controlledByApp=true
2023-07-07 15:18:28.218 23026-23026 CameraOrientationUtil   org.scanapp.almaz                    D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2023-07-07 15:18:28.219 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.219 23026-23026 DeferrableSurface       org.scanapp.almaz                    D  Surface created[total_surfaces=2, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@5ad641c}
2023-07-07 15:18:28.221 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Use case androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791 ACTIVE
2023-07-07 15:18:28.222 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [] for camera: 0
2023-07-07 15:18:28.223 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Use case androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157 ACTIVE
2023-07-07 15:18:28.223 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [] for camera: 0
2023-07-07 15:18:28.224 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Use cases [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] now ATTACHED
2023-07-07 15:18:28.225 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  All use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.225 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.226 23026-23026 PreviewView             org.scanapp.almaz                    D  Surface requested by Preview.
2023-07-07 15:18:28.227 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:28.228 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Resetting Capture Session
2023-07-07 15:18:28.229 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Releasing session in state INITIALIZED
2023-07-07 15:18:28.231 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Attempting to force open the camera.
2023-07-07 15:18:28.231 23026-23189 CameraStateRegistry     org.scanapp.almaz                    D  tryOpenCamera(Camera@6d7e612[id=0]) [Available Cameras: 1, Already Open: false (Previous state: null)] --> SUCCESS
2023-07-07 15:18:28.232 23026-23189 CameraStateRegistry     org.scanapp.almaz                    D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@836b755[id=1]                         UNKNOWN               
                                                                                                    Camera@6d7e612[id=0]                         OPENING               
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2023-07-07 15:18:28.233 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Opening camera.
2023-07-07 15:18:28.233 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Transitioning camera internal state: INITIALIZED --> OPENING
2023-07-07 15:18:28.233 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  New public camera state CameraState{type=OPENING, error=null} from OPENING and null
2023-07-07 15:18:28.233 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  Publishing new public camera state CameraState{type=OPENING, error=null}
2023-07-07 15:18:28.234 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  All use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.242 23026-23161 CameraManagerGlobal     org.scanapp.almaz                    E  Camera 5 is not available. Ignore physical camera status change
2023-07-07 15:18:28.242 23026-23026 SurfaceView             org.scanapp.almaz                    D  UPDATE null, mIsCastMode = false
2023-07-07 15:18:28.243  1077-1136  BufferQueueDebug        surfaceflinger                       E  [SurfaceView[org.scanapp.almaz/org.scanapp.almaz.MainActivity](BLAST)#0](this:0xb4000073a9f208d0,id:-1,api:0,p:-1,c:-1) id info cannot be read from 'SurfaceView[org.scanapp.almaz/org.scanapp.almaz.MainActivity](BLAST)#0'
2023-07-07 15:18:28.245 23026-23026 BufferQueueConsumer     org.scanapp.almaz                    I  [](id:59f200000003,api:0,p:-1,c:23026) connect: controlledByApp=false
2023-07-07 15:18:28.245 23026-23026 BLASTBufferQueue        org.scanapp.almaz                    I  [SurfaceView[org.scanapp.almaz/org.scanapp.almaz.MainActivity]#1] constructor()
2023-07-07 15:18:28.246 23026-23026 SurfaceViewImpl         org.scanapp.almaz                    D  Surface created.
2023-07-07 15:18:28.246 23026-23026 SurfaceViewImpl         org.scanapp.almaz                    D  Surface changed. Size: 1600x1200
2023-07-07 15:18:28.249 23026-23161 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 2
2023-07-07 15:18:28.250 23026-23161 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 3
2023-07-07 15:18:28.250 23026-23026 PreviewView             org.scanapp.almaz                    D  Preview transformation info updated. TransformationInfo{cropRect=Rect(0, 0 - 1600, 1200), rotationDegrees=90, targetRotation=-1}
2023-07-07 15:18:28.250 23026-23026 PreviewTransform        org.scanapp.almaz                    D  Transformation info set: TransformationInfo{cropRect=Rect(0, 0 - 1600, 1200), rotationDegrees=90, targetRotation=-1} 1600x1200 false
2023-07-07 15:18:28.250 23026-23161 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 4
2023-07-07 15:18:28.250 23026-23026 CameraOrientationUtil   org.scanapp.almaz                    D  getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=90, isOppositeFacing=true, result=90
2023-07-07 15:18:28.251 23026-23161 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 5
2023-07-07 15:18:28.252 23026-23026 SurfaceViewImpl         org.scanapp.almaz                    D  Surface set on Preview.
2023-07-07 15:18:28.255 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Use case androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791 ACTIVE
2023-07-07 15:18:28.256 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.256 23026-23026 SurfaceView             org.scanapp.almaz                    D  UPDATE Surface(name=SurfaceView[org.scanapp.almaz/org.scanapp.almaz.MainActivity])/@0x9df93d9, mIsProjectionMode = false
2023-07-07 15:18:28.256 23026-23026 SurfaceControl          org.scanapp.almaz                    D  nativeSetScreenProjection ===> setScreenProjection
2023-07-07 15:18:28.257 23026-23026 SurfaceControl          org.scanapp.almaz                    D  nativeSetScreenProjection ===> setScreenProjection
2023-07-07 15:18:28.257 23026-23026 SurfaceControl          org.scanapp.almaz                    D  nativeSetScreenProjection ===> setScreenProjection
2023-07-07 15:18:28.259 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Use case androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157 ACTIVE
2023-07-07 15:18:28.260 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.264 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} CameraDevice.onOpened()
2023-07-07 15:18:28.264 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Transitioning camera internal state: OPENING --> OPENED
2023-07-07 15:18:28.265 23026-23189 CameraStateRegistry     org.scanapp.almaz                    D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@836b755[id=1]                         UNKNOWN               
                                                                                                    Camera@6d7e612[id=0]                         OPEN                  
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2023-07-07 15:18:28.265 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  New public camera state CameraState{type=OPEN, error=null} from OPEN and null
2023-07-07 15:18:28.265 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  Publishing new public camera state CameraState{type=OPEN, error=null}
2023-07-07 15:18:28.266 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  All use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.269 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] for camera: 0
2023-07-07 15:18:28.270 23026-23189 SyncCaptureSessionBase  org.scanapp.almaz                    D  [androidx.camera.camera2.internal.SynchronizedCaptureSessionBaseImpl@56bc14d] getSurface...done
2023-07-07 15:18:28.271 23026-23189 CaptureSession          org.scanapp.almaz                    D  Opening capture session.
2023-07-07 15:18:28.276 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  New surface in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@ab73e69}
2023-07-07 15:18:28.276 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@ab73e69
2023-07-07 15:18:28.276 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  New surface in use[total_surfaces=2, used_surfaces=2](androidx.camera.core.impl.ImmediateSurface@5ad641c}
2023-07-07 15:18:28.276 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  use count+1, useCount=1 androidx.camera.core.impl.ImmediateSurface@5ad641c
2023-07-07 15:18:28.366 23026-23189 BufferQueueProducer     org.scanapp.almaz                    I  [SurfaceView[org.scanapp.almaz/org.scanapp.almaz.MainActivity]#1(BLAST Consumer)1](id:59f200000003,api:4,p:1312,c:23026) connect: api=4 producerControlledByApp=true
2023-07-07 15:18:28.366 23026-23189 BufferQueueProducer     org.scanapp.almaz                    I  [ImageReader-2448x2448f23m4-23026-0](id:59f200000001,api:4,p:1312,c:23026) connect: api=4 producerControlledByApp=false
2023-07-07 15:18:28.370 23026-23189 CaptureSession          org.scanapp.almaz                    D  Attempting to send capture request onConfigured
2023-07-07 15:18:28.370 23026-23189 CaptureSession          org.scanapp.almaz                    D  Issuing request for session.
2023-07-07 15:18:28.375 23026-23189 CaptureSession          org.scanapp.almaz                    D  CameraCaptureSession.onConfigured() mState=OPENED
2023-07-07 15:18:28.376 23026-23189 CaptureSession          org.scanapp.almaz                    D  CameraCaptureSession.onReady() OPENED
2023-07-07 15:18:28.563 23026-23034 g.scanapp.alma          org.scanapp.almaz                    I  Compiler allocated 4460KB to compile void android.view.ViewRootImpl.performTraversals()
2023-07-07 15:18:28.700 23026-23189 StreamStateObserver     org.scanapp.almaz                    D  Update Preview stream state to STREAMING
2023-07-07 15:18:28.720 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:28.768 23026-23184 TransportR...EventStore org.scanapp.almaz                    D  Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
2023-07-07 15:18:28.773 23026-23260 tflite                  org.scanapp.almaz                    I  Initialized TensorFlow Lite runtime.
2023-07-07 15:18:28.775 23026-23260 native                  org.scanapp.almaz                    I  I0707 16:18:28.775128   23260 oned_decoder_client.cc:685] barhopper::deep_learning::OnedDecoderClient is created successfully.
2023-07-07 15:18:28.777 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.780 23026-23260 libc                    org.scanapp.almaz                    W  Access denied finding property "ro.hardware.chipname"
2023-07-07 15:18:28.891 23026-23026 MLKIT                   org.scanapp.almaz                    E  content : fdsfsdfdsfsdfsdfsdsdsadf
2023-07-07 15:18:28.891 23026-23026 MLKIT                   org.scanapp.almaz                    E  bounds : 691 671 1846 1787
2023-07-07 15:18:28.891 23026-23026 MLKIT                   org.scanapp.almaz                    E  Added Into ArrayList : fdsfsdfdsfsdfsdfsdsdsadf
2023-07-07 15:18:28.891 23026-23026 MLKIT                   org.scanapp.almaz                    E  onSuccess: boundArr
2023-07-07 15:18:28.895 23026-23184 TransportR...EventStore org.scanapp.almaz                    D  Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
2023-07-07 15:18:28.903 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.909 23026-23184 TransportR...EventStore org.scanapp.almaz                    D  Storing event with priority=VERY_LOW, name=FIREBASE_ML_SDK for destination cct
2023-07-07 15:18:28.919 23026-23184 TransportR...oScheduler org.scanapp.almaz                    D  Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2023-07-07 15:18:28.947 23026-23026 Capacitor/Console       org.scanapp.almaz                    I  File: http://192.168.0.11:9500/src/components/ExampleComponent.vue - Line 17 - Msg: barcode scanned [object Object]
2023-07-07 15:18:28.948 23026-23026 Capacitor/Plugin        org.scanapp.almaz                    V  To native (Capacitor plugin): callbackId: 119947442, pluginId: CapacitorCommunityBarcodeScanner, methodName: stop
2023-07-07 15:18:28.949 23026-23026 Capacitor               org.scanapp.almaz                    V  callback: 119947442, pluginId: CapacitorCommunityBarcodeScanner, methodName: stop, methodData: {}
2023-07-07 15:18:28.950 23026-23026 DeferrableSurface       org.scanapp.almaz                    D  surface closed,  useCount=1 closed=true androidx.camera.core.SurfaceRequest$2@ab73e69
2023-07-07 15:18:28.951 23026-23026 DeferrableSurface       org.scanapp.almaz                    D  surface closed,  useCount=1 closed=true androidx.camera.core.impl.ImmediateSurface@5ad641c
2023-07-07 15:18:28.951 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Use cases [androidx.camera.core.Preview-65f724d6-7bc9-4883-9bf7-b1610a7cc06667898791, androidx.camera.core.ImageAnalysis-e7ff18cf-e5b8-46f2-910d-cf5fc84f3dbc246556157] now DETACHED for camera
2023-07-07 15:18:28.951 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  All use case: [] for camera: 0
2023-07-07 15:18:28.952 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Resetting Capture Session
2023-07-07 15:18:28.953 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Releasing session in state OPENED
2023-07-07 15:18:28.953 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [] for camera: 0
2023-07-07 15:18:28.954 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [] for camera: 0
2023-07-07 15:18:28.955 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Closing camera.
2023-07-07 15:18:28.955 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Transitioning camera internal state: OPENED --> CLOSING
2023-07-07 15:18:28.956 23026-23189 CameraStateRegistry     org.scanapp.almaz                    D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@836b755[id=1]                         UNKNOWN               
                                                                                                    Camera@6d7e612[id=0]                         CLOSING               
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 1 (Max allowed: 1)
2023-07-07 15:18:28.956 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  New public camera state CameraState{type=CLOSING, error=null} from CLOSING and null
2023-07-07 15:18:28.956 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  Publishing new public camera state CameraState{type=CLOSING, error=null}
2023-07-07 15:18:28.956 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Resetting Capture Session
2023-07-07 15:18:28.957 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Releasing session in state CLOSING
2023-07-07 15:18:28.957 23026-23189 CaptureSession          org.scanapp.almaz                    D  onSessionFinished()
2023-07-07 15:18:28.957 23026-23026 StreamStateObserver     org.scanapp.almaz                    D  Update Preview stream state to IDLE
2023-07-07 15:18:28.968 23026-23026 Capacitor/Console       org.scanapp.almaz                    I  File: http://192.168.0.11:9500/ - Line 232 - Msg: undefined
2023-07-07 15:18:28.979 23026-23053 GPUAUX                  org.scanapp.almaz                    E  [AUX]GuiExtAuxCheckAuxPath:667: Null anb
2023-07-07 15:18:29.103 23026-23040 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 2
2023-07-07 15:18:29.103 23026-23040 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 3
2023-07-07 15:18:29.103 23026-23040 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 4
2023-07-07 15:18:29.103 23026-23040 CameraManagerGlobal     org.scanapp.almaz                    W  ignore the torch status update of camera: 5
2023-07-07 15:18:29.113 23026-23189 BufferQueueProducer     org.scanapp.almaz                    I  [SurfaceView[org.scanapp.almaz/org.scanapp.almaz.MainActivity]#1(BLAST Consumer)1](id:59f200000003,api:4,p:1312,c:23026) disconnect: api 4
2023-07-07 15:18:29.117 23026-23189 BufferQueueProducer     org.scanapp.almaz                    I  [ImageReader-2448x2448f23m4-23026-0](id:59f200000001,api:4,p:1312,c:23026) disconnect: api 4
2023-07-07 15:18:29.120 23026-23040 CameraManagerGlobal     org.scanapp.almaz                    E  Camera 5 is not available. Ignore physical camera status change
2023-07-07 15:18:29.125 23026-23189 UseCaseAttachState      org.scanapp.almaz                    D  Active and attached use case: [] for camera: 0
2023-07-07 15:18:29.127 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  use count-1,  useCount=0 closed=true androidx.camera.core.SurfaceRequest$2@ab73e69
2023-07-07 15:18:29.127 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  Surface no longer in use[total_surfaces=2, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@ab73e69}
2023-07-07 15:18:29.128 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  Surface terminated[total_surfaces=1, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@ab73e69}
2023-07-07 15:18:29.128 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  use count-1,  useCount=0 closed=true androidx.camera.core.impl.ImmediateSurface@5ad641c
2023-07-07 15:18:29.128 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  Surface no longer in use[total_surfaces=1, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@5ad641c}
2023-07-07 15:18:29.128 23026-23189 DeferrableSurface       org.scanapp.almaz                    D  Surface terminated[total_surfaces=0, used_surfaces=0](androidx.camera.core.impl.ImmediateSurface@5ad641c}
2023-07-07 15:18:29.129 23026-23026 SurfaceViewImpl         org.scanapp.almaz                    D  Safe to release surface.
2023-07-07 15:18:29.129 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} CameraDevice.onClosed()
2023-07-07 15:18:29.129 23026-23026 BufferQueueConsumer     org.scanapp.almaz                    I  [ImageReader-2448x2448f23m4-23026-1](id:59f200000002,api:0,p:-1,c:23026) disconnect
2023-07-07 15:18:29.130 23026-23189 Camera2CameraImpl       org.scanapp.almaz                    D  {Camera@6d7e612[id=0]} Transitioning camera internal state: CLOSING --> INITIALIZED
2023-07-07 15:18:29.131 23026-23189 CameraStateRegistry     org.scanapp.almaz                    D  Recalculating open cameras:
                                                                                                    Camera                                       State                 
                                                                                                    -------------------------------------------------------------------
                                                                                                    Camera@836b755[id=1]                         UNKNOWN               
                                                                                                    Camera@6d7e612[id=0]                         CLOSED                
                                                                                                    -------------------------------------------------------------------
                                                                                                    Open count: 0 (Max allowed: 1)
2023-07-07 15:18:29.131 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  New public camera state CameraState{type=CLOSED, error=null} from CLOSED and null
2023-07-07 15:18:29.131 23026-23189 CameraStateMachine      org.scanapp.almaz                    D  Publishing new public camera state CameraState{type=CLOSED, error=null}
2023-07-07 15:18:29.147 23026-23026 MLKIT                   org.scanapp.almaz                    E  content : fdsfsdfdsfsdfsdfsdsdsadf
2023-07-07 15:18:29.148 23026-23026 MLKIT                   org.scanapp.almaz                    E  bounds : 682 680 1839 1789
2023-07-07 15:18:29.148 23026-23026 MLKIT                   org.scanapp.almaz                    E  Added Into ArrayList : fdsfsdfdsfsdfsdfsdsdsadf
2023-07-07 15:18:29.148 23026-23026 MLKIT                   org.scanapp.almaz                    E  onSuccess: boundArr
2023-07-07 15:18:29.148 23026-23026 AndroidRuntime          org.scanapp.almaz                    D  Shutting down VM
2023-07-07 15:18:29.149 23026-23026 AndroidRuntime          org.scanapp.almaz                    E  FATAL EXCEPTION: main
                                                                                                    Process: org.scanapp.almaz, PID: 23026
                                                                                                    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.getcapacitor.PluginCall.resolve(com.getcapacitor.JSObject)' on a null object reference
                                                                                                    	at com.getcapacitor.community.barcodescanner.CapacitorCommunityBarcodeScanner$3.onSuccess(CapacitorCommunityBarcodeScanner.java:342)
                                                                                                    	at com.getcapacitor.community.barcodescanner.CapacitorCommunityBarcodeScanner$3.onSuccess(CapacitorCommunityBarcodeScanner.java:304)
                                                                                                    	at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@18.0.2:1)
                                                                                                    	at android.os.Handler.handleCallback(Handler.java:938)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:210)
                                                                                                    	at android.os.Looper.loop(Looper.java:299)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8298)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073)
2023-07-07 15:18:29.154 23026-23026 OOMEventManagerFK       org.scanapp.almaz                    D  checkEventAndDumpForJE: 0
2023-07-07 15:18:29.161 23026-23026 g.scanapp.alma          org.scanapp.almaz                    W  Attempt to remove non-JNI local reference, dumping thread
2023-07-07 15:18:29.192 23026-23026 Process                 org.scanapp.almaz                    I  Sending signal. PID: 23026 SIG: 9
---------------------------- PROCESS ENDED (23026) for package org.scanapp.almaz ----------------------------

Smartphone (please complete the following information):

  • Device: [Redmi Note 10S]
    -Andorid [12]
@dmsuh dmsuh changed the title Error on scan Error on scan MLKIT Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant