@applooma/rtc-react-native 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +3 -5
package/README.md
CHANGED
|
@@ -8,12 +8,14 @@ Full documentation: **https://docs.applooma.dev/sdk/react-native**
|
|
|
8
8
|
## Install
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npm install @applooma/rtc-react-native
|
|
11
|
+
npm install @applooma/rtc-react-native @applooma/rtc-native-core @applooma/rtc-native-webrtc
|
|
12
12
|
cd ios && pod install
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
All three are needed. React Native's autolinking only looks at your app's own
|
|
16
|
+
dependencies and never at what those depend on, so the two native packages have
|
|
17
|
+
to be installed by name — listing them as dependencies of the SDK would leave
|
|
18
|
+
them unlinked. Rebuild the app afterwards; reloading the JavaScript bundle is
|
|
17
19
|
not enough.
|
|
18
20
|
|
|
19
21
|
React Native 0.73 or newer and React 18 or newer are peer dependencies.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applooma/rtc-react-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "AppLooma RTC React Native SDK \u2014 real-time voice, video, live streaming and audio rooms",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AppLooma LLC",
|
|
@@ -18,11 +18,9 @@
|
|
|
18
18
|
"build": "tsup",
|
|
19
19
|
"typecheck": "tsc --noEmit"
|
|
20
20
|
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@applooma/rtc-native-core": "^2.12.0",
|
|
23
|
-
"@applooma/rtc-native-webrtc": "^144.1.2"
|
|
24
|
-
},
|
|
25
21
|
"peerDependencies": {
|
|
22
|
+
"@applooma/rtc-native-core": "^2.12.0",
|
|
23
|
+
"@applooma/rtc-native-webrtc": "^144.1.2",
|
|
26
24
|
"react": ">=18",
|
|
27
25
|
"react-native": ">=0.73"
|
|
28
26
|
},
|