This sample demonstrates how to use Sendbird UIKit for React Native with Expo.
Step 1: Install dependencies
yarn installStep 2: Fill in your Sendbird application ID in the APP_ID field of src/env.ts
Step 3: Generate native projects
npx expo prebuildTo run on Android, execute the following command:
yarn androidTo run on iOS, install CocoaPods dependencies first:
cd ios && pod install && cd ..Then run:
yarn iosFor information on upgrading Expo SDK, please refer to the following documentation:
https://docs.expo.dev/workflow/upgrading-expo-sdk-walkthrough/
To upgrade Expo SDK, run the following commands:
yarn add expo@latest
npx expo install --fixAfter upgrading, regenerate native projects:
npx expo prebuild --cleanNote: Please ensure that you have read and understood the documentation before upgrading Expo SDK.