我在调用wx.chooseLocation的时候,新用户(或者最近使用的小程序中删除也有同样的效果)访问,第一次发起userLocation授权,同意授权结束后,无法紧接着调用wx.chooseLocation(隐私已经提交更新,接口已申请),提示
{errMsg: "chooseLocation:fail api scope is not declared in the privacy agreement", errno: 112}
这个时候只需要关闭小程序重新打开小程序,就可以正常调用wx.chooseLocation。
代码片段如下:
wx.authorize({
scope: 'scope.userLocation',
success(res) {
console.log(res);
wx.chooseLocation({
success: function (res) {
//业务代码
},
fail:function(res){
console.log(res)
}
});
},

你这个提示语,就是说没有同意用户隐私保护协议
我的隐私协议已经添加了获取你选择的位置信息,并且也已经审核通过了,但还是报错{errMsg: "chooseLocation:fail api scope is not declared in the privacy agreement", errno: 112}
确保这个声明在里面,更新隐式权限并且确保审核完毕(我的这个还在审核中)。
你好,这个问题解决了嘛
各位大佬,这个问题有解决掉吗
楼主这个问题解决了吗?
隐私保护指引,检查一下线上版本,在提交审核的按钮上方,点击更新查看