https://developers.weixin.qq.com/doc/oplatform/Mobile_App/WeChat_H5_Launch_APP.html
在我们的h5页面点击了允许没反应,不报错,也不打开App,不知道咋解决,客户端按照文档及demo进行了配置
客户端报这个错:
2021-05-10 10:59:18.673 2163-2163/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.BATTERY_CHANGED
2021-05-10 10:59:18.674 3260-3260/? I/BatteryInfoReceiver: ACTION_BATTERY_CHANGED
2021-05-10 10:59:18.675 2465-2465/? D/QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 0
2021-05-10 10:59:18.678 4078-4397/? D/PowerCheckerService: onBatteryChanged, mBatteryLevel = 31, status = 2, level = 31, plug = 1
2021-05-10 10:59:18.679 2163-2163/? D/KeyguardUpdateMonitor: handleBatteryUpdate
--------- beginning of system
2021-05-10 10:59:19.174 1414-1447/? W/ActivityManager: aInfo is null
2021-05-10 10:59:19.175 1414-1447/? W/com.android.server.am.ExtraActivityManagerService: Intent or aInfo is null!
2021-05-10 10:59:19.185 1414-1446/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger
2021-05-10 10:59:19.213 16624-19358/? E/FA: Task exception on worker thread: java.lang.IllegalStateException: Not initialized: com.google.android.gms.internal.measurement.zzhh.zzch(Unknown Source:11)
2021-05-10 10:59:19.213 16624-19358/? E/FA: Task exception on worker thread: java.lang.IllegalStateException: Not initialized: com.google.android.gms.internal.measurement.zzhh.zzch(Unknown Source:11)
2021-05-10 10:59:19.214 16624-19358/? E/FA: Persisted config not initialized. Not logging error/warn
2021-05-10 10:59:19.214 16624-19358/? E/FA: Persisted config not initialized. Not logging error/warn
2021-05-10 10:59:19.219 1414-1447/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{4329a6b com.tencent.mm} is now in focus and seems to be in full-screen mode
2021-05-10 10:59:19.220 1414-1447/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.tencent.mm/com.tencent.mm.plugin.webview.ui.tools.WebViewUI/1840
2021-05-10 10:59:19.220 1414-1447/? D/ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{4329a6b com.tencent.mm} is now in focus and seems to be in full-screen mode
2021-05-10 10:59:19.220 1414-1447/? E/ActivityTrigger: activityResumeTrigger: not whiteListedcom.tencent.mm/com.tencent.mm.plugin.webview.ui.tools.WebViewUI/1840
2021-05-10 10:59:19.236 3260-9223/? I/GuardService: notifyChange! preName = ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.webview.stub.WebViewStubProxyUI}; curName = ComponentInfo{com.tencent.mm/com.tencent.mm.plugin.webview.ui.tools.WebViewUI}
2021-05-10 10:59:19.284 1414-1447/? W/InputMethodManagerService: Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@2738f73 (uid=10533 pid=16624)
2021-05-10 10:59:19.284 1414-1447/? W/InputMethodManagerService: startInput, startReason: 8
2021-05-10 10:59:19.336 16624-16624/? E/WindowManager: android.view.WindowLeaked: Activity com.tencent.mm.plugin.webview.stub.WebViewStubProxyUI has leaked window DecorView@33428fa[] that was originally added here
at android.view.ViewRootImpl.<init>(ViewRootImpl.java:506)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:346)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:330)
at com.tencent.mm.ui.widget.a.d.show(SourceFile:1018)
at com.tencent.mm.ui.widget.a.f$a.show(SourceFile:573)
at com.tencent.mm.pluginsdk.model.app.h$6.bT(SourceFile:1950)
at com.tencent.f.e.e$1.run(SourceFile:96)
at android.os.Handler.handleCallback(Handler.java:792)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:6701)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:246)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
2021-05-10 10:59:19.416 17122-17122/? W/MemoryCheckThre: type=1400 audit(0.0:2876): avc: denied { read } for name="mem" dev="debugfs" ino=263501 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:kgsl_debugfs:s0 tclass=file permissive=0
2021-05-10 10:59:19.432 2163-2163/? D/EventBus: [2163, u0] send(AppTransitionFinishedEvent)
2021-05-10 10:59:19.432 2163-2163/? D/EventBus: [2163, u0] -> ForcedResizableInfoActivityController [0x67ce56a, P1] onBusEvent(AppTransitionFinishedEvent)
2021-05-10 10:59:19.432 2163-2163/? D/EventBus: [2163, u0] onBusEvent(AppTransitionFinishedEvent) duration: 16 microseconds, avg: 518
2021-05-10 10:59:19.562 2163-2163/? D/EventBus: [2163, u0] send(AppTransitionFinishedEvent)
2021-05-10 10:59:19.562 2163-2163/? D/EventBus: [2163, u0] -> ForcedResizableInfoActivityController [0x67ce56a, P1] onBusEvent(AppTransitionFinishedEvent)
2021-05-10 10:59:19.562 2163-2163/? D/EventBus: [2163, u0] onBusEvent(AppTransitionFinishedEvent) duration: 15 microseconds, avg: 517
2021-05-10 10:59:19.562 2163-2163/? D/EventBus: [2163, u0] send(AppTransitionFinishedEvent)
2021-05-10 10:59:19.562 2163-2163/? D/EventBus: [2163, u0] -> ForcedResizableInfoActivityController [0x67ce56a, P1] onBusEvent(AppTransitionFinishedEvent)
2021-05-10 10:59:19.562 2163-2163/? D/EventBus: [2163, u0] onBusEvent(AppTransitionFinishedEvent) duration: 8 microseconds, avg: 516
2021-05-10 10:59:19.581 766-829/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/scsi_host/host0/../../../clkscale_enable with 1
return value 2