Welcome to the WhatsApp Clone project! This guide will lead you through creating a feature-rich instant messaging application, similar to the popular WhatsApp. Our project utilizes Tencent's Chat UIkit and CallKit components to implement the following core features:
- One-to-one real-time text chat
- One-to-one audio calls
- One-to-one video calls
- Sending images and files
- Online status display
WhatsApp Clone focuses on user experience and data security, employing advanced encryption technology and supporting cross-platform use. Whether you're an individual developer or an enterprise user, this guide will provide you with the necessary knowledge to build a powerful, secure, and efficient instant messaging solution.
Let's embark on this exciting development journey!
Web
0. General Guide
https://trtc.io/document/39386
This document is a beginner's guide for Tencent Real-Time Communication (TRTC), providing a clear onboarding path for developers who wish to integrate TRTC product features. It covers product introduction, product experience, SDK integration, and other guidance. Reading this document will help developers quickly implement TRTC product functionalities.
1. Introduction to TRTC Basic Concepts
https://trtc.io/document/37714?&
This document aims to introduce some basic concepts that developers may encounter when using the Real-Time Audio and Video (TRTC) service, such as SDKAppID, room, etc. Reading this document can help developers quickly understand the key concepts of TRTC, laying the foundation for smooth integration and use of video call functionality.
2. Quick Overview of Features
https://trtc.io/zh/document/64301?platform=web&product=call
This document introduces WhatsApp Clone, a cross-platform instant messaging project that replicates WhatsApp's core features. It utilizes Tencent's components to provide chat and high-quality audio/video call capabilities across multiple platforms. The project emphasizes user data security, offers various advanced features, and includes comprehensive management tools. The document outlines key features, provides quick start guides for different platforms, and offers contact information for support.
3. Quickly Run Related Demos
- vue3
https://github.com/Tencent-RTC/whatsapp-clone/blob/main/Web/Vue3/README.md
This guide will walk you through running the WhatsApp clone application in the Vue3 framework, allowing you to experience basic features such as one-to-one real-time text chat, one-to-one audio calls, one-to-one video calls, sending images and files, and displaying online status.
- vue2
https://github.com/Tencent-RTC/whatsapp-clone/blob/main/Web/Vue2/README.md
This guide will walk you through running the WhatsApp clone application in the Vue2 framework, allowing you to experience basic features such as one-to-one real-time text chat, one-to-one audio calls, one-to-one video calls, sending images and files, and displaying online status.
4. Implementation Guide for Specific Features
- One-to-one real-time text chat
https://trtc.io/document/45912?platform=web&product=chat&menulabel=uikit
This document provides step-by-step instructions for implementing one-to-one real-time text chat.
- One-to-one audio call
https://trtc.io/document/60415?platform=web&product=call#fd557be1-0fdc-4ded-83da-bf7ccef5c015
This document provides step-by-step instructions for implementing one-to-one audio calls.
- One-to-one video call
https://trtc.io/document/60415?platform=web&product=call#fd557be1-0fdc-4ded-83da-bf7ccef5c015
This document provides step-by-step instructions for implementing one-to-one video calls.
- Sending images and files
This document provides step-by-step instructions for implementing the sending of images and files.
- Online status display
https://trtc.io/document/58651?platform=web&product=chat&menulabel=uikit
This document provides step-by-step instructions for implementing online status display.
5. Console Usage Guide
https://trtc.io/document/39077?product=consoleguide
This document primarily introduces the creation and management process of Tencent RTC (Real-Time Communication) applications. It provides detailed instructions on how to create a new application in the console, including steps such as selecting a product, setting the application name, and choosing the data storage region. The document also describes how to view and manage created applications, including viewing basic application information, SDKAppID, secret key, and other important data. Additionally, it briefly introduces application version types, service status, and some related configuration options. Overall, this is a user-oriented operation guide aimed at helping users effectively use the Tencent RTC console to manage their real-time audio and video projects.
6. Authentication and Security Related Instructions
https://trtc.io/document/35166?product=call&platform=web
This document introduces the user authentication mechanism of Tencent RTC service, focusing on explaining the concept and generation method of UserSig. It provides detailed instructions on how to generate UserSig at different stages of development and offers sample code in various programming languages. For developers, this authentication mechanism enhances security, protects resources and privacy, while providing flexibility and multi-language support, helping to control costs and simplify the development process.
7. Privacy Terms
https://trtc.io/document/48827?product=privacysla
This privacy policy addresses the privacy concerns most important to developers, such as whether user information, usage data, and other data will be stored by TRTC, and how it will be utilized. It helps developers understand how users' personal information will be processed and protected when integrating and using video call functionality.
8. Data Processing and Security Agreement
https://trtc.io/document/48828?product=privacysla
This agreement provides developers with clear data processing and security guidelines, covering the issues of most concern to developers, such as whether user data passing through the TRTC service provider can be guaranteed not to leak during transmission, and how TRTC's own data security capabilities are. The content in this agreement helps ensure the compliance and security of video call functionality.
iOS and MACOS
0. General Guide
https://trtc.io/document/39386
This document is a beginner's guide for Tencent Real-Time Communication (TRTC), providing a clear onboarding path for developers who wish to integrate TRTC product features. It covers product introduction, product experience, SDK integration, and other guidance. Reading this document will help developers quickly implement TRTC product functionalities.
1. Introduction to TRTC Basic Concepts
https://trtc.io/document/37714?&
This document aims to introduce some basic concepts that developers may encounter when using the Real-Time Audio and Video (TRTC) service, such as SDKAppID, room, etc. Reading this document can help developers quickly understand the key concepts of TRTC, laying the foundation for smooth integration and use of video call functionality.
2. Quick Overview of Features
https://trtc.io/zh/document/64301?platform=web&product=call
This document introduces WhatsApp Clone, a cross-platform instant messaging project that replicates WhatsApp's core features. It utilizes Tencent's components to provide chat and high-quality audio/video call capabilities across multiple platforms. The project emphasizes user data security, offers various advanced features, and includes comprehensive management tools. The document outlines key features, provides quick start guides for different platforms, and offers contact information for support.
3. Quickly Run Related Demos
https://github.com/Tencent-RTC/whatsapp-clone/tree/main/iOS
This guide will lead you through just a few simple steps to get the WhatsApp clone application up and running, allowing you to experience basic features such as one-to-one real-time text chat, one-to-one audio calls, one-to-one video calls, sending images and files, and displaying online status.
4. VOIP Notification
https://trtc.io/document/54923?platform=ios&product=call
This document provides a comprehensive guide on implementing VoIP (Voice over IP) Push notifications for iOS applications using Apple's PushKit and CallKit frameworks. It explains the importance of VoIP Push for achieving system-level call functionality and offers a free alternative solution for iOS devices. The guide covers the entire process, including applying for a VoIP Push certificate, uploading the certificate to the Chat console, configuring the project settings, and integrating the TUICallKitVoIPExtension component. It also details how to initiate VoIP calls, handle calls from system call records, and troubleshoot common issues. The document emphasizes the necessity of proper certificate management, project configuration, and code implementation to ensure successful VoIP Push functionality in iOS applications.
5. Implementation Guide for Specific Features
- One-to-one real-time text chat
This document provides step-by-step instructions for implementing one-to-one real-time text chat.
- One-to-one audio call
https://trtc.io/document/60416?platform=ios&product=call#aa9a7377-586a-44ca-a039-a90c9639b39c
This document provides step-by-step instructions for implementing one-to-one audio calls.
- One-to-one video call
https://trtc.io/document/61225?product=chat
This document provides step-by-step instructions for implementing one-to-one video calls.
- Sending images and files
This document provides step-by-step instructions for implementing the sending of images and files.
- Online status display
https://trtc.io/document/59436?product=chat
This document provides step-by-step instructions for implementing online status display.
6. Console Usage Guide
https://trtc.io/document/39077?product=consoleguide
This document primarily introduces the creation and management process of Tencent RTC (Real-Time Communication) applications. It provides detailed instructions on how to create a new application in the console, including steps such as selecting a product, setting the application name, and choosing the data storage region. The document also describes how to view and manage created applications, including viewing basic application information, SDKAppID, secret key, and other important data. Additionally, it briefly introduces application version types, service status, and some related configuration options. Overall, this is a user-oriented operation guide aimed at helping users effectively use the Tencent RTC console to manage their real-time audio and video projects.
7. Authentication and Security Related Instructions
https://trtc.io/document/35166?product=call&platform=web
This document introduces the user authentication mechanism of Tencent RTC service, focusing on explaining the concept and generation method of UserSig. It provides detailed instructions on how to generate UserSig at different stages of development and offers sample code in various programming languages. For developers, this authentication mechanism enhances security, protects resources and privacy, while providing flexibility and multi-language support, helping to control costs and simplify the development process.
8. Privacy Terms
https://trtc.io/document/48827?product=privacysla
This privacy policy addresses the privacy concerns most important to developers, such as whether user information, usage data, and other data will be stored by TRTC, and how it will be utilized. It helps developers understand how users' personal information will be processed and protected when integrating and using video call functionality.
9. Data Processing and Security Agreement
https://trtc.io/document/48828?product=privacysla
This agreement provides developers with clear data processing and security guidelines, covering the issues of most concern to developers, such as whether user data passing through the TRTC service provider can be guaranteed not to leak during transmission, and how TRTC's own data security capabilities are. The content in this agreement helps ensure the compliance and security of video call functionality.
Android
0. General Guide
https://trtc.io/document/39386
This document is a beginner's guide for Tencent Real-Time Communication (TRTC), providing a clear onboarding path for developers who wish to integrate TRTC product features. It covers product introduction, product experience, SDK integration, and other guidance. Reading this document will help developers quickly implement TRTC product functionalities.
1. Introduction to TRTC Basic Concepts
https://trtc.io/document/37714?&
This document aims to introduce some basic concepts that developers may encounter when using the Real-Time Audio and Video (TRTC) service, such as SDKAppID, room, etc. Reading this document can help developers quickly understand the key concepts of TRTC, laying the foundation for smooth integration and use of video call functionality.
2. Quick Overview of Features
https://trtc.io/zh/document/64301?platform=web&product=call
This document introduces WhatsApp Clone, a cross-platform instant messaging project that replicates WhatsApp's core features. It utilizes Tencent's components to provide chat and high-quality audio/video call capabilities across multiple platforms. The project emphasizes user data security, offers various advanced features, and includes comprehensive management tools. The document outlines key features, provides quick start guides for different platforms, and offers contact information for support.
3. Quickly Run Related Demos
https://github.com/Tencent-RTC/whatsapp-clone/blob/main/Android/README.md
This guide will lead you through just a few simple steps to get the WhatsApp clone application up and running, allowing you to experience basic features such as one-to-one real-time text chat, one-to-one audio calls, one-to-one video calls, sending images and files, and displaying online status.
4. VOIP Notification:
https://trtc.io/document/50999?platform=android&product=call
This document provides a comprehensive guide on implementing VOIP (Voice over IP) Push notifications for iOS applications. It covers the entire process from obtaining a VOIP Push certificate from Apple's developer center to integrating it into an app using Tencent's Chat console and TUICallKitVoIPExtension component. The guide explains how to configure project settings, upload certificates, and implement the necessary code for handling VOIP calls. It also includes instructions on initiating VOIP calls, managing calls from system call records, and troubleshooting common issues. The document emphasizes the importance of proper certificate management and project configuration to ensure successful VOIP Push functionality in iOS applications, highlighting its role in achieving system-level call features.
5. Implementation Guide for Specific Features
- One-to-one real-time text chat
This document provides step-by-step instructions for implementing one-to-one real-time text chat.
- One-to-one audio call
https://trtc.io/document/60417?platform=android&product=call#9a081615-451a-4fc8-ba97-e787116f7a75
This document provides step-by-step instructions for implementing one-to-one audio calls.
- One-to-one video call
https://trtc.io/document/61224?platform=android&product=chat&menulabel=uikit
This document provides step-by-step instructions for implementing one-to-one video calls.
- Sending images and files
This document provides step-by-step instructions for implementing the sending of images and files.
- Online status display
https://trtc.io/document/59435?platform=android&product=chat&menulabel=uikit
This document provides step-by-step instructions for implementing online status display.
6. Console Usage Guide
https://trtc.io/document/39077?product=consoleguide
This document primarily introduces the creation and management process of Tencent RTC (Real-Time Communication) applications. It provides detailed instructions on how to create a new application in the console, including steps such as selecting a product, setting the application name, and choosing the data storage region. The document also describes how to view and manage created applications, including viewing basic application information, SDKAppID, secret key, and other important data. Additionally, it briefly introduces application version types, service status, and some related configuration options. Overall, this is a user-oriented operation guide aimed at helping users effectively use the Tencent RTC console to manage their real-time audio and video projects.
7. Authentication and Security Related Instructions
https://trtc.io/document/35166?product=call&platform=web
This document introduces the user authentication mechanism of Tencent RTC service, focusing on explaining the concept and generation method of UserSig. It provides detailed instructions on how to generate UserSig at different stages of development and offers sample code in various programming languages. For developers, this authentication mechanism enhances security, protects resources and privacy, while providing flexibility and multi-language support, helping to control costs and simplify the development process.
8. Privacy Terms
https://trtc.io/document/48827?product=privacysla
This privacy policy addresses the privacy concerns most important to developers, such as whether user information, usage data, and other data will be stored by TRTC, and how it will be utilized. It helps developers understand how users' personal information will be processed and protected when integrating and using video call functionality.
9. Data Processing and Security Agreement
https://trtc.io/document/48828?product=privacysla
This agreement provides developers with clear data processing and security guidelines, covering the issues of most concern to developers, such as whether user data passing through the TRTC service provider can be guaranteed not to leak during transmission, and how TRTC's own data security capabilities are. The content in this agreement helps ensure the compliance and security of video call functionality.
Flutter
0. General Guide
https://trtc.io/document/39386
This document is a beginner's guide for Tencent Real-Time Communication (TRTC), providing a clear onboarding path for developers who wish to integrate TRTC product features. It covers product introduction, product experience, SDK integration, and other guidance. Reading this document will help developers quickly implement TRTC product functionalities.
1. Introduction to TRTC Basic Concepts
https://trtc.io/document/37714?&
This document aims to introduce some basic concepts that developers may encounter when using the Real-Time Audio and Video (TRTC) service, such as SDKAppID, room, etc. Reading this document can help developers quickly understand the key concepts of TRTC, laying the foundation for smooth integration and use of video call functionality.
2. Quick Overview of Features
https://trtc.io/zh/document/64301?platform=web&product=call
This document introduces WhatsApp Clone, a cross-platform instant messaging project that replicates WhatsApp's core features. It utilizes Tencent's components to provide chat and high-quality audio/video call capabilities across multiple platforms. The project emphasizes user data security, offers various advanced features, and includes comprehensive management tools. The document outlines key features, provides quick start guides for different platforms, and offers contact information for support.
3. Quickly Run Related Demos
https://github.com/Tencent-RTC/whatsapp-clone/blob/main/Flutter/README.md
This guide will lead you through just a few simple steps to get the WhatsApp clone application up and running, allowing you to experience basic features such as one-to-one real-time text chat, one-to-one audio calls, one-to-one video calls, sending images and files, and displaying online status.
4. Offline Push
https://trtc.io/document/50032?platform=flutter&product=chat&menulabel=uikit
This document introduces Tencent Cloud Instant Messaging's offline push functionality for mobile applications. It explains the importance of using system-level push channels to conserve device resources while ensuring timely message delivery when apps are in the background. The guide covers the integration process for offline push across various manufacturers' platforms, including iOS, Android, and others. It provides instructions for using Tencent's Flutter plugin to simplify implementation and offers guidance on console configuration and certificate management. The document also addresses scenarios where offline push may not be necessary and provides alternative solutions for online push notifications.
5. Implementation Guide for Specific Features
- One-to-one real-time text chat
This document provides step-by-step instructions for implementing one-to-one real-time text chat.
- One-to-one audio call
This document provides step-by-step instructions for implementing one-to-one audio calls.
- One-to-one video call
This document provides step-by-step instructions for implementing one-to-one video calls.
- Sending images and files
This document provides step-by-step instructions for implementing the sending of images and files.
- Online status display
https://trtc.io/document/59435?platform=android&product=chat&menulabel=uikit
This document provides step-by-step instructions for implementing online status display.
6. Console Usage Guide
https://trtc.io/document/39077?product=consoleguide
This document primarily introduces the creation and management process of Tencent RTC (Real-Time Communication) applications. It provides detailed instructions on how to create a new application in the console, including steps such as selecting a product, setting the application name, and choosing the data storage region. The document also describes how to view and manage created applications, including viewing basic application information, SDKAppID, secret key, and other important data. Additionally, it briefly introduces application version types, service status, and some related configuration options. Overall, this is a user-oriented operation guide aimed at helping users effectively use the Tencent RTC console to manage their real-time audio and video projects.
7. Authentication and Security Related Instructions
https://trtc.io/document/35166?product=call&platform=web
This document introduces the user authentication mechanism of Tencent RTC service, focusing on explaining the concept and generation method of UserSig. It provides detailed instructions on how to generate UserSig at different stages of development and offers sample code in various programming languages. For developers, this authentication mechanism enhances security, protects resources and privacy, while providing flexibility and multi-language support, helping to control costs and simplify the development process.
8. Privacy Terms
https://trtc.io/document/48827?product=privacysla
This privacy policy addresses the privacy concerns most important to developers, such as whether user information, usage data, and other data will be stored by TRTC, and how it will be utilized. It helps developers understand how users' personal information will be processed and protected when integrating and using video call functionality.
9. Data Processing and Security Agreement
https://trtc.io/document/48828?product=privacysla
This agreement provides developers with clear data processing and security guidelines, covering the issues of most concern to developers, such as whether user data passing through the TRTC service provider can be guaranteed not to leak during transmission, and how TRTC's own data security capabilities are. The content in this agreement helps ensure the compliance and security of video call functionality.
Purchase Guide Section
1. Prepaid Package Guide
Currently, TRTC's billing adopts a prepaid package + postpaid model, which can bring you flexible cost management and budget control, ensuring that you can effectively estimate and control expenses when using the service. For details, please see the Billing Overview document
2. Prepaid Packages
TRTC's prepaid packages are divided into Starter and Official packages.
The Starter package helps users launch projects at an extremely low cost. The Call Start plan package costs only $39.9/month, enjoying a 93% discount. Its features are comparable to the standard version and can meet the functional requirements of most scenarios. To purchase, please visit the Starter Package Purchase Guide
The Official package is suitable for customers who are already familiar with our products and wish to continue using them. It includes various plans and usually contains higher resource quotas and priority support to meet users' long-term needs and more complex project requirements. To purchase, please visit the Official Package Purchase Guide
For specific rules, please see the billing documents:
3. Postpaid Guide
TRTC defaults to prepaid package billing. When service usage cannot be deducted from a package or exceeds the prepaid package balance, billing will be based on your actual business usage according to the postpaid model. TRTC's postpaid model includes billing items such as audio and video duration, cloud recording and recording delivery, stream mixing and transcoding, and stream pushing. For detailed billing rules, please see the latter part of the Billing Overview document
If you have any questions or need assistance online, our support team is always ready to help. Please feel free to Contact us or join us on Telegram or Discord.