收藏
回答

webview中使用微信sdk拍照、选择图片闪退,导致小程序崩溃

问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 小程序 Bug web-view 微信iOS客户端 7.0.7,7.0.4,7.0.8,7.0.9 2.1.0

webview微信sdk版本

1.3.2

appid

wx08ed3dc45df80a37

复现步骤

  1. 小程序中使用webview,嵌套H5页面
  2. H5页面中只用微信sdk 拍照或者选择相册中的图片
  3. 偶现小程序崩溃

期望结果

期望官方跟进一下这个问题,webview偶现拍照选择照片崩溃的原因,或者给出hack修复方案。

用户反馈失效UA

Mozilla/5.0 (Linux; Android 6.0; HUAWEI NXT-AL10 Build/HUAWEINXT-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/778 MMWEBSDK/190301 Mobile Safari/537.36 MMWEBID/3002 MicroMessenger/7.0.4.1420(0x2700043C) Process/appbrand0 NetType/4G Language/zh_CN miniProgram


Mozilla/5.0 (iPhone; CPU iPhone OS 11_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15F79 MicroMessenger/7.0.4(0x17000428) NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 5.1.1; PLE-703L Build/HuaweiMediaPad; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/882 MMWEBSDK/190505 Mobile Safari/537.36 MMWEBID/2459 MicroMessenger/7.0.5.1440(0x27000537) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 6.0; DIG-AL00 Build/HUAWEIDIG-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/882 MMWEBSDK/190301 Mobile Safari/537.36 MMWEBID/2566 MicroMessenger/7.0.4.1420(0x270004C9) Process/appbrand0 NetType/4G Language/zh_CN miniProgram


Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.5(0x17000523) NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 6.0.1; ATH-AL00 Build/HONORATH-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/882 MMWEBSDK/190506 Mobile Safari/537.36 MMWEBID/120 MicroMessenger/7.0.6.1460(0x27000634) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (iPhone; CPU iPhone OS 12_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.3(0x17000321) NetType/4G Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 9; Redmi 6 Pro Build/PKQ1.180917.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/882 MMWEBSDK/190506 Mobile Safari/537.36 MMWEBID/5984 MicroMessenger/7.0.6.1460(0x27000634) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 5.1; HUAWEI RIO-TL00 Build/HUAWEIRIO-TL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/882 MMWEBSDK/190505 Mobile Safari/537.36 MMWEBID/4620 MicroMessenger/7.0.5.1440(0x27000537) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 9; MHA-TL00 Build/HUAWEIMHA-TL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/986 MMWEBSDK/190701 Mobile Safari/537.36 MMWEBID/7658 MicroMessenger/7.0.7.1521(0x27000736) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 9; vivo X21i A Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/992 MMWEBSDK/190703 Mobile Safari/537.36 MMWEBID/4390 MicroMessenger/7.0.7.1521(0x2700073A) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 6.0; NCE-AL10 Build/HUAWEINCE-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/992 MMWEBSDK/190703 Mobile Safari/537.36 MMWEBID/1908 MicroMessenger/7.0.7.1521(0x2700073A) Process/appbrand0 NetType/WIFI Language/zh_CN miniProgram


Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/7.0.4(0x17000428) NetType/4G Language/zh_CN miniProgram


Mozilla/5.0 (Linux; Android 9; MI 9 SE Build/PKQ1.181121.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/992 MMWEBSDK/191001 Mobile Safari/537.36 MMWEBID/8313 MicroMessenger/7.0.8.1540(0x27000834) Process/appbrand2 NetType/WIFI Language/zh_CN ABI/arm64 miniProgram


Mozilla/5.0 (Linux; Android 9; HWI-TL00 Build/HUAWEIHWI-TL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/992 MMWEBSDK/191001 Mobile Safari/537.36 MMWEBID/3548 MicroMessenger/7.0.8.1540(0x27000834) Process/appbrand2 NetType/4G Language/zh_CN ABI/arm64 miniProgram


Mozilla/5.0 (Linux; Android 9; MI 8 SE Build/PKQ1.181121.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/67.0.3396.87 XWEB/1050 MMWEBSDK/191102 Mobile Safari/537.36 MMWEBID/1147 MicroMessenger/7.0.9.1560(0x27000935) Process/appbrand2 NetType/WIFI Language/zh_CN ABI/arm64 miniProgram

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容
问题标签