wangmengling / TIMSDK

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

Home Page:https://cloud.tencent.com/document/product/269/36887

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.
  • Enhanced Edition Pro has been released from SDK 6.8 version which supports dual line acceleration on network layer and provides better performance for bad network environment.

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

Latest Enhanced Edition 6.8.3374 @2022.11.14

SDK

  • Supported local text moderation on clients.
  • Released the Swift SDK.
  • Supported the group attribute feature for non-audio-video groups.
  • Optimized the logic for updating the number of members in a non-audio-video groups when someone entered the group.
  • Optimized the COS upload process.
  • Optimized the issue of unread message count after operations such as message recall in a community group.
  • Fixed the failure to deliver a notification when a custom friend field is set independently.
  • Fixed the double callbacks for group listening.
  • Fixed the issue where the topic profile under a community group would not be updated timely when a user left the group and then joined the group again.
  • Fixed the issue that sender’s profile photo is empty in the callback for inserting a local message successfully.
  • Fixed the occasional error when setting message extension after repeated login.
  • Fixed the failure to update the message read receipt status in the conversation update callback after all messages in the conversation are marked as read.
  • Fixed the occasional emptiness of send_user_id in a message when a user sends a message immediately after login callback.
  • C++ API: Added an API to check whether a message is read.
  • C++ API: Fixed the failure to update the cursor in the result of the paged pulling of the conversation list.

TUIKit and demo

  • Fixed the issue where a search webpage window popped out when a user long pressed a text message on iOS 16.
  • TUIChat-iOS: Supported sending GIF images.
  • TUIChat-iOS: Fixed image sending status exceptions.
  • TUIChat-iOS: Supported the deletion of time when deleting a message.
  • Fixed system exceptions caused by iOS TUIOfflinePush.
  • Fixed the issue where Android TUIOfflinePush push parameter settings did not take effect.

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:

https://cloud.tencent.com/document/product/269/36887


Languages

Language:HTML 20.3%Language:JavaScript 17.7%Language:Java 11.7%Language:Dart 9.0%Language:Objective-C 8.9%Language:C++ 8.6%Language:C 7.3%Language:TypeScript 6.4%Language:C# 3.3%Language:Vue 2.4%Language:Swift 1.4%Language:CSS 1.2%Language:SCSS 1.0%Language:Makefile 0.3%Language:ShaderLab 0.2%Language:Objective-C++ 0.2%Language:Ruby 0.1%Language:CMake 0.1%Language:HLSL 0.0%Language:Python 0.0%Language:Shell 0.0%Language:Kotlin 0.0%