版本
jsweixin-1.4.0
代码示例
https://codepen.io/wangerniu/project/editor/XxqeKw
复现步骤
小程序中使用webview,嵌套H5页面
给H5页面中的按钮挂载点击事件,使用wx.miniprogram.navigateTo API跳转到原生页面
偶现跳转失败
期望结果
期望官方跟进一下这个问题,查明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
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
同样的问题