The Agora Chat UIKit enables you to quickly embed real-time messaging in your app without extra efforts on the UI. This repository contains a sample project that uses the Agora Chat platform, the Agora Chat UIKit, and backend API to build and develip a mobile app with the following integrated chat features:
- Real-time one-to-one chat, group chat, and chatroom.
- Sending file, image, video, voice, and location messages.
- Push nitifications.
This page shows how to run the sample project.
Before proceeding, ensure that you have the following:
- Xcode 11.0 or later.
- CocoaPods. Refer to Getting Started with CocoaPods if you have not installed CocoaPods.
Follow the steps to add the Agora Chat UIKit into your project and run the demo.
-
Clone this repositoty to your local machine.
git clone [email protected]:AgoraIO-Usecase/AgoraChat-ios.git
-
Navigate to the root path of this project and run the following command to add UIKit into your project:
pod install
-
Open the project with the following command:
Objective-C
open AgoraChat.xcworkspace
Swift
open AgoraChat-Swift.xcworkspace
-
Press
command + r
to run the project. And you can see the app launched on the simulator.
You are all set! Feel free to play with this sample project and explore features of the Agora Chat UIKit.
If you have any problems or suggestions regarding the sample projects, feel free to file an issue.
Agora provides the full set of documentation and API Reference at Agora Chat documents.
- Check our FAQ to see if your issue has been recorded.
- Repositories managed by developer communities can be found at Agora Community.
- If you encounter problems during integration, feel free to ask questions in Stack Overflow.
Distributed under the MIT License. See LICENSE
for more information.