Browse Source

Add NSBluetoothAlwaysUsageDescription for iOS 13

Need to add NSBluetoothAlwaysUsageDescription for iOS 13
Jessica 5 years ago
parent
commit
25d6396ada
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      README.md

+ 4
- 0
README.md View File

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>