微信苹果手机授权蓝牙弹框点击同意后,微信蓝牙授权自己去设置页面看了并未打开,调用wx.openBluetoothAdapter也返回10001,state:3.授权后蓝牙为什么实际没有打开呢?
wx.authorize({
scope: scope.bluetooth,
success () {
wx.openBluetoothAdapter({
success(res){
console.log("openBluetoothAdapter is success:"+JSON.stringify(res))
},
fail(res){
console.log("openBluetoothAdapter is fail:"+JSON.stringify(res))
}
})
}
https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/authorize.html