mirror of
https://github.com/TencentCloud/TIMSDK.git
synced 2026-10-23 09:59:02 +08:00
fd5f08fe6db1eed2ae1b7f78e609ec3ba5dd6716
English | 简体中文
Notice: If you open a pull request in TUIKit Android or iOS and the corresponding changes are successfully merged, your name will be included in README.md with a hyperlink to your homepage on GitHub.
Image Download
Tencent Cloud branch download address: Download
SDK Download
TUIKit Integration
| Module | Platform | Document Link |
|---|---|---|
| Quick Integration | iOS | TUIKit-iOS Quick Integration |
| Android | TUIKit-Android Quick Integration | |
| Setting UI Styles | iOS | Setting UI Styles (TUIKit-iOS) |
| Android | Setting UI Styles (TUIKit-Android) | |
| Adding Custom Messages | iOS | Adding Custom Messages (TUIKit-iOS) |
| Android | Adding Custom Messages (TUIKit-Android) |
Differences Between the Basic Edition and the Enhanced Edition
- SDK added the Enhanced Edition from SDK 5.4. The original edition is called the Basic Edition.
- Both the Basic Edition and Enhanced Edition support V2 APIs. However, the Enhanced Edition no longer supports legacy APIs while the Basic Edition still supports legacy APIs.
- If you have not integrated legacy APIs, we recommend that you directly use V2 APIs and choose the Enhanced Edition SDK.
- If you have integrated legacy APIs, we recommend that you upgrade to V2 APIs and gradually transition to the Enhanced Edition SDK.
- Compared with the Basic Edition, the Enhanced Edition has greatly reduced the SDK size and installation package increment.
- Compared with the Basic Edition, the Enhanced Edition provides more new features.
- Subsequent development of new features will only be supported on the Enhanced Edition. The Basic Edition supports only routine maintenance and fixing of existing problems.
Comparison of the SDK sizes
| Platform | Item | Basic Edition | Enhanced Edition |
|---|---|---|---|
| Android | aar size | 7.8 MB | 3.1 MB |
| iOS | framework size | 57.7 MB | 11.2 MB |
Comparison of the app size increments
| Platform | Architecture | Basic Edition | Enhanced Edition |
|---|---|---|---|
| apk increment | armeabi-v7a | 3.2 MB | 1.1 MB |
| arm64-v8a | 5.2 MB | 1.7 MB | |
| ipa increment | arm64 | 2.1 MB | 1.1 MB |
Guidelines for Upgrading IMSDK to V2 APIs
Latest Enhanced Version 6.2.2363 @2022.04.29
SDK
- Added the community topic feature.
- Added the message edit API.
- Added support for one-to-one message read receipts.
- Optimized the network quality of the International Site.
- Fixed the issue where a read message was displayed as unread after the app was uninstalled and reinstalled.
- Fixed the issue where when the profile of a non-friend user was obtained, the values of custom fields cannot be updated after they were changed to null.
- Fixed the issue where the
lastMsgof a one-to-one conversation was inconsistent with thelastMsgin the message history when both sides sent a message simultaneously. - Fixed the issue where after the group owner of a public group approved a group joining request, the callback received by the applicant was incorrect.
- Fixed the issue where the
nameCardof a message sent by a user was null when the user checked this message. - Fixed the issue in some cases where the conversation list was not sorted after messages were sent.
TUIKit and demo
- Added the offline push component and simplified the integration process.
- Supported read receipts for group messages.
- Supported the dark theme for iOS.
- Fixed the issue for Android where the app crashed when an excessively large image was sent and previewed.
- Fixed the issue for Android where after a video message was sent, the duration displayed in the message was inconsistent with the actual duration of the video.
- Fixed the issue for Android where a user cannot continue to handle friend requests after the user handled a friend request.
Latest Basic Version 5.1.66 @2021.09.22
Android
- Removed the feature of getting Wi-Fi information.
Feedback
- If you encounter any issue when using TIMSDK, please provide feedback on the problem to us so that we can quickly and effectively locate and solve the issue for you.
- TIMSDK Issue Feedback Guidelines
Description
Free Chat SDK (IM SDK) — 1,000 MAU/month free forever with push notifications & no concurrency limits. Build in-app messaging with chat API, UIKit & send message. Supports Android, iOS, Flutter, Web, React Native, uni-app, HarmonyOS & more.
Languages
Objective-C
33.9%
Java
33.4%
C++
12%
C
7.8%
Swift
6.9%
Other
5.8%