华为nova 5 Pro 微信版本7.0.22 Android 10 荣耀6X 微信版本7.0.22 Android 8.0.0 荣耀PALY4T 微信版本7.0.21 Android 10 没特殊使用,只是用wx.chooseImage把相机打开
使用wx.chooseImage 使用相机 部分机型无法唤起闪光灯https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.chooseImage.html
2021-01-14我这最近也是这样,天天挨骂,哎
使用wx.chooseImage 使用相机 部分机型无法唤起闪光灯 ?wx.chooseImage({ count: 1, sizeType: ['compressed'], //可选择原图或压缩后的图片 sourceType: ['camera'], //可选择性开放访问相册、相机 success: res => { const images = res.tempFilePaths this.setData({ images: images }) } 以华为为主
2021-01-11{"locationEnabled":true,"screenWidth":353,"benchmarkLevel":8,"screenHeight":706,"windowHeight":706,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.10","cameraAuthorized":true,"system":"Android 9","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3.0625,"notificationAuthorized":true,"model":"SKR-A0","statusBarHeight":36,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":353,"right":353,"top":0,"left":0,"bottom":706,"height":706},"brand":"blackshark","windowWidth":353,"screenTop":0,"platform":"android","SDKVersion":"2.9.3","devicePixelRatio":3.0625}
rmdirSync:fail Cannot assign to read only propertyrmdirSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }';at api request success callback function Error: rmdirSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }' at rmdirSync (https://lib/WASubContext.js:1:687302) at Object.e.<computed> (https://lib/WASubContext.js:1:691192) at Object.p.<computed> [as rmdirSync] (https://lib/WASubContext.js:1:1148486) at Object.m [as remove] (https://miniprogram:///utils/work-stage-cache.js:269:12) at _e.saveInvenroryAndDeleteFile (https://miniprogram:///pages/index/truck-tyre-inventory/truck-tyre-inventory.js:1010:31) at success (https://miniprogram:///pages/index/truck-tyre-inventory/truck-tyre-inventory.js:437:14) at success (https://miniprogram:///utils/request.js:72:11) at Object.o.<computed> (https://lib/WASubContext.js:1:1145922) at Function.<anonymous> (https://lib/WASubContext.js:1:434537) at C (https://lib/WASubContext.js:1:390000)
2020-04-03没人理,同样的每版第一次一定是不通过的,是不是审核的网络不行
每次提交审核第一次都不通过?[图片]每次发布版本,第一次什么都不通过,加载时报出request:fail Network Error,而用户使用和我们测试都没有出现。然后在什么也没有改动的情况下直接反馈回去,再审核就没什么问题,就通过了。这种现象几乎每次审核都是这样,实在找不出什么原因?
2020-01-12这是什么情况,文档里没看到有这种错误
rmdirSync:fail Cannot assign to read only propertyrmdirSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }';at api showModal success callback function Error: rmdirSync:fail Cannot assign to read only property 'stackTraceLimit' of function 'function Error() { [native code] }' at rmdirSync (https://lib/WASubContext.js:1:687302) at Object.e.<computed> (https://lib/WASubContext.js:1:691192) at Object.p.<computed> [as rmdirSync] (https://lib/WASubContext.js:1:1148486) at Object.d [as remove] (https://miniprogram:///utils/work-stage-cache.js:197:10) at success (https://miniprogram:///pages/index/truck-tyre-service-action/truck-tyre-service-action.js:1968:26) at Object.o.<computed> (https://lib/WASubContext.js:1:1145922) at Function.<anonymous> (https://lib/WASubContext.js:1:434537) at r (https://lib/WASubContext.js:1:387003) at https://lib/WASubContext.js:1:387180 at v (https://lib/WASubContext.js:1:387189) 机型信息: {"locationEnabled":true,"screenWidth":360,"benchmarkLevel":9,"screenHeight":718,"windowHeight":718,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.9","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"vivo Y85A","statusBarHeight":28,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":28,"left":0,"bottom":718,"height":690},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.3","devicePixelRatio":3}
2019-12-31现在有10页这样的错误 AppId:wxfce6e49034fee8c5 ,手机:小米3
readFileSync:fail permission denied从今天突然开始报以下错误: readFileSync:fail permission denied, open "wxfile://tmp_bdc7edf2cab975206a19330487c20a2d568705431632dfa7.jpg";at api getImageInfo success callback function Error: readFileSync:fail permission denied, open "wxfile://tmp_bdc7edf2cab975206a19330487c20a2d568705431632dfa7.jpg" at readFileSync (https://lib/WAService.js:2:807962) at Object.e.<computed> [as readFileSync] (https://lib/WAService.js:2:813099) at success (https://miniprogram:///utils/image-util.js:20:47) at Function.o.<computed> (https://lib/WAService.js:2:1291047) at Object.success (https://lib/WAService.js:2:116851) at b (https://lib/WAService.js:2:497329) at v (https://lib/WAService.js:2:497567) at https://lib/WAService.js:2:499091 at Object.g (https://lib/WAService.js:2:72770)
2019-12-28我有两个小程序:一个退至后台,过一段时间就销毁,另一个退至后台一直没有销毁。看不出是什么规律?
小程序退出至后台,多久会自动销毁掉?如题,5分钟实测并未重启
2019-12-24[图片] 这个型号的手机也是这样
小程序升级后readFileSync:fail no such file or directory小程序升级后,读取文件报错:[图片] 每次升级100%会重现,冷启动后就能读取到了。
2019-11-14我也遇到了:第一张是正常效果,第二、三张就乱了。Android和iOS都出现过,不一定和性能有关! [图片] [图片][图片]
canvas绘图样式出错,京东购物也是这样![图片] [图片] 我们最近在绘制canvas的时候,发现在安卓手机上有时候会出现canvas绘制出来的样式会错乱的问题。 在安卓手机上点多几次都会复现。在IOS手机下没有这个问题。 [图片] 文档中的setFontSize改成了ctx.font,但是在手机上无法展示效果,文档也找不到在哪里。 [图片] 通过搜索才发现是跳转到之前的文档。但是之前的文档也没找到fillStyle这个属性,只有setFillStyle。 希望官方能解答一下这个关于canvas的问题。
2019-10-23现在还没有,关注中。。。。
chooseImage compressed 能否不去除拍摄信息现在手机拍摄的照片越来越大 wx.chooseImage sizeType: ['compressed'] 的确很好用 能很大程度的提高上传速度。 但也有问题。 图片的附加信息被删除了 拍摄的ExifInterface 也被清除了。 我们有个特殊应用 如违章举报 ! 服务器可分析照片的额外参数 获取图片的 真实拍摄时间,拍摄经纬度地点。 sizeType: ['compressed'] 后都没有了。 而上传原图 的确太大 太慢。 或者 wx.getImageInfo 让其获取更多参数。
2019-05-29