react-native-visit-rn-sdk 5.0.1 → 5.0.2
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
CHANGED
|
@@ -20,6 +20,18 @@ import VisitRnSdkView from "react-native-visit-rn-sdk";
|
|
|
20
20
|
|
|
21
21
|
### Video Calling
|
|
22
22
|
|
|
23
|
+
`react-native-visit-rn-sdk` declares [`@twilio/video-react-native-sdk`](https://www.npmjs.com/package/@twilio/video-react-native-sdk) as a **peer dependency**. Install the matching version in your app:
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
npm install @twilio/video-react-native-sdk@3.5.0
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Or with Yarn:
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
yarn add @twilio/video-react-native-sdk@3.5.0
|
|
33
|
+
```
|
|
34
|
+
|
|
23
35
|
Required native permissions in the host app:
|
|
24
36
|
- Android (`AndroidManifest.xml`)
|
|
25
37
|
```xml
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
|
|
2
|
+
xmlns:tools="http://schemas.android.com/tools"
|
|
3
|
+
package="com.visitrnsdk">
|
|
4
|
+
|
|
5
|
+
<uses-permission
|
|
6
|
+
android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"
|
|
7
|
+
tools:node="remove" />
|
|
3
8
|
</manifest>
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
xmlns:tools="http://schemas.android.com/tools">
|
|
3
|
+
|
|
4
|
+
<uses-permission
|
|
5
|
+
android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"
|
|
6
|
+
tools:node="remove" />
|
|
2
7
|
</manifest>
|