arcticfox1919 / flutter-scankit

Flutter QR code scanning
MIT License
158 stars 58 forks source link

flutterBoost 自定义模式下,无法使用 #76

Open gslovemy opened 12 months ago

gslovemy commented 12 months ago

[+3415 ms] D/HwDragEnhancementImpl(19513): handleTimerDrag: false [ ] D/HwDragEnhancementImpl(19513): handleTimerDrag: false [ +96 ms] D/HwDragEnhancementImpl(19513): Start long press for hw drag enhancement. [ +10 ms] D/WebViewDragEnhancement(19513): dragReset. [ ] D/WebViewDragEnhancement(19513): dragReset cacheSize = 0 [ +4 ms] V/AudioManager(19513): querySoundEffectsEnabled... [ +43 ms] I/AudioManager(19513): querySoundEffectsEnabled fail id: 0 [ ] I/TopResumedActivityChangeItem(19513): execute start, ActivityClientRecord = ActivityRecord{6a27e89 token=android.os.BinderProxy@f1be92 {cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity}} [ ] V/FlutterBoostPlugin(19513): ## onContainerHide: 1700218222168_richScan1 [ ] I/flutter (19513): FlutterBoost#boost_lifecycle: BoostLifecycleBinding.containerDidHide [ ] I/flutter (19513): FlutterBoost#page_visibility, #dispatchPageHideEvent, richScan1 [ ] I/flutter (19513): AppLifecycleObserver - richScan1 onPageHide [ ] I/flutter (19513): FlutterBoost#page_visibility, #dispatchGlobalPageHideEvent, richScan1 [ ] I/HwViewRootImpl(19513): Add sceneId 2 topId: 0 [ ] I/HwViewRootImpl(19513): Add sceneId 9 topId: 2 [ ] I/LaunchActivityItem(19513): execute start, token = android.os.BinderProxy@36c7779 [ ] V/ActivityThread(19513): callActivityOnCreate [ ] D/FlutterGeolocator(19513): Detaching Geolocator from activity [ +5 ms] W/FlutterEngineCxnRegstry(19513): Attempted to register plugin (CommonChannel@63616ca) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@2393b23). [ ] W/FlutterEngineCxnRegstry(19513): Attempted to register plugin (cn.lingdong.ld_flutter.flutter.channels.DeviceChannel@a35703b) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@2393b23). [ ] W/FlutterEngineCxnRegstry(19513): Attempted to register plugin (cn.lingdong.ld_flutter.flutter.channels.SpaceChannel@994f358) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@2393b23). [ ] W/FlutterEngineCxnRegstry(19513): Attempted to register plugin (UserChannel@4a09cb1) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@2393b23). [ ] W/FlutterEngineCxnRegstry(19513): Attempted to register plugin (cn.lingdong.ld_flutter.flutter.channels.ScanChannel@a06d596) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@2393b23). [ ] I/HwMediaViewLayoutChangeHandler(19513): attachLayoutChangeListener: attached listener to view=io.flutter.embedding.android.FlutterTextureView{200d517 V.ED..... ........ 0,0-0,0} [ +6 ms] I/DecorView: pkgName:cn.lingdong.android.rn.ldapp old windowMode:0 new windoMode:1, isFixedSize:false, isStackNeedCaptionView:true [ +5 ms] I/ActivityThread(19513): add activity client record, r= ActivityRecord{757d89c token=android.os.BinderProxy@36c7779 {cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity}} token= android.os.BinderProxy@36c7779 [ +3 ms] D/FlutterGeolocator(19513): Attaching Geolocator to activity [ +2 ms] I/flutter (19513): FlutterBoost#pushWithInterceptor, uniqueId=1700218323396_richScan2, name=richScan2 [ +1 ms] I/flutter (19513): FlutterBoost#boost_lifecycle: BoostLifecycleBinding.containerDidPush [ ] I/flutter (19513): AppLifecycleObserver - richScan2 onPagePush [ ] I/flutter (19513): FlutterBoost#page_visibility, #dispatchGlobalPagePushEvent, richScan2 [ ] D/MouseWheelSynthesizer(19513): mMoveStepInDp: 64, mMoveStepInPixel: 192, mUpTimeDelayed: 100 [ ] I/flutter (19513): FlutterBoost#pushContainer, uniqueId=1700218323396richScan2, existed=null, arguments:{}, [BoostContainer(name:/, pages:[BoostPage(name:/, uniqueId:1700218212742/, arguments:null)]), BoostContainer(name:main, pages:[BoostPage(name:main, uniqueId:16732eeb-9ac6-4a94-b6c4-7848b691d020, arguments:{})]), BoostContainer(name:richScan1, pages:[BoostPage(name:richScan1, uniqueId:1700218222168_richScan1, arguments:{})]), BoostContainer(name:richScan2, pages:[BoostPage(name:richScan2, uniqueId:1700218323396_richScan2, arguments:{})])] [ ] D/ViewRootImpl(19513): ViewUI ViewRootImpl mIsInProductivePCDisplay: false [ ] I/DecorView: pkgName:cn.lingdong.android.rn.ldapp old windowMode:1 new windoMode:1, isFixedSize:false, isStackNeedCaptionView:true [ ] I/flutter (19513): FlutterBoost#boost_lifecycle: BoostLifecycleBinding.containerDidShow [ +1 ms] I/InsetsController(19513): ViewUI_insets updateState new source: InsetsSource: {mType=ITYPE_STATUS_BAR, mFrame=[0,0][1080,141], mVisible=true} [ ] I/InsetsController(19513): ViewUI_insets updateState new source: InsetsSource: {mType=ITYPE_NAVIGATION_BAR, mFrame=[0,0][0,0], mVisible=false} [ ] D/InputEventReceiver(19513): dispatchInputInterval 1000000 [ ] I/HwSoraManager(19513): SORA is disabled for cn.lingdong.ld_flutter.flutter.FlutterActivity [ +4 ms] I/TopResumedActivityChangeItem(19513): execute start, ActivityClientRecord = ActivityRecord{757d89c token=android.os.BinderProxy@36c7779 {cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity}} [ ] D/OpenGLRenderer(19513): disableOutlineDraw is true [ ] I/flutter (19513): FlutterBoost#saveStackForHotRestart, [1700218212742/, 16732eeb-9ac6-4a94-b6c4-7848b691d020, 1700218222168_richScan1, 1700218323396richScan2], {1700218212742/: Instance of 'FlutterContainer', 16732eeb-9ac6-4a94-b6c4-7848b691d020: Instance of 'FlutterContainer', 1700218222168_richScan1: Instance of 'FlutterContainer', 1700218323396_richScan2: Instance of 'FlutterContainer'} [ +6 ms] I/DecorView(19513): updateColorViewInt type:0 size: 141 color:40000000 appColor:40000000 [ +5 ms] D/HiTouch_PressGestureDetector(19513): onAttached, package=cn.lingdong.android.rn.ldapp, windowType=1, mIsHiTouchRestricted=false [ +3 ms] D/BufferQueueCore(19513): BufferQueueCore: mDebugHwFlow=0, mIsBufferQueueLogVSupport=0. [ ] D/InsetsSourceConsumer(19513): ViewUI_insets setControl -> ITYPE_STATUS_BAR on cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity [ ] D/InsetsSourceConsumer(19513): ViewUI_insets setControl mType:0, requestedVisible:true, getLeash:null, needAnimation:false, mIsAnimationPending:false, getRootViewTitle:cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity [ ] E/OpenGLRenderer(19513): Unable to match the desired swap behavior. [ ] D/BufferQueueCore(19513): BufferQueueCore: mDebugHwFlow=0, mIsBufferQueueLogVSupport=0. [ ] W/HwApsImpl(19513): not support full screen video recognize feature ## cn.lingdong.android.rn.ldapp [ +5 ms] I/HwViewRootImpl(19513): remove sceneId 2 topId: 9 [ ] I/HwViewRootImpl(19513): remove sceneId 9 topId: 0 [ ] I/HwViewRootImpl(19513): Add sceneId 10 topId: 0 [ +1 ms] I/HwMediaViewLayoutChangeHandler(19513): handleMediaViewLayoutChanged, listener removed. view=io.flutter.embedding.android.FlutterTextureView{200d517 V.ED..... ........ 0,0-1080,2340} [ +2 ms] I/InsetsSourceConsumer(19513): ViewUI_insets mSourceControl is null notifyControlRevoked type: 0 [ ] D/InsetsSourceConsumer(19513): ViewUI_insets setControl -> ITYPE_STATUS_BAR on cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity [ ] D/InsetsSourceConsumer(19513): ViewUI_insets setControl mType:0, requestedVisible:true, getLeash:Surface(name=Surface(name=ce46c6b StatusBar)/@0x3222881 - animation-leash of insets_animation)/@0x6dacf15, needAnimation:false, mIsAnimationPending:false, getRootViewTitle:cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity [ +13 ms] I/ImeFocusController(19513): ViewUI imeDisplayId:0 contextDisplayId:0 [ ] I/InputMethodManager(19513): set currentRootView to : android.view.ViewRootImpl@580c22a [ ] I/InputMethodManager(19513): Starting input: reason=WINDOW_FOCUS_GAIN [ ] W/HwRemoteInputMethodManager(19513): isCasting false because IHwDistributedWindowManager is invalid. [ ] I/InputMethodManager(19513): Starting input: Bind resultString=SUCCESS_WITH_IME_SESSION [ +3 ms] D/InsetsSourceConsumer(19513): ViewUI_insets setControl -> ITYPE_IME on cn.lingdong.android.rn.ldapp/cn.lingdong.ld_flutter.flutter.FlutterActivity [ +1 ms] I/ScanKitRemoteView(19513): onCreate: [ ] D/DeferredLifecycleHelper(19513): IDelegateLifeCycleCall onCreate: [ ] I/Scankit (19513): initlight hasFlash true [ +1 ms] I/HwMediaViewLayoutChangeHandler(19513): attachLayoutChangeListener: attached listener to view=android.view.TextureView{e5eaaf7 V.ED..... ........ 0,0-0,0

