OpenIM Docs • OpenIM Server • openim-sdk-ios • openim-sdk-core
OpenIM provides an open-source Instant Messaging (IM) SDK for developers, serving as an alternative solution to cloud services like Twilio and Sendbird. With OpenIM, developers can build secure and reliable IM applications similar to WeChat, Zoom, and Slack.
This repository is based on the open-source version of the OpenIM SDK, offering an iOS IM application. You can use this application as a reference implementation of the OpenIM SDK.
This repository is licensed under the GNU Affero General Public License Version 3 (AGPL-3.0) and is subject to additional terms. Commercial use is prohibited. For more details, see here.
Before you start development, ensure that the following software is installed on your system:
- Operating System: macOS 14.6 or later
- Xcode: Version 15.4
- Git: For version control
Additionally, make sure you have deployed the latest version of the OpenIM Server. After deployment, you can compile the project and connect it to your server for testing.
This application supports the following platforms:
Platform | Version | Status |
---|---|---|
iOS | 13.0 and above | ✅ |
- iOS: Make sure your version meets the requirements to avoid compilation issues.
Follow the steps below to set up your local development environment:
-
Clone the repository:
git clone https://github.com/openimsdk/openim-ios-demo.git cd openim-ios-demo/Example
-
Install dependencies
pod install
2.1 If the installation fails and a message appears saying that a dependency was not found, please execute the following command to update the local CocoaPods repository list.
pod repo update
-
Modify the configuration
If you have not changed the default server ports, update only the defaultHost to your server IP.
let defaultHost = "your-server-ip or your-domain";
-
open OpenIMSDKUIKit.xcworkspace to compile and run the program.
-
Start developing and testing! 🎉
The open-source version supports one-to-one audio and video calls. You need to first deploy and configure the server. For multi-party audio/video calls or video conferencing, please contact us at contact@openim.io.
Click "Archive" to compile the IPA package.
Feature Module | Feature | Status |
---|---|---|
Account Features | Phone number registration \ Email registration \ Verification code login | ✅ |
View \ Edit personal information | ✅ | |
Multi-language settings | ✅ | |
Change password \ Forgot password | ✅ | |
Friend Features | Find \ Apply \ Search \ Add \ Delete friends | ✅ |
Accept \ Reject friend requests | ✅ | |
Friend notes | ✅ | |
Allow friend requests or not | ✅ | |
Friend list \ Friend data real-time syncing | ✅ | |
Blocklist | Restrict messages | ✅ |
Real-time syncing of blocklist | ✅ | |
Add \ Remove from blocklist | ✅ | |
Group Features | Create \ Dismiss groups | ✅ |
Apply to join \ Invite to join \ Leave group \ Remove members | ✅ | |
Group name / Avatar changes / Group data updates (notifications, real-time sync) | ✅ | |
Invite members to group | ✅ | |
Transfer group ownership | ✅ | |
Group owner or admin approve join requests | ✅ | |
Search group members | ✅ | |
Message Features | Offline messages | ✅ |
Roaming messages | ✅ | |
Multi-end messages | ✅ | |
Message history | ✅ | |
Message deletion | ✅ | |
Clear messages | ✅ | |
Copy messages | ✅ | |
Typing indicator in single chat | ✅ | |
Do Not Disturb for new messages | ✅ | |
Clear chat history | ✅ | |
New members can view group chat history | ✅ | |
New message reminders | ✅ | |
Text messages | ✅ | |
Image messages | ✅ | |
Video messages | ✅ | |
Emoji messages | ✅ | |
File messages | ✅ | |
Voice messages | ✅ | |
Contact card messages | ✅ | |
Location messages | ✅ | |
Custom messages | ✅ | |
Conversation | Pin conversation | ✅ |
Mark conversation as read | ✅ | |
Mute conversation | ✅ | |
REST API | Authentication management | ✅ |
User management | ✅ | |
Relationship chain management | ✅ | |
Group management | ✅ | |
Conversation management | ✅ | |
Message management | ✅ | |
Webhook | Group callbacks | ✅ |
Message callbacks | ✅ | |
Push callbacks | ✅ | |
Relationship callbacks | ✅ | |
User callbacks | ✅ | |
Capacity & Performance | 10,000 friends | ✅ |
100,000-member supergroup | ✅ | |
Second-level syncing | ✅ | |
Cluster deployment | ✅ | |
Multi-device kick-out strategy | ||
Online Status | No mutual kick-out across all platforms | ✅ |
Each platform can only log in with one device | ✅ | |
PC, Mobile, Pad, Web, Mini Program each can log in with one device | ✅ | |
PC not mutually kicked, only one device total for other platforms | ✅ | |
Audio/Video Call | One-to-one audio and video calls | ✅ |
File Storage | Supports private Minio deployment | ✅ |
Supports public cloud services COS, OSS, Kodo, S3 | ✅ | |
Push | Real-time online message push | ✅ |
Offline message push, supports Getui, Firebase | ✅ |
For more advanced features, audio/video calls, or video conferences, please contact us at contact@openim.io.