Skip to content

Commit d7de755

Browse files
committed
examples: update the minimum iOS version to 10.2 and add new Bluetooth keys
- New keys are required to allow the examples to use Bluetooth. Signed-off-by: Diego Escalona <[email protected]>
1 parent 69e77c9 commit d7de755

File tree

4 files changed

+20
-4
lines changed
  • examples/xamarin
    • BleConfigurationSample/BleConfigurationSample.iOS
    • BleMicroPythonSample/BleMicroPythonSample.iOS
    • BleMicrocontrollerSample/BleMicrocontrollerSample.iOS
    • RelayConsoleSample/RelayConsoleSample.iOS

4 files changed

+20
-4
lines changed

examples/xamarin/BleConfigurationSample/BleConfigurationSample.iOS/Info.plist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<string>UIInterfaceOrientationLandscapeRight</string>
2222
</array>
2323
<key>MinimumOSVersion</key>
24-
<string>8.0</string>
24+
<string>10.2</string>
2525
<key>CFBundleDisplayName</key>
2626
<string>XBee BLE Configuration Sample</string>
2727
<key>CFBundleIdentifier</key>
@@ -34,5 +34,9 @@
3434
<string>BleConfigurationSample</string>
3535
<key>XSAppIconAssets</key>
3636
<string>Assets.xcassets/AppIcon.appiconset</string>
37+
<key>NSBluetoothPeripheralUsageDescription</key>
38+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
39+
<key>NSBluetoothAlwaysUsageDescription</key>
40+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
3741
</dict>
3842
</plist>

examples/xamarin/BleMicroPythonSample/BleMicroPythonSample.iOS/Info.plist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<string>UIInterfaceOrientationLandscapeRight</string>
2222
</array>
2323
<key>MinimumOSVersion</key>
24-
<string>8.0</string>
24+
<string>10.2</string>
2525
<key>CFBundleDisplayName</key>
2626
<string>XBee BLE MicroPython Sample</string>
2727
<key>CFBundleIdentifier</key>
@@ -34,5 +34,9 @@
3434
<string>BleMicroPythonSample</string>
3535
<key>XSAppIconAssets</key>
3636
<string>Assets.xcassets/AppIcon.appiconset</string>
37+
<key>NSBluetoothPeripheralUsageDescription</key>
38+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
39+
<key>NSBluetoothAlwaysUsageDescription</key>
40+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
3741
</dict>
3842
</plist>

examples/xamarin/BleMicrocontrollerSample/BleMicrocontrollerSample.iOS/Info.plist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<string>UIInterfaceOrientationLandscapeRight</string>
2222
</array>
2323
<key>MinimumOSVersion</key>
24-
<string>8.0</string>
24+
<string>10.2</string>
2525
<key>CFBundleDisplayName</key>
2626
<string>XBee BLE Microcontroller Sample</string>
2727
<key>CFBundleIdentifier</key>
@@ -34,5 +34,9 @@
3434
<string>BleMicrocontrollerSample</string>
3535
<key>XSAppIconAssets</key>
3636
<string>Assets.xcassets/AppIcon.appiconset</string>
37+
<key>NSBluetoothPeripheralUsageDescription</key>
38+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
39+
<key>NSBluetoothAlwaysUsageDescription</key>
40+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
3741
</dict>
3842
</plist>

examples/xamarin/RelayConsoleSample/RelayConsoleSample.iOS/Info.plist

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<string>UIInterfaceOrientationLandscapeRight</string>
2222
</array>
2323
<key>MinimumOSVersion</key>
24-
<string>8.0</string>
24+
<string>10.2</string>
2525
<key>CFBundleDisplayName</key>
2626
<string>XBee Relay Console Sample</string>
2727
<key>CFBundleIdentifier</key>
@@ -34,5 +34,9 @@
3434
<string>RelayConsoleSample</string>
3535
<key>XSAppIconAssets</key>
3636
<string>Assets.xcassets/AppIcon.appiconset</string>
37+
<key>NSBluetoothPeripheralUsageDescription</key>
38+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
39+
<key>NSBluetoothAlwaysUsageDescription</key>
40+
<string>Example app needs Bluetooth access to discover nearby XBee devices.</string>
3741
</dict>
3842
</plist>

0 commit comments

Comments
 (0)