wx.miniprogram.navigateTo,安卓手机偶现失效?
发布于 7 年前 作者 qiang75 9146 次浏览 来自 官方Issues

版本

jsweixin-1.4.0

代码示例

https://codepen.io/wangerniu/project/editor/XxqeKw

复现步骤

  1. 小程序中使用webview,嵌套H5页面

  2. 给H5页面中的按钮挂载点击事件,使用wx.miniprogram.navigateTo API跳转到原生页面

  3. 偶现跳转失败

期望结果

期望官方跟进一下这个问题,查明wx.miniprogram.navigateTo偶现跳转失败的原因,或者给出hack修复方案。

用户反馈失效的UA

Mozilla/5.0 (Linux; Android 9; JKM-AL00 Build/HUAWEIJKM-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/992 MMWEBSDK/191001 Mobile Safari/537.36 MMWEBID/6085 MicroMessenger/7.0.8.1540(0x27000834) Process/appbrand0 NetType/WIFI Language/zh_CN ABI/arm64 miniProgram

Mozilla/5.0 (Linux; Android 8.1.0; JKM-AL00b Build/HUAWEIJKM-AL00b; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/992 MMWEBSDK/190102 Mobile Safari/537.36 MMWEBID/2093 MicroMessenger/7.0.3.1400(0x2700033C) Process/appbrand2 NetType/4G Language/zh_CN miniProgram

Mozilla/5.0 (Linux; Android 9; HWI-AL00 Build/HUAWEIHWI-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/986 MMWEBSDK/190507 Mobile Safari/537.36 MMWEBID/9146 MicroMessenger/7.0.6.1500(0x2700063E) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram

3 回复

Mozilla/5.0 (Linux; Android 9; ELE-AL00 Build/HUAWEIELE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/778 MMWEBSDK/190301 Mobile Safari/537.36 MMWEBID/1683 MicroMessenger/7.0.4.1420(0x2700043C) Process/appbrand2 NetType/4G Language/zh_CN miniProgram

Mozilla/5.0 (Linux; Android 9; HWI-AL00 Build/HUAWEIHWI-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/986 MMWEBSDK/190507 Mobile Safari/537.36 MMWEBID/9146 MicroMessenger/7.0.6.1500(0x2700063E) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram

同样的问题

你好,麻烦提供下appid,具体描述下问题复现的步骤,复现时,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点

回到顶部