Skip to content

Commit 3a9857e

Browse files
docs: added optional dependency step in getting started guide
1 parent c221d2c commit 3a9857e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docusaurus/docs/reactnative/basics/getting_started.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This should be considered a primer before delving into the UI and Core Component
1616

1717
Your [environment should be setup](https://reactnative.dev/docs/environment-setup) and a project created prior to beginning the installation.
1818

19-
### Add dependencies
19+
### Add Required dependencies
2020

2121
Install the required packages in your React Native project.
2222

@@ -151,14 +151,22 @@ For some of the packages listed below, there are additional steps required to se
151151
- `react-native` - [additional installation steps](https://reactnative.dev/docs/image#gif-and-webp-support-on-android)
152152
- `react-native-image-crop-picker` - [additional installation steps](https://github.com/ivpusic/react-native-image-crop-picker#step-3)
153153
- `react-native-cameraroll` - [additional installation steps](https://github.com/react-native-cameraroll/react-native-cameraroll#permissions)
154-
- `react-native-video` - [additional installation steps](https://github.com/react-native-video/react-native-video/blob/master/API.md#installation)
155154

156155
:::note
157156

158157
If you are planning to use file picker functionality, make sure you enable iCloud capability in your app - [Enable iCloud capability](https://camo.githubusercontent.com/ac300ca7e3bbab573a76c151469a89efd8b31e72/68747470733a2f2f33313365353938373731386233343661616638332d66356538323532373066323961383466373838313432333431303338343334322e73736c2e6366312e7261636b63646e2e636f6d2f313431313932303637342d656e61626c652d69636c6f75642d64726976652e706e67)
159158

160159
:::
161160

161+
### Add Optional Dependencies
162+
163+
- `react-native-video` - [additional installation steps](https://github.com/react-native-video/react-native-video/blob/master/API.md#installation)
164+
165+
> Available in stream-chat-react-native >= v4.7.0
166+
167+
Installing this package allows you to play the video files/attachments in the chat. Otherwise by default, video files will be opened in default
168+
browser of the device.
169+
162170
### AndroidX Support
163171

164172
> AndroidX is a major step forward in the Android ecosystem, and the old support library artifacts are being deprecated.

0 commit comments

Comments
 (0)