收藏
回答

小程序开发版蓝牙连接正常,正式版本连接不了蓝牙?

小程序上传前真机测试是正常的,蓝牙功能也未报错,上传发表后,就提示蓝牙未打开错误。手机已经打开了蓝牙。

小程序:佑富雷达水位计

{

"pages": [

"pages/radar-list/radar-list",

"pages/radar-control/radar-control",

"pages/water-control/water-control",

"pages/water-control-2/water-control-2",

"pages/flow-control/flow-control",

"pages/volume-control/volume-control"

],

"window": {

"backgroundTextStyle": "light",

"navigationBarBackgroundColor": "#f0f7fc",

"navigationBarTitleText": "雷达蓝牙",

"navigationBarTextStyle": "black"

},

"permission": {

"scope.bluetoothState": {

"desc": "请允许我们访问蓝牙,以便为您提供服务。"

}

},

"requiredBackgroundModes": [

"audio",

"location",

"bluetooth"

],

"sitemapLocation": "sitemap.json"

}


回答关注问题邀请回答
收藏
登录 后发表内容