iOS 13中的蓝牙权限请求警报,但应用程序未使用蓝牙

时间:2019-08-19 17:20:02

标签: ios swift iphone bluetooth ios13

当我在iOS 13上运行我的应用程序时,会弹出蓝牙许可请求警报。我已经搜索了该项目,但其中没有CoreBluetooth被导入或以任何方式调用的项目。

我确实有一些第三方库,这些第三方库似乎没有访问蓝牙。是什么导致此权限警报?

2 个答案:

答案 0 :(得分:1)

Bugsee团队成员在这里。

在最新版本的iOS SDK中,我们添加了BugseeMonitorBluetoothStatusKey启动选项(有关更多信息,请参见https://docs.bugsee.com/sdk/ios/configuration/),默认情况下此选项设置为NO。因此,为防止弹出该对话框,请确保您使用的是最新的SDK,并且未设置该选项。

答案 1 :(得分:0)

上次检查时,iOS的最新稳定版本中没有BugseeMonitorBluetoothStatusKey。所以我必须做这样的事情:

let options = BugseeOptions.default()
// Bluetooth is now off by default, but if you wanted to manually tweak it, set this
options.monitorBluetoothStatus = false 
Bugsee.launch(token:"your token goes here", options: options)