English | Chinese
New features
- React-Native upgrade to 0.71.11 from 0.66.5
Improvements
- Dependent native SDK upgraded to version 4.1.1 ('iOS' and 'Android'). Add new features provided by the native SDK.
- Optimize the disconnection notification, separate the notification of the server's active disconnection, and the user can specifically deal with the reason for the server's active disconnection.
- Optimize git commit specification with commitlint. Code cannot be submitted if it is not in accordance with the specification.
- Optimize git commit with lefthook. Add sensitive information check with gitleaks.
- Add merge type message body, create merge message method, and get merge message content method.
- Support for modifying the content of text messages and adding modification attributes.
- Added message modification callback notification.
- Added settings to customize the current device type and name.
- Added the use of tokens to kick specified devices and kick all devices.
- Added the use of token to get the list of online devices.
- Update multi-device notification events.
- Update connection status notification event.
- Update message notification event.
- Update chat room notification event.
Issues fixed
- Fix the problem that the application crashes due to the addition of emoticon responses under the android platform.
Rename API
deleteConversationAllMessages
is renameddeleteAllMessages
.
Updated API
getLoggedInDevicesFromServer
: add token support.kickDevice
: add token support.kickAllDevices
: add token support.
Added API
fetchConversationsFromServerWithCursor
: Get the list of conversations from the server with pagination.fetchPinnedConversationsFromServerWithCursor
: Get the list of pinned conversations from the server with pagination.pinConversation
: Sets whether to pin a conversation.modifyMessageBody
: Modifies a local message or a message at the server side.fetchCombineMessageDetail
: Get information about combine type messages.selectPushTemplate
: Select the push template with template name for offline push.fetchSelectedPushTemplate
: Get selected push template for offline push.
Deprecated API
- fetchAllConversations: please use
fetchConversationsFromServerWithCursor
instead.
Update Data Object
ChatConversation
: addisPinned
andpinnedTime
properties.ChatMessageType
: addCOMBINE
type message body.ChatMessage
: addreceiverList
property.- create send message: add
secret
parameter. ChatMessageBody
: addlastModifyOperatorId
,lastModifyTime
andmodifyCount
properties.ChatOptions
: addenableEmptyConversation
,customDeviceName
andcustomOSType
properties.ChatMultiDeviceEvent
:添加CONVERSATION_PINNED
、CONVERSATION_UNPINNED
和CONVERSATION_DELETED
。
Add Data Object
ChatCombineMessageBody
: add combine message body object.
Update Listener
ChatConnectEventListener.onUserDidLoginFromOtherDevice
: adddeviceName
parameter.ChatConnectEventListener
: addonUserDidRemoveFromServer
,onUserDidForbidByServer
,onUserDidChangePassword
,onUserDidLoginTooManyDevice
,onUserKickedByOtherDevice
,onUserAuthenticationFailed
event notifications.ChatConnectEventListener.onDisconnected
: remove code parameter.ChatMultiDeviceEventListener
: addonMessageRemoved
event notification.ChatMultiDeviceEventListener
: addonConversationEvent
event notification.ChatMessageEventListener
: addonMessageContentChanged
event notification.ChatRoomEventListener.onRemoved
: addreason
parameter.
New features
- Dependent native SDK upgraded to version 4.0.2 ('iOS' and 'Android').
- Added the api to get the current SDK version.
- Adds the
setMemberAttribute
group manager api. - Adds the
fetchMemberAttributes
group manager api. - Adds the
fetchMembersAttributes
group manager api. - Adds the
fetchHistoryMessagesByOptions
chat manager api. - Adds the
deleteMessagesWithTimestamp
chat manager api.
Improvements
- Remove sensitive information.
- Improve log.
- Adds
ChatGroupEventListener.onMemberAttributesChanged
notification. - Updates the
fetchHistoryMessages
chat manager api. - Adds
ChatConnectEventListener.onAppActiveNumberReachLimit
notification. - Optimized file types messages for iOS.
Issues fixed
renewAgoraToken
: Repair update token interface.- Fixed failure to send video messages on android.
Issues fixed
- 'fetchJoinedGroupsFromServer' fixed the issue that the extended attribute of fetching joined public groups was empty.
New features
- Upgrades the native platforms
iOS
andAndroid
to 1.1.0. - Adds the function of managing custom chat room attributes.
- Adds the
fetchConversationsFromServerWithPage
method to allow users to get the conversation list from the server with pagination. - Adds the
ChatMessage#messagePriority
method to implement the chat room message priority. - Adds the
removeMessagesFromServerWithTimestamp
andremoveMessagesFromServerWithMsgIds
methods to allow users to delete messages on the server in a unidirectional way.
Improvements
- Removed the sensitive information from the test data.
- Changed the
inviterUser
method in theChatGroupManager
class toinviteUser
. - Changed
GROUP_ADD_USER_WHITE_LIST
in the enumeration typeChatMultiDeviceEvent
toGROUP_ADD_USER_ALLOW_LIST
. - Changed
GROUP_REMOVE_USER_WHITE_LIST
in the enumeration typeChatMultiDeviceEvent
toGROUP_REMOVE_USER_ALLOW_LIST
.
Issues fixed
- Some insecure code of native platforms was fixed.
- An issue where getting a session might fail.
- The potential deadlock issue caused by a callback method that repeatedly enters the main thread for execution. This issue occurs only on the iOS platform.
What's new
- Dependent native SDK upgraded to version 3.9.9 ('iOS' and 'Android').
Issues fixed
- Fixed SDK crash in extreme cases.
- Other fixes, see versions 3.9.8 and 3.9.9 ('iOS' and 'Android').
Issues fixed
- json conversion on the android platform may have an overlimit problem. If more than 50 data elements are returned, an exception will be thrown. An interface that involves returning arrays.
Improvements
- The dependent native SDK iOS is upgraded to V3.9.7.1.
Issues fixed
- Fixed the chat room attribute bug.
- Updated the group listener.
The following Object are updated:
ChatGroupEventListener
addonDetailChanged
notification.ChatGroupEventListener
addonStateChanged
notification.
Improvements
- The dependent native SDK (iOS and Android) is upgraded to V3.9.7.
- Added chat room custom attribute function.
- Added group disabled status in group details: isDisabled property, which needs to be set by the developer on the server side.
- Optimized the performance of getting roaming messages.
- Added area code for server.
Issues fixed
- Fixed the problem that in a few scenarios, when the message volume is large when synchronizing or pulling messages, the collection fails.
- Fixed incorrect data statistics.
- Fixed a crash caused by printing logs on rare occasions.
The following APIs are added:
updatePushNickname
: update push display name.updatePushDisplayStyle
: update push display style.fetchPushOptionFromServer
: get push option from server.fetchChatRoomAttributes
: get chat room custom attributes.addAttributes
: add chat room custom attributes.removeAttributes
: remove chat rom custom attributes.ChatPushDisplayStyle
: the push display style.ChatPushOption
: the push display option.ChatAreaCode
: the area code.
The following APIs are renamed:
ChatGroupPermissionType
is renamedChatGroupType
.
The following Object are updated:
ChatGroupOptions
addisDisabled
attribute.ChatRoomEventListener
addonSpecificationChanged
,onAttributesUpdated
,onAttributesRemoved
attribute.
Improvements
- The dependent native SDK (iOS and Android) is upgraded to V3.9.5.
- Support push notification settings operation. see {@link ChatPushManager}
- Support push config setting for FCM. see {@link ChatPushConfig}
- Support push initialization Settings. see {@link ChatOptions#pushConfig}
- Support push config setting update. see {@link ChatClient#updatePushConfig}
- The listener method has been made optional.
- Update the release script.
- sync update demonstration app.
Issues fixed
- Fix bug: Json parse error for type field.
The following APIs are added:
setConversationExtension
: set conversation extension.insertMessage
: insert a message.deleteMessagesBeforeTimestamp
: Deletes messages before the specified timestamp.getThreadConversation
: Gets or creates a conversation for thread.
The following APIs are renamed:
unSubscribe
is renamedunsubscribe
.
The following Object are updated:
ChatConversation
addisChatThread
attribute.
New features
- Add a field {@link ChatMessage#isOnline} in chat messages.
Improvements
- The API reference example is updated.
- The dependent native SDK (iOS and Android) is upgraded to V3.9.4.
- React-Native upgrade to 0.66.4 LTS version.
- The android platform no longer needs to perform additional operations.
- agora-react-native-chat was changed to react-native-agora-chat.
The following APIs are renamed:
deleteRemoteConversation
is renamedremoveConversationFromServer
.loadAllConversations
is renamedgetAllConversations
.getConversationsFromServer
is renamedfetchAllConversations
.getUnreadMessageCount
is renamedgetUnreadCount
.fetchLatestMessage
is renamedgetLatestMessage
.fetchLastReceivedMessage
is renamedgetLatestReceivedMessage
.unreadCount
is renamedgetConversationUnreadCount
.getMessagesFromTime
is renamedgetMessageWithTimestamp
.WhiteList
is renamedAllowList
.BlackList
is renamedBlockList
.
The following API are deprecated and removed:
getMessageById
insertMessage
appendMessage
Issues fixed
- Fix bug: Type declaration entry point is incorrect
- Optimize: The android platform no longer needs to perform additional operations.
- Implement IM foundation functions.
- Implement base message send and receive functions.
- Implement group functions.
- Implement chat room functions.
- Implement contact functions.
- Implement user functions.
- Implement user presence functions.
- Implement message moderation functions.
- Implement message translation functions.
- Implement message reaction functions.
- Implement message thread functions.
- The dependent native SDK (ios and android) was upgraded to version 3.9.3.