Skip to content

Instant Message Service of Tencent Cloud. Download Image for Chinese Mainland:

Notifications You must be signed in to change notification settings

tianshunjian/TIMSDK

 
 

Repository files navigation

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

Native SDK Download Address Integration Guide Update Log
Android GitHub (Recommended) [Quick Integration] SDK Integration (Android)
[General Integration] SDK Integration (Android)
Update Log (Native)
iOS GitHub (Recommended) [Quick Integration] SDK Integration (iOS)
[General Integration] SDK Integration (iOS)
Mac GitHub (Recommended) [General Integration] SDK Integration (Mac)
Windows GitHub (Recommended) [General Integration] SDK Integration (Windows)

TUIKit Integration

​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​
Module Platform Document Link
Quick IntegrationiOSTUIKit-iOS Quick Integration
AndroidTUIKit-Android Quick Integration
Setting UI StylesiOSSetting UI Styles (TUIKit-iOS)
AndroidSetting UI Styles (TUIKit-Android)
Adding Custom MessagesiOSAdding Custom Messages (TUIKit-iOS)
AndroidAdding 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

API Upgrade Guidelines

Latest Enhanced Edition 6.7.3184 @2022.09.29

SDK

  • Supported the messaging extension.
  • Supported the signaling editing.
  • Supported VoIP for iOS offline push.
  • Supported Android offline push in HONOR phones.
  • Added the backup domain name in the access layer.
  • Fixed the issue where login and logout callbacks cannot be executed in a special network environment.
  • Fixed the issue where keeping the group profile empty did not trigger the notification callback.
  • Fixed the issue where Mute Notifications for group conversations were not updated after the user leaved a group and joined it again.
  • Fixed the crash triggered by sending message read receipts.
  • Fixed the issue for C-based APIs where read receipts for one-to-one messages cannot be sent with the SDK.
  • For the issue for PC where TIMGroupModifyGroupInfo cannot modify combined group attributes.

TUIKit and demo

  • Optimized the group chat creation process.
  • Supported setting the background image for the chat area.
  • Optimized the theme logic.
  • Supported inviting new group members during a group call.
  • Supported animoji for Android.
  • Fixed the occasional messaging missing in the message list for Android.
  • Fixed the occasional error of message sending state in the message list for Android.
  • Fixed the issue for Android where the offline push component tried to get the phone model for several times.
  • Removed the global style modification for UIAlertController from iOS TUICore.
  • Added redirecting to the gallery during the shooting for iOS.
  • Fixed the issue for iOS where clicking the button triggered a crash after the chat history was cleared.

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

About

Instant Message Service of Tencent Cloud. Download Image for Chinese Mainland:

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 20.3%
  • JavaScript 17.7%
  • Java 11.7%
  • Dart 9.0%
  • Objective-C 8.9%
  • C++ 8.6%
  • Other 23.8%