瀏覽代碼

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,6 +203,10 @@ If you need to submit your application to the AppStore, you need to add to your
203 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 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 210
 <key>NSBluetoothPeripheralUsageDescription</key>
207 211
 <string>Some description</string>
208 212
 <key>NSCalendarsUsageDescription</key>