个人案例
- 劲胜前程+
用户公司招聘等
劲胜前程+扫码体验
怎么解决的 分离一下思路。
vue开发网页时,企业微信中网页授权时redirect_url带有#号跳转不正确我们开发的是企业微信中的网页应用程序,使用vue写的,因为vue访问页面路径是带有#的,发现了企业微信中网页授权时redirect_url带有#号跳转不正确,查遍社区的方法urlencode一下 redirect_url试了没用。【查询网上另外的方法去掉vue的#,这个操作麻烦,要后台配合,我前端的后台太忙不搭理人。】请问有没有其他方法解决,redirect_url带有#号跳转不正确的问题。
2022-09-14我们这这也出现了这样的问题,希望企业微信能尽快修复此问题啊。
企业微信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-05