- 企业微信H5页面在华为p40 pro上二次唤起微信扫码时闪退
在企业微信中打开h5的页面,之后第一次调用wx.scanQRCode时没有问题,但是如果不退出页面,第二次直接调用wx.scanQRCode时,根据adb日志,会报错Application attempted to call on a destroyed WebView 然后导致h5直接整个崩溃关闭掉 业务代码是使用react进行开发的,adb日志和手机型号见下 [图片] 06-03 18:33:22.937 1725 2948 E WifiPermissionsUtil: getUidPermission is DENIED and permissionType android.permission.ACCESS_COARSE_LOCATIONuid 10176 06-03 18:33:22.937 1725 2948 E WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10176 has no location permission 06-03 18:33:22.939 1725 1980 W AwareLog: AwareMem_MemoryUtils: invalid swappiness value 06-03 18:33:22.943 9222 24971 E libc : Access denied finding property "ro.kirin.product.platform" 06-03 18:33:22.943 9222 24971 W HwExtendedCodec: The mime is not in hisi extended mime. 06-03 18:33:22.938 9222 9222 W SoundPoolThread: type=1400 audit(0.0:315476): avc: denied { read } for pid=9222 name="u:object_r:product_platform_prop:s0" dev="tmpfs" ino=17614 scontext=u:r:untrusted_app_27:s0:c176,c256,c512,c768 tcontext=u:object_r:product_platform_prop:s0 tclass=file permissive=0 06-03 18:33:22.947 9222 24972 W Codec2Client: query -- param skipped: index = 1107298332. 06-03 18:33:22.947 9222 24972 W Codec2Client: query -- param skipped: index = 1342179345. 06-03 18:33:22.947 9222 24972 W Codec2Client: query -- param skipped: index = 2415921170. 06-03 18:33:23.114 1725 2948 E WifiService: enforceCanAccessScanResults: hiding ssid and bssidUID 10176 has no location permission 06-03 18:33:23.132 1725 2065 W AudioSystem: (gLock) AudioSystem start get_audio_flinger() 06-03 18:33:23.132 1725 2065 W AudioSystem: (gLock) AudioSystem end get_audio_flinger()ms: 0ms 06-03 18:33:23.114 1725 2948 E WifiPermissionsUtil: getUidPermission is DENIED and permissionType android.permission.ACCESS_COARSE_LOCATIONuid 10176 06-03 18:33:23.246 54 54 W migration/7: type=1400 audit(0.0:315478): avc: granted { setsched } for pid=54 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=process 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: Application attempted to call on a destroyed WebView 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: java.lang.Throwable 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at org.chromium.android_webview.AwContents.U(chromium-SystemWebView.apk-stable-410310603:2) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at org.chromium.android_webview.AwContents.p(chromium-SystemWebView.apk-stable-410310603:1) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.android.webview.chromium.WebViewChromium.evaluateJavaScript(chromium-SystemWebView.apk-stable-410310603:8) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.webkit.WebView.evaluateJavascript(WebView.java:911) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at java.lang.reflect.Method.invoke(Native Method) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.tencent.smtt.sdk.WebView.evaluateJavascript(Unknown Source:95) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at eng.a(JsCoreUtil.java:28) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.tencent.wework.common.web.jsapi.bridge.JsApiHandler$10.run(JsApiHandler.java:682) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at efs.runOnMainThread(ThreadUtils.java:69) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.tencent.wework.common.web.jsapi.bridge.JsApiHandler.doCallback(JsApiHandler.java:677) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.tencent.wework.common.web.jsapi.bridge.JsApiHandler.notifyJsMessageHandled(JsApiHandler.java:594) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at eoe.notifyCancel(I3rdJsInterface.java:38) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at euv$1.c(JSFuncScanQRCode.java:63) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at euv$2.onCancel(JSFuncScanQRCode.java:159) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.tencent.wework.login.controller.QRScannerActivity.onDestroy(QRScannerActivity.java:329) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.Activity.performDestroy(Activity.java:8385) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1355) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5675) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5720) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:44) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:190) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:105) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2458) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.os.Handler.dispatchMessage(Handler.java:110) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.os.Looper.loop(Looper.java:219) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at android.app.ActivityThread.main(ActivityThread.java:8387) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at java.lang.reflect.Method.invoke(Native Method) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 06-03 18:33:23.255 9222 9222 W hwbr_engine_AwContents: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055) 06-03 18:33:23.261 773 1750 W BufferQueueProducer: [com.tencent.wework/com.tencent.wework.login.controller.QRScannerActivity#0]:1403: disconnect: not connected (req=1) 06-03 18:33:23.261 9222 14366 W libEGL : EGLNativeWindowType 0xb203eb08 disconnect failed 06-03 18:33:23.266 9222 9222 E RtgSchedManager: endActivityTransaction: margin state not match 06-03 18:33:23.345 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.346 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.347 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.354 54 54 W migration/7: type=1400 audit(0.0:315479): avc: granted { setsched } for pid=54 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=process 06-03 18:33:23.466 48 48 W migration/6: type=1400 audit(0.0:315480): avc: granted { setsched } for pid=48 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=process 06-03 18:33:23.863 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.960 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.961 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.961 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.961 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.962 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.962 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.963 9222 9222 E .tencent.wewor: No package ID ff found for ID 0xffffffff. 06-03 18:33:23.967 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.968 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.971 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.972 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.973 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.974 9222 9222 E .tencent.wewor: Invalid ID 0x00000000. 06-03 18:33:23.986 48 48 W migration/6: type=1400 audit(0.0:315481): avc: granted { setsched } for pid=48 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=process 06-03 18:33:24.099 9222 14290 W System : A resource failed to call end. 06-03 18:33:24.100 9222 14290 W System : A resource failed to call end. 06-03 18:33:24.179 5136 5136 W ContentSensor_AudioInfoTask: No need notify 06-03 18:33:24.180 5136 5136 W ContentSensor_AudioInfoTask: insert music info is empty 06-03 18:33:24.180 5136 5136 W ContentSensor_AudioInfoTask: insert music info is empty 06-03 18:33:24.428 2750 3139 E NetworkQoeChr: startTcpStackInfoStaticForChr failed, dnsInfoOpt is null 06-03 18:33:24.837 1076 4330 E Thermal-daemon:ambient: AmbientSample: write temp 29643 to ambient node
2021-06-03 - 开放平台申请移动应用必须上架大型应用市场吗?
app是企业内部的一个app, 希望使用微信分享等功能, 申请完之后被驳回, 理由如下 您的应用审核被驳回,请修改后提交,驳回原因为:你好,你提供的应用下载链接不规范或无法访问,审核不能通过,请重新提交有效的应用市场下载链接再行申请。 我有两个问题 我们应用是内部使用为主, 目前只放在我们自己做的一个下载地址, 我们的安卓应用是不是必须上架大型的应用市场, 并且贴该应用市场的下载页面?如果安卓上架了大型的应用市场, 我们IOS版本是使用的IOS企业版本, 这个是无法上架App Store的, 是不是IOS直接放可以下载安装包的链接即可, 还是说如果是IOS的企业版本的app就无法申请微信的移动应用?
2020-05-19 - IOS企业应用如何申请开放平台的移动应用?
ios企业应用app不会上架appstore没有AppStore下载地址, 开放平台无法申请移动应用, 请问ios的企业应用app就没法用微信功能吗
2020-05-14