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

Bluetooth Permission Request Alert in iOS 13, Yet App Doesn't Use Bluetooth

当我 运行 我的应用程序在 iOS 13 上时,我收到蓝牙权限请求警报弹出。我已经搜索了该项目,但其中无处可寻,或者 pods 正在以任何方式导入或调用 CoreBluetooth

我确实有一些第三方库,它们似乎无法访问蓝牙。什么可能导致此权限警报?

Bugsee 团队成员在此。

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

我最后检查了一下,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)