瀏覽代碼

Add NSBluetoothAlwaysUsageDescription for iOS 13

Need to add NSBluetoothAlwaysUsageDescription for iOS 13
Jessica 5 年之前
父節點
當前提交
25d6396ada
No account linked to committer's email address
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      README.md

+ 4
- 0
README.md 查看文件

203
 So before submitting your app to the App Store, make sure that in your `Info.plist` you have the following keys:
203
 So before submitting your app to the App Store, make sure that in your `Info.plist` you have the following keys:
204
 
204
 
205
 ```xml
205
 ```xml
206
+<key>NSBluetoothAlwaysUsageDescription</key>
207
+<string>Some description</string>
208
+<!-- only need peripheral if target is less than iOS 13 -->
209
+<!-- https://developer.apple.com/documentation/bundleresources/information_property_list/nsbluetoothperipheralusagedescription -->
206
 <key>NSBluetoothPeripheralUsageDescription</key>
210
 <key>NSBluetoothPeripheralUsageDescription</key>
207
 <string>Some description</string>
211
 <string>Some description</string>
208
 <key>NSCalendarsUsageDescription</key>
212
 <key>NSCalendarsUsageDescription</key>