Skip to content

AgoraIO/AgoraRtm_Apple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AgoraRtm

AgoraRtm is a Swift package that provides an easy-to-use interface for integrating Agora Real-Time Messaging (RTM) into your iOS applications. It offers a set of classes and methods that enable you to establish real-time messaging and communication channels.

Features

  • User Authentication: Authenticate users using tokens for secure communication.
  • Message Communication: Send and receive real-time messages between users.
  • Presence Management: Query and update the presence status of users.
  • Lock Management: Manage locks for synchronization between users.
  • Storage Management: Store and retrieve user-specific data in real time.
  • Topic Management: Create and manage channels for different topics.

Requirements

  • iOS 13.0+ or macOS 10.15
  • Xcode 14.0+
  • Swift 5.8+

Installation

To integrate AgoraRtm into your Xcode project, you can use Swift Package Manager. Here's how:

  1. In Xcode, open your project.
  2. Select File > Swift Packages > Add Package Dependency.
  3. Enter the package repository URL: https://github.com/AgoraIO/AgoraRtm_Apple.git.
  4. Choose a version rule or enter a specific branch, tag, or commit hash.
  5. Click Next, then Add AgoraRtmKit-Swift library.

Getting Started

For a complete understanding of how to use the SDK and its various functionalities, please refer to the full documentation.