修复iOS蓝牙扫描问题和权限问题
- iOS 跳过 Android 专属权限检查(bluetoothConnect/bluetoothScan) - iOS 跳过定位服务检查(iOS 蓝牙扫描不需要定位) - Info.plist 添加 NSBluetoothAlwaysUsageDescription 蓝牙权限 - Podfile 修复被污染内容并添加 CDN 源 - project.pbxproj 临时修改 Bundle ID 和 Team(适配当前开发环境)
This commit is contained in:
@@ -83,15 +83,10 @@
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<key>NSCameraUsageDescription</key>
|
||||
<string>需要使用相机</string>
|
||||
<key>NSMicrophoneUsageDescription</key>
|
||||
<string>需要使用麦克风</string>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoads</key>
|
||||
<true/>
|
||||
<!-- 蓝牙权限 -->
|
||||
<key>NSBluetoothAlwaysUsageDescription</key>
|
||||
<string>需要使用蓝牙连接设备</string>
|
||||
<key>NSBluetoothPeripheralUsageDescription</key>
|
||||
<string>需要使用蓝牙连接设备</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
Reference in New Issue
Block a user