ios权限字符串

This commit is contained in:
Caiyanpeng 2025-12-11 17:23:54 +08:00
parent f4d9189cc6
commit 31c191de2d

View File

@ -32,8 +32,18 @@
<key>NSAllowsLocalNetworking</key> <key>NSAllowsLocalNetworking</key>
<true/> <true/>
</dict> </dict>
<!-- iOS 13+ 需要的蓝牙权限 -->
<key>NSBluetoothAlwaysUsageDescription</key>
<string>我们需要使用蓝牙连接您的功率计设备</string>
<!-- iOS 12 及以下版本需要的蓝牙权限(向后兼容) -->
<key>NSBluetoothPeripheralUsageDescription</key>
<string>我们需要使用蓝牙连接您的功率计设备</string>
<!-- 位置权限Android 和某些 iOS 蓝牙扫描需要) -->
<key>NSLocationWhenInUseUsageDescription</key> <key>NSLocationWhenInUseUsageDescription</key>
<string></string> <string>我们需要位置权限来扫描附近的蓝牙功率计设备</string>
<key>UILaunchStoryboardName</key> <key>UILaunchStoryboardName</key>
<string>LaunchScreen</string> <string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key> <key>UIRequiredDeviceCapabilities</key>