English | 中文
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.
- 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.
npm install react-native-chat-callkit
# or
yarn add react-native-chat-callkit
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
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>
);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT