You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> React-Native based UI kit based on sendbird javascript SDK
7
+
8
+
## Introduction
9
+
10
+
Sendbird UIKit for React-Native is a development kit with an user interface that enables an easy and fast integration of standard chat features into new or existing client apps.
11
+
This mono-repository the UIKit source code is consists as explained below.
12
+
13
+
-[**packages/uikit-react-native**](/packages/uikit-react-native) is where you can find the open source code. Check out [UIKit Open Source Guidelines](/OPENSOURCE_GUIDELINES.md) for more information regarding our stance on open source.
14
+
-[**sample**](/sample) is a chat app with UIKit’s core features in which you can see items such as push notifications, total unread message count and auto sign-in are demonstrated. When you sign in to the sample app, you will only see a list of channels rendered by the [GroupChannelListFragment](https://sendbird.com/docs/uikit/v3/react-native/key-functions/list-channels) on the screen.
15
+
-[**packages/uikit-react-native-foundation**](/packages/uikit-react-native-foundation) is a UI package for `uikit-react-native`.
16
+
-[**packages/uikit-chat-hooks**](/packages/uikit-chat-hooks) is a react hooks package for `uikit-react-native`.
17
+
-[**packages/uikit-utils**](/packages/uikit-utils) is a utility package for `uikit-react-native`.
18
+
19
+
### More about Sendbird UIKit for React-Native
20
+
21
+
Find out more about Sendbird UIKit for React-Native at [UIKit for React Native doc](https://sendbird.com/docs/uikit/v3/react-native/overview).
22
+
If you need any help in resolving any issues or have questions, visit [our community](https://community.sendbird.com).
@@ -15,20 +36,56 @@ More details, please see https://reactnative.dev/docs/environment-setup
15
36
16
37
<br/>
17
38
18
-
## Development
39
+
## Try the sample app
40
+
41
+
We are using sample app for development, you can check the sample app [here](/sample) and also check the UI components via storybook in the sample app.
19
42
20
-
We tried development on macOS / Linux systems. You might encounter problems in running sample or scripts like `yarn build` in Windows machines. We are using sample app for development, you can check the sample app [here](/sample) and also check the UI components via storybook in the sample app.
43
+
### Installation
21
44
22
-
### Run sample app
45
+
> Every script should be run on the root of the project.
46
+
47
+
**Install node modules**
23
48
24
49
```shell
25
50
yarn install
26
-
npx pod-install
51
+
```
52
+
53
+
**Linking native modules of sample app**
54
+
55
+
```shell
56
+
yarn sample:pod-install
57
+
```
27
58
59
+
**Running sample app**
60
+
61
+
- Android
62
+
63
+
```shell
28
64
yarn sample:android
65
+
```
66
+
67
+
- iOS
68
+
69
+
```shell
29
70
yarn sample:ios
30
71
```
31
72
73
+
### Sample app using your data
74
+
75
+
Create a file to `sample/src/env.ts` and write the code below to the file you created.
If you would like to try the sample app specifically fit to your usage, you can do so by replacing the default sample app ID with yours, which you can obtain by creating your [Sendbird application from the dashboard](https://dashboard.sendbird.com/).
82
+
83
+
<br />
84
+
85
+
## Development
86
+
87
+
We tried development on macOS / Linux systems. You might encounter problems in running sample or scripts like `yarn build` in Windows machines.
88
+
32
89
### Creating a new key function files
33
90
34
91
Run the script and enter the key function name as a lower camel case like `groupChannel`, and then you can see the auto generated files in the `/packages/uikit-react-native/src/domain`
0 commit comments