Skip to content

Commit cad423c

Browse files
committed
Add additional information to the README file.
1 parent f07438b commit cad423c

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

Diff for: README.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@ What this library does NOT support:
3030

3131
## Compatibility
3232

33-
| React Native | 1.0.3 | 1.1.0 |
34-
| ------------- | ------------------ | ------------------ |
35-
| 0.60.5 | :white_check_mark: | :white_check_mark: |
36-
| 0.59.10 | :white_check_mark: | :white_check_mark: |
37-
| 0.58.6 | :white_check_mark: | :white_check_mark: |
38-
| 0.57.8 | :white_check_mark: | :white_check_mark: |
39-
| 0.56.1 | :boom:<sup>1</sup> | :boom:<sup>1</sup> |
40-
| 0.55.4 | :boom:<sup>1</sup> | :boom:<sup>1</sup> |
33+
| React Native | 1.0.3 | 1.1.0 |
34+
| ------------- | ------------------------------ | ------------------------------ |
35+
| 0.60.5 | :white_check_mark:<sup>2</sup> | :white_check_mark:<sup>2</sup> |
36+
| 0.59.10 | :white_check_mark: | :white_check_mark: |
37+
| 0.58.6 | :white_check_mark: | :white_check_mark: |
38+
| 0.57.8 | :white_check_mark: | :white_check_mark: |
39+
| 0.56.1 | :boom:<sup>1</sup> | :boom:<sup>1</sup> |
40+
| 0.55.4 | :boom:<sup>1</sup> | :boom:<sup>1</sup> |
4141

4242
<sup>1</sup> fails on Android, although might work after updating gradle
4343

44+
<sup>2</sup> may require usage of `jetifier` on Android and migration to `CocoaPods` on iOS.
45+
4446
## Recent Changes
4547

4648
**1.1.0**
@@ -67,7 +69,7 @@ Contact us at [Gitter](https://gitter.im/RxBLELibraries/react-native-ble) if you
6769
1. Make sure your Expo project is ejected (formerly: detached). You can read how to do it [here](https://docs.expo.io/versions/v32.0.0/expokit/eject/) and [here](https://docs.expo.io/versions/latest/expokit/expokit). (only for expo)
6870
2. `npm install --save react-native-ble-plx`
6971
3. `react-native link react-native-ble-plx`
70-
4. Add empty Swift file if you don't have at least one:
72+
4. Open Xcode workspace located inside `ios` folder and add empty Swift file if you don't have at least one:
7173
- Select File/New/File...
7274
- Choose Swift file and click Next.
7375
- Name it however you want, select your application target and create it.
@@ -83,12 +85,13 @@ Contact us at [Gitter](https://gitter.im/RxBLELibraries/react-native-ble) if you
8385
- In your application target go to `Capabilities` tab and enable `Uses Bluetooth LE Accessories` in
8486
`Background Modes` section.
8587
- Pass `restoreStateIdentifier` and `restoreStateFunction` to `BleManager` constructor.
88+
9. Starting from iOS 13 add `NSBluetoothAlwaysUsageDescription` in `info.plist` file.
8689

8790
### iOS (react-native < 0.60, [example setup](https://github.com/Cierpliwy/SensorTag/tree/rn59))
8891

8992
1. `npm install --save react-native-ble-plx`
9093
2. `react-native link react-native-ble-plx`
91-
3. Add empty Swift file if you don't have at least one:
94+
3. Open Xcode project located inside `ios` folder and add empty Swift file if you don't have at least one:
9295
- Select File/New/File...
9396
- Choose Swift file and click Next.
9497
- Name it however you want, select your targets and create it.
@@ -99,6 +102,7 @@ Contact us at [Gitter](https://gitter.im/RxBLELibraries/react-native-ble) if you
99102
- In your application target go to `Capabilities` tab and enable `Uses Bluetooth LE Accessories` in
100103
`Background Modes` section.
101104
- Pass `restoreStateIdentifier` and `restoreStateFunction` to `BleManager` constructor.
105+
6. Starting from iOS 13 add `NSBluetoothAlwaysUsageDescription` in `info.plist` file.
102106

103107
### Android ([example setup](https://github.com/Cierpliwy/SensorTag))
104108

0 commit comments

Comments
 (0)