-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(react-native): tutorial fixes (#1008)
- Loading branch information
1 parent
c76f133
commit 544ba70
Showing
1 changed file
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,15 +34,19 @@ cd AudioRoomExample | |
In order to install the Stream Video React Native SDK, run the following command in your terminal of choice: | ||
|
||
```bash title=Terminal | ||
yarn add @stream-io/video-react-native-sdk | ||
yarn add @stream-io/video-react-native-sdk @stream-io/react-native-webrtc | ||
``` | ||
|
||
The SDK requires installing some peer dependencies. You can run the following command to install them: | ||
|
||
```bash title=Terminal | ||
yarn add @stream-io/react-native-webrtc react-native-device-info \ | ||
react-native-incall-manager react-native-svg \ | ||
@react-native-community/netinfo @notifee/react-native | ||
yarn add [email protected] | ||
yarn add [email protected] | ||
yarn add react-native-svg | ||
yarn add @react-native-community/[email protected] | ||
yarn add @notifee/[email protected] | ||
|
||
# Install pods for iOS | ||
npx pod-install | ||
``` | ||
|
||
|
@@ -153,6 +157,18 @@ In `android/gradle.properties` add the following: | |
android.enableDexingArtifactTransform.desugaring=false | ||
``` | ||
|
||
#### Run the app | ||
|
||
To ensure the best possible experience, we highly recommend running the app on a physical device. | ||
This is due to the limitations in audio and video device support on emulators. | ||
You can refer to the React Native documentation for guidance on [running the app on a physical device](https://reactnative.dev/docs/running-on-device). | ||
|
||
However, if you still prefer to use an emulator, execute the following command: | ||
|
||
```bash | ||
yarn ios | ||
``` | ||
|
||
## Step 3 - Understand the basics | ||
|
||
Before we dive deep into writing code, there are two concepts you should be familiar with - `StreamVideoClient` and `Call`. | ||
|