繁体   English   中英

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

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

当我在 iOS 13 上运行我的应用程序时,我收到了弹出的蓝牙权限请求警报。 我已经搜索了该项目,但在其中或 pod 中没有任何地方导入或调用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)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM