Introduction
@realtimexsco/live-chat-react-native is a complete, ready-made chat experience for React Native apps on iOS and Android. You install it into your own app (the host app), give it your RealtimeX credentials, and it gives you the full chat UI: conversation list, chat rooms, groups, threads, attachments, rich text, mentions, audio and video calls, and push notifications.
This document is the complete guide to the package. It is written for developers who are new to the package — every step says which file to open, what to add, and why.
Who this guide is for
What you will have at the end
- A chat tab with the conversation list, 1:1 and group chats, threads, reactions, attachments, rich text and @mentions.
- Audio and video calls with Picture-in-Picture and screen sharing.
- Push notifications for messages, and a ringing call screen even when the app is closed.
- Your brand colors, fonts and copy, with any part of the UI replaceable.
Conventions used in this document
Before you begin
You should be comfortable with:
- A React Native CLI app (not Expo Go — the package has native code).
- Running the app from Xcode /
npm run iosand Android Studio /npm run android. - A Firebase project (for push) and an Apple Developer account (for iOS push and calls).