7f090212 app:id/surfaceView}

[ +3 ms] I/e (19513): initSurfaceViewSize: isPortraitScreen: true inMultiWindow: false isInMultiWindowFreeform: false isPadOrFold: false isFoldStateExpand: true isPad: false inMagicWindow: false ignore: false screen: Point(1080, 2340) width: -1 height: -1 inMagicWindow false ignore false isInit true isSpecialExpectSize false [ ] I/flutter (19513): FlutterBoost#page_visibility, #dispatchPageShowEvent, richScan2 [ ] I/flutter (19513): AppLifecycleObserver - richScan2 onPageShow [ ] I/flutter (19513): FlutterBoost#page_visibility, #dispatchGlobalPageShowEvent, richScan2 [ ] I/NetworkKit_CountryCodeBean(19513): main|null|com.huawei.hms.framework.network.grs.local.model.CountryCodeBean|getVendorCountryCode|39|countryCode by ro.hw.country is: cn [ ] I/NetworkKit_CountryCodeBean(19513): main|null|com.huawei.hms.framework.network.grs.local.model.CountryCodeBean|init|15|get issue_country code from VENDOR_COUNTRY [ ] I/NetworkKit_a1(19513): main|CountryCodeBean.java|com.huawei.hms.scankit.p.a1|a|4|getCountryCode unknown [ ] I/b (19513): initCameraConfig:falserotation0 [ ] I/b (19513): onCreate: CameraManageOncreate [ ] D/SensorManager(19513): 0xb40000755aff1be0 addFd fd=205 [ ] I/PlatformViewsController(19513): Hosting view in view hierarchy for platform view: 1 [ ] D/BufferQueueCore(19513): BufferQueueCore: mDebugHwFlow=0, mIsBufferQueueLogVSupport=0. [ +3 ms] E/FrameEvents(19513): updateAcquireFence: Did not find frame. [ ] I/CameraManager(19513): findCameraId: 0 [ ] I/CameraManager(19513): onResume: 0 [ ] I/Camera (19513): thermal level is 0 [ ] I/Camera (19513): open camera: 0, package name: cn.lingdong.android.rn.ldapp [ +2 ms] V/Camera-JNI(19513): notify [ +20 ms] D/BufferQueueCore(19513): BufferQueueCore: mDebugHwFlow=0, mIsBufferQueueLogVSupport=0. [ ] W/HwApsImpl(19513): not support full screen video recognize feature ## cn.lingdong.android.rn.ldapp [ +2 ms] E/FrameEvents(19513): updateAcquireFence: Did not find frame. [ ] E/Camera (19513): Error 2 [ ] I/HwMediaViewLayoutChangeHandler(19513): handleMediaViewLayoutChanged, listener removed. view=android.view.TextureView{e5eaaf7 V.ED..... ........ -118,0-1198,2199 #7f090212 app:id/surfaceView} [ +327 ms] I/HwViewRootImpl(19513): remove sceneId 10 topId: 0 [+55038 ms] E/TransportRuntime.CctTransportBackend(19513): Couldn't encode request, returning with 400 [ ] E/TransportRuntime.CctTransportBackend(19513): java.net.SocketTimeoutException: failed to connect to firebaselogging.googleapis.com/172.217.163.42 (port 443) from /10.46.100.47 (port 33332) after 30000ms [ +1 ms] E/TransportRuntime.CctTransportBackend(19513): at libcore.io.IoBridge.connectErrno(IoBridge.java:236) [ ] E/TransportRuntime.CctTransportBackend(19513): at libcore.io.IoBridge.connect(IoBridge.java:180) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.net.Socket.connect(Socket.java:621) [ +1 ms] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.Platform.connectSocket(Platform.java:182) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289) [ +1 ms] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:262) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:219) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:30) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.cct.CctTransportBackend.doSend(CctTransportBackend.java:304) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.cct.CctTransportBackend.access$lambda$0(Unknown Source:0) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.cct.CctTransportBackend$$Lambda$1.apply(Unknown Source:4) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.runtime.retries.Retries.retry(Retries.java:54) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.cct.CctTransportBackend.send(CctTransportBackend.java:373) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.runtime.scheduling.jobscheduling.Uploader.logAndUpdateState(Uploader.java:121) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.runtime.scheduling.jobscheduling.Uploader.lambda$upload$1(Uploader.java:88) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.runtime.scheduling.jobscheduling.Uploader$$Lambda$1.run(Unknown Source:8) [ ] E/TransportRuntime.CctTransportBackend(19513): at com.google.android.datatransport.runtime.SafeLoggingExecutor$SafeLoggingRunnable.run(SafeLoggingExecutor.java:47) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [ ] E/TransportRuntime.CctTransportBackend(19513): at java.lang.Thread.run(Thread.java:930) [ +15 ms] D/TransportRuntime.SQLiteEventStore(19513): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct [ +11 ms] D/TransportRuntime.JobInfoScheduler(19513): Scheduling upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) with jobId=-2051201005 in 30000ms(Backend next call timestamp 0). Attempt 1 [ +6 ms] D/TransportRuntime.SQLiteEventStore(19513): Storing event with priority=DEFAULT, name=FIREBASE_ML_SDK for destination cct [ +5 ms] D/TransportRuntime.JobInfoScheduler(19513): Upload for context TransportContext(cct, DEFAULT, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...

