5.6.1200 @2021.08.31 - Enhanced Version - 增强版
harperhpliu
released this
22 Aug 07:16
·
1950 commits
to master
since this release
SDK
Common changes
- Improved the login speed.
- Added support for the international websites of Singapore, South Korea, and Germany.
- Added support for commercial HTTP DNS.
- Optimized the group attribute logic to solve the concurrency problem when group attributes are modified on multiple devices at the same time.
- Improved the message database query speed.
- Improved the network connection policy.
- Optimized the search of image, video, and voice messages.
- Reduced the time for getting the conversation list (
getConversationList
). - Optimized the third-party callback logic for server-side status change: when login on a device causes logout on another device, the server-side logout callback is no longer triggered.
- Removed the feature of read reporting for audio-video groups.
- Unified login error codes.
- Changed the friend search callback parameter
V2TIMFriendInfo
toV2TIMFriendInfoResult
so that the friend relationship can be determined based onrelationType
. - Added the API for getting offline push configuration for the message object.
- Fixed the occasional database crash during the update of user profiles.
- Fixed the database query and operation failures before SDK initialization is completed.
- Fixed the issue where read receipts became invalid after an app is uninstalled and then reinstalled.
- Fixed the issue where
onFriendListAdded
was occasionally called twice. - Fixed the failure to delete messages that are inserted locally.
- Fixed the issue where group profile custom fields were not saved when group notifications are saved to the database.
- iOS: removed the
Tag_Profile_Custom_
prefix when getting custom user fields and removed theTag_SNS_Custom_
prefix when getting custom friend fields. - Android: removed the carrier name and Wi-Fi information getting features and AndroidX dependency.
- Android: fixed crashes caused by non-UTF-8 encoding.
TUIKit and demo
- Added the pulling-by-page logic for group member list related pages.
- Android: optimized the issue where the entire conversation list was loaded each time a message was deleted or recalled.
- Android: optimized the issue where the group profile photo was loaded each time when the conversation list was loaded.
- iOS: fixed the issue where the displayed number of records was incorrect when a user clears the original keyword and enters a new one to search for messages.
- iOS: fixed the issue where searched custom messages were not displayed on the chat screen.
SDK
通用变更点
- 优化登录耗时
- 支持新加坡、韩国、德国国际站
- 支持商业化 Http DNS
- 优化群属性逻辑,解决多端同时修改群属性时的并发问题
- 优化消息数据库查询速度
- 优化连网策略
- 优化图片、视频、语音消息搜索
- 优化获取会话列表 getConversationList 耗时长的问题
- 优化了服务端的状态变更的第三方回调逻辑:新设备登录把旧设备踢下线时,不再触发服务端的logout回调
- 直播群不做已读上报
- 统一登录错误码
- 好友搜索回调参数由 V2TIMFriendInfo 修改为 V2TIMFriendInfoResult,方便根据 relationType 判断好友关系
- 消息对象增加获取离线推送配置的接口
- 修复更新个人资料偶现的数据库崩溃问题
- 修复 SDK 初始化完成前,查询和操作数据库失败的问题
- 修复卸载重装后单聊已读回执失效问题
- 修复 onFriendListAdded 偶现回调两次问题
- 修复无法删除本地插入的消息问题
- 修复群 tips 消息存入数据库时没有保存群资料自定义字段问题
- iOS 获取用户自定义字段时去掉 Tag_Profile_Custom_ 前缀,获取好友自定义字段时去掉 Tag_SNS_Custom_ 前缀
- Android 去掉运营商名称的获取,去掉 wifi 信息的获取,去掉 androidx 的依赖
- Android 解决非 utf-8 编码导致的崩溃问题
TUIKit & Demo
- 群成员列表相关界面增加分页拉取逻辑
- Android 优化每次删除或者撤回消息都会全部加载会话列表问题
- Android 优化每次加载会话列表都重复加载群头像问题
- iOS 清空关键词再次输入新关键词搜索消息时,显示的记录条数不准确问题
- iOS 修复搜索到的自定义消息在聊天界面不会展示的问题