This page provides release notes for the Agora Chat iOS SDK.
V1.0.7
v1.0.7 was released on September 7, 2022.
New features
- Adds the
isDisabled
attribute to AgoraChatGroup
to indicate whether a group is disabled. This attribute needs to be set by developers at the server side. This attribute is returned when you call the getGroupSpecificationFromServerWithId
method to get group details.
- Adds custom error information to the error information returned to the message sender when the pre-sending callback service declines to send the message.
- Adds the error code 1101 (
AgoraChatErrorPresenceCannotSubscribeSelf
) to indicate that users cannot subscribe to their own presence.
- Adds
AgoraChatLogDelegate
to implement SDK running log callbacks.
Improvements
- Changed the
chatManager/contactManager/groupManager/threadManager/roomManager/pushManager
attribute in AgoraChatClient
from _Nonnull
to _Nullable
. The value of this attribute is Nil
prior to the the SDK initialization.
- Optimized the login process for quicker login.
- Upgraded the message encryption algorithm from CBC to GCM.
Fixed issues
- When users logged out and the push certificate was unbinded from the device, crashes occurred if the push certificate was not set during SDK initialization.
- Typos in some methods.
v1.0.6
v1.0.6 was released on Jul 22, 2022.
New features
- Supports marking whether a message is an online message by using the
onlineState
member in AgoraChatMessage
.
- Adds an error code 509
AGORAMESSAGECURRENTLIMITING
in AgoraChatError
, which means that the chat group message has exceeded the concurrent limit.
- Adds an
groupSpecificationDidUpdate
callback in AgoraChatGroupManagerDelegate
, which occurs when the state specification updates.
- Adds a
bindDeviceToken
method in AgoraChatPushManager
, which binds the device token.
Improvements
- Improved thread-related methods and classes. Compared with earlier releases, this release used
AgoraChatThread
to replace AgoraChatThreadInfo
.
- Assigned a value to
aGroupName
in the groupInvitationDidReceive
callback.
- Upgraded the network link library.
- Supported sending messages with a remote address as the attachment.
Issues fixed
- The retrieved reaction object was empty.
v1.0.4
v1.0.4 was released on May 15, 2022.
New features
- Supports reaction, which enables users to add reaction emojis to the specified message.
- Supports content moderation with the reportMessage method.
- Supports message push configuration, which enables users to configure various push settings.
Improvements
- Enhanced DNS configuration for retrieving the server access point.
- Improved data reports.
- Changed openssl to boringssl.
v1.0.3.1
v1.0.3.1 was released on April 27, 2022. This release fixed the occasional issue of not being to display the retrieved historical messages.
v1.0.3
v1.0.3 was released on April 19th, 2022.
New features
- Supports the presence feature, which indicates the online status of the user.
- Supports translation. You can implement translation on the recipient's client, or auto-translation on the sender's client.
Improvements
- Shortened the time out for sending messages.
- Enhanced the request success rate.
v1.0.2
v1.0.2 was released on Feb 23, 2022.
New features
- Supports deleting conversations on the server.
- Supports synchronization of do-not-disturb events when the user ID is logged in to multiple devices.
- Supports customizing messages using extension fields, badges, CMD messages for message push.
- Supports sending and receiving image files in PNG.
- Adds an error code 221
EMErrorUserNotOnRoster
which is reported when the user sends a message to another user that is not a contact.
Improvements
- Reduced the time for preparing to send messages under poor network conditions.
- Supports calling Objective-C methods in Swift projects.
Issues fixed
- The message re-sending was interrupted by the connection success event.
- Memory leak.
- Crashes caused by incorrect time calculation.
v1.0.1.1
v1.0.1.1 was released on December 30, 2021.
This release fixed an issue where the database failed to load under extreme conditions.
v1.0.1
v1.0.1 was released on December 27, 2021.
New features
v1.0.1 adds the following features:
- Supports setting the building name when creating a location message.
- Supports deleting local messages before a specific time.
- Supports getting the count of messages in one conversation.
Fixed issues
This release fixed the following issues:
- Some crash issues occurred.
- An issue occurred in the database encryption.
- After a user deleted and reinstalled the chat app, the automatic login was still enabled.
API changes
v1.0.1 adds the following APIs:
createLocationSendMessage
[1/2]
deleteMessagesBeforeTimestamp
getAllMsgCount
v1.0.0
v1.0.0 was released on December 6, 2021.
This release has an issue that the database occasionally fails to load. Agora recommends you upgrade to the latest version as soon as possible.
New features
This release supports getting the users' login status through the isLoggedIn
and isLoggedInBefore
methods.
Improvements
This release makes the following improvements:
- Optimizes the logic of renewing push tokens, reducing server request times.
- Improves the login speed.
- Uses only HTTPS for REST operations by default.
- Optimizes the logic of token expiration.
- No longer checks whether the user is a member of the group upon receiving a group message.
Fixed issues
This release fixed the following issues:
- Crashes occurred in certain scenarios.
- The callbacks for token expirations were not triggered accurately.