wx.authorize({
scope: "scope.record",
success () {
that.start();
},
fail () {
wx.showModal({
title: "",
content: auth_fail_message,
showCancel: true,
confirmColor: "#034d8a",
confirmText: "去授权",
success: function (res) {
console.log("res:", res);
if (res.confirm) {
wx.openSetting({
success: (e) => {
console.log("授权打开成功", e);
},
fail: (e) => {
console.log("授权打开失败", e);
}
})
}
}
})
}
})
小程序需要申请手机麦克风授权,但是手机打开授权页面,没有授权麦克风权限选项,导致无法正常授权麦克风
更新下用户隐私协议然后再试试
手机打开授权页面是这样的,没有授权麦克风选项