This document presents the repository structure, package description, examples, and FAQs.
This repository is a multi-package repository that includes uikit, callkit, roomkit, and corresponding example projects.
Currently, mainstream projects adopt this repository structure, for example, react-navigation, sendbird-uikit-react-native, and stream-chat-react-native. If you are interested, you can click the links in the reference section for further details.
Repository structure
.
├── LICENSE
├── docs
│ └── v4
├── examples
│ ├── room-example
│ ├── product-room-demo
│ ├── product-uikit-demo
│ ├── callkit-example
│ └── uikit-example
├── node_modules
├── package.json
├── packages
│ ├── react-native-chat-room
│ ├── react-native-chat-callkit
│ └── react-native-chat-uikit
├── patches
├── res
├── scripts
├── templates
├── tsconfig.json
└── yarn.lock
Structural Description
- LICENSE: license file
- docs: a compilation of documents, currently in the latest V3 version.
- example: complete sample project, dependent on local npm packages. Currently,
callkitanduikitare used. - examples:
- room-example: sample project of the
roompackage. - product-room-demo: Sample demonstration project of the
product-roomSDK. - product-uikit-demo: Sample demonstration project of the
product-uikitSDK. - callkit-example: sample project of the
callkitpackage. - uikit-example: sample project of the
uikitpackage.
- room-example: sample project of the
- node_modules: list of project dependencies managed by the
yarntool. - package.json: project configuration file. It is the core configuration of this repository. The
package.jsonfiles in other subfolders are responsible for managing sub-projects. - packages:
- react-native-chat-room:
roomSDK。 - react-native-chat-callkit:
callkitSDK. - react-native-chat-uikit:
uikitSDK.
- react-native-chat-room:
- patches: Patches for fixing urgent issues.
- res: Resource folder.
- scripts: Script folder.
- templates: Template folder.
- tsconfig.json: Configuration for TypeScript language.
- yarn.lock: version management file for project dependencies configuration.
The packages folder include react-native-chat-callkit and react-native-chat-uikit packages. There may be additional packages in the future according to requirements.
react-native-chat-room: Primarily assists users in integrating chatroom functionalities.react-native-chat-callkit: Primarily assists users in integrating audio and video call functionalities.react-native-chat-uikit: Primarily assists users in integratingreact-native-chat-sdkfunctionalities. If you are interested, you can click the links in the reference section for further details.
Callkit SDK Documentation Entry
UIkit SDK Documentation Entry
room uikit SDK Documentation Entry
The examples folder mainly includes a list of sample projects.
callkit-example: Mainly demonstrates the usage of the callkit SDK.
uikit-example: Mainly demonstrates the usage of the uikit SDK.
room-example: Mainly demonstrates the usage of the room SDK.
product-uikit-demo: Comprehensively demonstrates the usage of uikit + callkit SDKs.
product-room-demo: Comprehensively demonstrates the usage of the room SDK.
Room Quick Start Guide UIKit Quick Start Guide CallKit Quick Start Guide
See Build a Repository.
See Create a Repository.
See Route.
Quick start
Difference between domestic and overseas versions
FCM push
Local npm package
Patch npm package
See FAQ.
See Reference.