Skip to content

Commit

Permalink
docs(react-native): tutorial fixes (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalnarkhede authored Aug 29, 2023
1 parent c76f133 commit 544ba70
Showing 1 changed file with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down Expand Up @@ -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`.
Expand Down

0 comments on commit 544ba70

Please sign in to comment.