https://github.com/sendbird/sendbird-uikit-sample-react-native-expo
[Sample] React-Native UIKit for Expo
https://github.com/sendbird/sendbird-uikit-sample-react-native-expo
Last synced: about 1 year ago
JSON representation
[Sample] React-Native UIKit for Expo
- Host: GitHub
- URL: https://github.com/sendbird/sendbird-uikit-sample-react-native-expo
- Owner: sendbird
- Created: 2023-03-21T04:30:48.000Z (over 3 years ago)
- Default Branch: sample
- Last Pushed: 2024-08-06T09:04:03.000Z (almost 2 years ago)
- Last Synced: 2025-04-24T06:53:48.740Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://sendbird.com/docs/uikit/v3/react-native/introduction/native-modules#2-helper-functions-3-expo-cli
- Size: 9.74 MB
- Stars: 10
- Watchers: 7
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sendbird-uikit-sample-react-native-expo
This sample demonstrates how to use Sendbird UIKit for React Native with Expo.
## Installation
Step 1: Install dependencies
```shell
yarn install
```
Step 2: Fill in your Sendbird application ID in the `APP_ID` field of [`src/env.ts`](src/env.ts)
## Usage
### Expo Go QR
To use Expo Go QR, run the following command:
```shell
yarn start
```
### Android
> **NOTE**: Starting from version @sendbird/uikit-react-native@2.5.0, we no longer support Expo Go on Android with RN `< v0.72`.
> Please use [EAS Build](https://docs.expo.dev/build/setup/#build-for-android-emulatordevice-or-ios-simulator) or [Prebuild](https://docs.expo.dev/workflow/prebuild/) instead.
To use Android, run the following command:
```shell
yarn android
```
### iOS
To use iOS, run the following command:
```shell
yarn ios
```
### Web
> **NOTE**: While it is possible to run in a web environment
> please note that Expo SDK is not fully compatible with web environments and we do not officially support the web. (We do not guarantee functionality related to this.)
To test Web, run the following command:
```shell
yarn web
```
## Upgrading Expo SDK
For 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:
```shell
yarn add expo@latest
expo install --fix
```
Note: Please ensure that you have read and understood the documentation before upgrading Expo SDK.