累计有几个用户反馈选择相册照片报错,大部分用户都是正常的,隐私协议是正常的,还联系了一个用户把他加为开发者体验我的调试版小程序,发现又好了,就没法复现了,后来我在前端加了报错就把err信息和system信息传给后端打印,一会就抓到了几个,如下:
"err": {
"errMsg": "chooseMedia:fail"
},
"system": {
"screenWidth": 360,
"cpuType": "MT6768V/CA",
"phoneCalendarAuthorized": true,
"windowHeight": 659,
"bluetoothEnabled": false,
"language": "zh_CN",
"microphoneAuthorized": true,
"fontSizeScaleFactor": 1,
"locationAuthorized": true,
"notificationAuthorized": true,
"model": "V1913A",
"statusBarHeight": 28,
"safeArea": {
"width": 360,
"right": 360,
"top": 25,
"left": 0,
"bottom": 780,
"height": 755
},
"brand": "vivo",
"windowWidth": 360,
"locationEnabled": true,
"benchmarkLevel": 20,
"screenHeight": 780,
"abi": "arm64-v8a",
"version": "8.0.42",
"cameraAuthorized": true,
"deviceAbi": "arm64-v8a",
"system": "Android 9",
"memorySize": 5701,
"fontSizeSetting": 16,
"pixelRatio": 3,
"deviceOrientation": "portrait",
"wifiEnabled": true,
"screenTop": 71,
"platform": "android",
"SDKVersion": "3.1.5",
"enableDebug": false,
"devicePixelRatio": 3,
"host": {
"env": "WeChat",
"version": 671099480
},
"mode": "default",
"deviceId": 1.7111615189494456e+19,
"safeAreaInsets": {
"top": 25,
"left": 0,
"right": 0,
"bottom": 0
},
"appId": "",
"appName": "******",
"appVersion": "1.0.0",
"appVersionCode": 100,
"appLanguage": "zh-Hans",
"uniCompileVersion": 3.94,
"uniRuntimeVersion": 3.94,
"uniPlatform": "mp-weixin",
"deviceBrand": "vivo",
"deviceModel": "V1913A",
"deviceType": "phone",
"osName": "android",
"osVersion": 9,
"hostVersion": "8.0.42",
"hostLanguage": "zh-CN",
"hostName": "WeChat",
"hostSDKVersion": "3.1.5",
"hostFontSizeSetting": 16,
"windowTop": 0,
"windowBottom": 0
}
另一个:
"err": {
"errMsg": "chooseMedia:fail"
},
"system": {
"screenWidth": 367,
"cpuType": "SM7450",
"phoneCalendarAuthorized": true,
"windowHeight": 685,
"bluetoothEnabled": true,
"language": "zh_CN",
"microphoneAuthorized": true,
"fontSizeScaleFactor": 1,
"locationAuthorized": true,
"notificationAuthorized": true,
"model": "REA-AN00",
"statusBarHeight": 34,
"safeArea": {
"width": 367,
"right": 367,
"top": 34,
"left": 0,
"bottom": 814,
"height": 780
},
"brand": "HONOR",
"windowWidth": 367,
"locationEnabled": true,
"benchmarkLevel": 23,
"screenHeight": 814,
"abi": "arm64-v8a",
"version": "8.0.47",
"cameraAuthorized": true,
"deviceAbi": "arm64-v8a",
"system": "Android 13",
"memorySize": 15299,
"fontSizeSetting": 16,
"pixelRatio": 3.275,
"deviceOrientation": "portrait",
"wifiEnabled": true,
"screenTop": 78,
"platform": "android",
"SDKVersion": "3.3.4",
"enableDebug": false,
"devicePixelRatio": 3.275,
"host": {
"env": "WeChat",
"version": 671100752
},
"mode": "default",
"deviceId": 1.7111637217642721e+19,
"safeAreaInsets": {
"top": 34,
"left": 0,
"right": 0,
"bottom": 0
},
"appId": "",
"appName": "*****",
"appVersion": "1.0.0",
"appVersionCode": 100,
"appLanguage": "zh-Hans",
"uniCompileVersion": 3.94,
"uniRuntimeVersion": 3.94,
"uniPlatform": "mp-weixin",
"deviceBrand": "honor",
"deviceModel": "REA-AN00",
"deviceType": "phone",
"osName": "android",
"osVersion": 13,
"hostVersion": "8.0.47",
"hostLanguage": "zh-CN",
"hostName": "WeChat",
"hostSDKVersion": "3.3.4",
"hostFontSizeSetting": 16,
"windowTop": 0,
"windowBottom": 0
}
你好,麻烦在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,时间点
目前了解到的信息不多,目前看system信息,手机是华为荣耀和vivo