如题,按接口文档(https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getSystemInfoSync.html),getSystemInfoSync反回的各种locationAuthorized、cameraAuthorized、microphoneAuthorized等数据类型应该为boolean,但是华为的某些机型上返回的是字符串的"authorized",导致后续后端处理流程,强校验字段类型报错。
2 个回答
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
厂商: HUAWEI
系统:Android 12
微信版本:8.0.60
SDK版本:3.8.10
代码片段:wx.getSystemInfoSync()
7月4号开始出现这个问题,请官方尽快答复