Flutter_blue使用,IOS端运行崩溃的问题

2020-08-07  本文已影响0人  码字与律动

报错提示:

This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSBluetoothAlwaysUsageDescription key with a string value explaining to the user how the app uses this data.

意思就是说,这个应用崩溃了,因为它试图在用户未允许的情况下访问隐私数据,如果要访问隐私数据,需要在Info.plist文件加上keyNSBluetoothAlwaysUsageDescription的权限。

上一篇 下一篇

猜你喜欢

热点阅读