gslovemy commented 12 months ago

报错的关键部分 [ ] I/ScankitSDK(30548): local Version: 21100300 remote Version: 21200300 [ ] I/ScankitSDK(30548): use remote scankit 21200300 [ +59 ms] E/FrameEvents(30548): updateAcquireFence: Did not find frame. [ +3 ms] I/HwMediaViewLayoutChangeHandler(30548): handleMediaViewLayoutChanged, listener removed. view=android.view.TextureView{3da37c2 V.ED..... ........ -118,0-1198,2199 #7f090212 app:id/surfaceView} [ +16 ms] E/FrameEvents(30548): updateAcquireFence: Did not find frame. [ +135 ms] I/HwViewRootImpl(30548): remove sceneId 10 topId: 0 [ ] I/ScanKitRemoteView(30548): onStop: [ ] V/Camera-JNI(30548): setHasPreviewCallback: installed:0, manualBuffer:0 [ ] V/Camera-JNI(30548): start getCamera [ ] V/Camera-JNI(30548): get_native_camera: context=0xb4000075e67e2860, camera=0xb40000755cbf0780 [ ] V/Camera-JNI(30548): Clearing callback buffers, 0 remained [ ] V/Camera-JNI(30548): stopPreview [ ] V/Camera-JNI(30548): start getCamera [ ] V/Camera-JNI(30548): get_native_camera: context=0xb4000075e67e2860, camera=0xb40000755cbf0780 [ +664 ms] I/ScankitDecode(30548): doInBackground get InterruptedException error!!! [ ] V/Camera-JNI(30548): setHasPreviewCallback: installed:0, manualBuffer:0 [ ] V/Camera-JNI(30548): start getCamera [ ] V/Camera-JNI(30548): get_native_camera: context=0xb4000075e67e2860, camera=0xb40000755cbf0780 [ ] V/Camera-JNI(30548): Clearing callback buffers, 0 remained [ ] V/Camera-JNI(30548): stopPreview [ ] V/Camera-JNI(30548): start getCamera [ +2 ms] V/Camera-JNI(30548): get_native_camera: context=0xb4000075e67e2860, camera=0xb40000755cbf0780 [ +58 ms] I/Camera (30548): close camera: 0, package name: cn.lingdong.android.rn.ldapp [ +2 ms] V/Camera-JNI(30548): release camera [ ] V/Camera-JNI(30548): release [ ] V/Camera-JNI(30548): Clearing callback buffers, 0 remained [ ] V/Camera-JNI(30548): Clearing callback buffers, 0 remained [ ] V/Camera-JNI(30548): native_release: context=0xb4000075e67e2860 camera=0xb40000755cbf0780 [ +37 ms] V/Camera-JNI(30548): release [ ] V/Camera-JNI(30548): Clearing callback buffers, 0 remained [ ] V/Camera-JNI(30548): Clearing callback buffers, 0 remained [ +3 ms] E/FrameEvents(30548): updateAcquireFence: Did not find frame.