You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<sup>1</sup> fails on Android, although might work after updating gradle
43
43
44
+
<sup>2</sup> may require usage of `jetifier` on Android and migration to `CocoaPods` on iOS.
45
+
44
46
## Recent Changes
45
47
46
48
**1.1.0**
@@ -67,7 +69,7 @@ Contact us at [Gitter](https://gitter.im/RxBLELibraries/react-native-ble) if you
67
69
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)
68
70
2.`npm install --save react-native-ble-plx`
69
71
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:
71
73
- Select File/New/File...
72
74
- Choose Swift file and click Next.
73
75
- 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
83
85
- In your application target go to `Capabilities` tab and enable `Uses Bluetooth LE Accessories` in
84
86
`Background Modes` section.
85
87
- Pass `restoreStateIdentifier` and `restoreStateFunction` to `BleManager` constructor.
88
+
9. Starting from iOS 13 add `NSBluetoothAlwaysUsageDescription` in `info.plist` file.
0 commit comments