Chat UIKit React Native v3
Chat UIKit React Native
Chat UIKit
React Native
Version 3

Install UIKit and the required dependencies

Copy link

You can install UIKit for React Native using yarn. Enter the following code on the command line with yarn or npm.

Note: If you're using React-Native version 0.71 or lower, install @sendbird/react-native-scrollview-enhancer.

CLIExpo
yarn add @sendbird/uikit-react-native \
         @sendbird/chat \
         date-fns \
         react-native-safe-area-context \
         @react-native-community/netinfo \
         react-native-mmkv

Install native modules

Copy link

In order to access native APIs that are not available in JavaScript, you need to use native modules within your React Native application. There are many native modules available for open source that you can use to create your app with. For this reason, Sendbird UIKit is built so that there isn't a dependency on a specific type of native module.

CLIExpo
yarn add react-native-video \
         react-native-permissions \
         react-native-file-access \
         react-native-image-picker \
         react-native-document-picker \
         react-native-create-thumbnail \
         react-native-audio-recorder-player \
         @react-native-clipboard/clipboard \
         @react-native-camera-roll/camera-roll \
         @react-native-firebase/app \
         @react-native-firebase/messaging \
         @bam.tech/react-native-image-resizer

npx pod-install

Installation guide

Copy link

Refer to the installation guide for each native module below.