react-native-chat-callkit

1.0.6 • Public • Published

English | 中文

Introduction

AgoraChatCallKit is an open-source audio and video UI library developed based on Agora's real-time communications and signaling services. With this library, you can implement audio and video calling functionalities with enhanced synchronization between multiple devices. In scenarios where a user ID is logged in to multiple devices, once the user deals with an incoming call that is ringing on one device, all the other devices stop ringing simultaneously.

Development environment requirements

  • MacOS 12 or higher
  • React-Native 0.71 or higher
  • NodeJs 20.18 or higher

For iOS app:

  • Xcode 15 or higher and its related dependency tool.

For the Android app:

  • Android Studio 2022 or higher and its related dependency tool.

Installation

npm install react-native-chat-callkit
# or
yarn add react-native-chat-callkit

Dependencies

yarn add @react-native-community/blur \
react-native-agora \
react-native-chat-sdk \
react-native-fast-image \
react-native-safe-area-context \
react-native-screens \
react-native-vector-icons

Quick Start

Initialization

import { Container } from 'react-native-chat-room';
export function App() {
  return (
    <Container opt={{ appKey: '<your app key>' }}>
      {/** sub component */}
    </Container>
  );
}

Enter AV page

export function ChatroomScreen() {
  return (
    <Chatroom roomId={'<room ID>'} ownerId={'<room owner ID>'}>
      {/** sub component */}
    </Chatroom>
  );
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i react-native-chat-callkit

Weekly Downloads

5

Version

1.0.6

License

MIT

Unpacked Size

12.4 MB

Total Files

574

Last publish

Collaborators

  • easemob