startBeaconDiscovery用IOS取到的RSSI值,一直为0
- 当前 Bug 的表现(可附上截图)在IPhone6、IPhone7下取到的RSSI值始终为0,,安卓下正常
-
预期表现
-
复现路径
-
提供一个最简复现 Demo:
const app = getApp();
var beaconsUUID = [“11111111-1111-1111-1111-111111111109”, “11111111-1111-1111-1111-111111111102”, “11111111-1111-1111-1111-111111111107”, “11111111-1111-1111-1111-111111111106”, “11111111-1111-1111-1111-111111111103”, “11111111-1111-1111-1111-111111111104”, “11111111-1111-1111-1111-111111111105”, “11111111-1111-1111-1111-111111111108”, “11111111-1111-1111-1111-111111111110”,
“11111111-1111-1111-1111-111111111111”, “11111111-1111-1111-1111-111111111113”,
“11111111-1111-1111-1111-111111111114”];
Page({
onLoad: function () {
wx.startBeaconDiscovery({
uuids: beaconsUUID,
success(res) {
wx.onBeaconUpdate((res) => {
console.log(res)
})
},
fail(res) {
}
})
}
})
