This page contains an overview of all relevant changes made to the iOS SDK and the latest version releases
Introduce new api getChannels(channelIds: [String])
to query channel by ids. For further information please visit Get Channels.
Fixed issue where failed messages did not appear at the bottom of the live collection when a new message is sent.
Fixed issue where user would not get notified in case of error while updating current user information
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Added support for waiting for connectivity before sending message.
Added support for queuing of messages of similar types & retrying of message in case of network errors.
For further information please visit #message-resynchronization.
AmityCommunityMembership
Deprecated getMembers(membershipOptions: AmityCommunityMembershipFilterOption, roles: [String], sortBy: AmityCommunityMembershipSortOption)
please use getMembers(filter: AmityCommunityMembership.QueryFilter, roles: [String], sortBy: AmityCommunityMembershipSortOption)
instead.
Deprecated searchMembers(keyword: String, membership membershipOptions: AmityCommunityMembershipFilterOption, roles: [String], sortBy: AmityCommunityMembershipSortOption) -> AmityCollection<AmityCommunityMember>
please use searchMembers(keyword: String, filter: [AmityCommunityMembership.SearchFilter], roles: [String])
instead.
AmityMessageRepository
Deprecate deleteFailedMessage(_ messageId: String)
. Use softDeleteMessage(withId:)
instead.
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Added support for metadata when creating and updating image, file, audio and video message.
Added functionality to create private community channel.
Fixed crash issue when playing recorded livestream video.
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Fixed the issue where there were occasional crashes when unable to get the object.
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Introduced AmityMessageAttachment
in message create options structs.
Fixed the issue where the member list did not update after removing user in a group channel.
Deprecated init(subChannelId: String, imageURL: URL, caption: String? = nil, fullImage: Bool, tags: [String]? = nil, parentId: String? = nil)
in AmityImageMessageCreateOptions, use init(subChannelId: String, attachment: AmityMessageAttachment, caption: String? = nil, fullImage: Bool = true, tags: [String]? = nil, parentId: String? = nil)
instead
Deprecated init(subChannelId: String, fileURL: URL, fileName: String? = nil, caption: String? = nil, tags: [String]? = nil, parentId: String? = nil)
in AmityFileMessageCreateOptions, use init(subChannelId: String, attachment: AmityMessageAttachment, fileName: String? = nil, caption: String? = nil, tags: [String]? = nil, parentId: String? = nil)
instead.
Deprecated init(subChannelId: String, audioFileURL: URL, fileName: String? = nil, tags: [String]? = nil, parentId: String? = nil)
in AmityAudioMessageCreateOptions, use init(subChannelId: String, attachment: AmityMessageAttachment, fileName: String? = nil, tags: [String]? = nil, parentId: String? = nil)
instead.
Deprecated init(subChannelId: String, videoFileURL: URL, fileName: String? = nil, tags: [String]? = nil, parentId: String? = nil)
in AmityVideoMessageCreateOptions, use init(subChannelId: String, attachment: AmityMessageAttachment, fileName: String? = nil, tags: [String]? = nil, parentId: String? = nil)
instead.
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Updated Realm Swift v10.42.3
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Add new feature to preview latest message sent in channel or subchannel. For more information, please visit Message Preview
Add a new feature for SDK to collect and view data of post interaction. For more information, please visit Post Impression.
Introduced AmityRecordedStreamPlayer for enhanced livestream playback. This subclass of AVPlayer seamlessly integrates with AVPlayerViewController for an improved video-watching experience. For more information, please visit #play-recorded-videos.
Fixed issue where newly created message is not in correct position when observing through live collection
Fix community user got overwritten when it's a same user id on different community
Obsoleted watcherUrl and recordingData properties in AmityStream.
Use AmityVideoPlayer to watch livestreams since watcherUrl is obsoleted. For more information, please visit #play-a-live-stream
Use AmityRecordedStreamPlayer to watch recorded livestreams. For more information, please visit #play-recorded-videos
Xcode Version: 15.0
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Introduced an additional parameter in message query, called aroundMessageId, to support navigating to a specific message. For more information, please visit #navigating-jump-to-a-specific-message.
Fixed an issue where isDeleted property of message is not updated when message gets deleted.
Fixed a crash issue caused by QueryStreamReactor.
Xcode Version: 14.3.1
Realm Version: 10.42.3
Realm Swift Version: 10.42.3
Minimum Target: iOS 13.0
Introduced target: AmityCommentTarget
property in AmityComment
for retrieving targetId
and targetType
related to the comment. If targetType
is community type, the SDK will also provide creatorMember
which is AmityCommunityMember
.
Supported community users in comments for moderator role checking.
Added SwiftUI support for AmityCollection
and AmityObject
., for more information please visit #swiftui-support page.
Fixed the issue where MQTT events were not received in the SDK.
Xcode Version: 14.3.1
Realm Version: 10.41.1
Realm Swift Version: 10.41.1
Minimum Target: iOS 13.0
Fixed an issue where the message list jumps when adding reactions.
Xcode Version: 14.3.1
Realm Version: 10.42.0
Realm Swift Version: 10.42.0
Minimum Target: iOS 13.0
Added a new API to retrieve a comment using its ID.
Fixed an issue where the SDK would not update pendingCount
correctly after the user accepted or declined a follow action.
Fixed an issue with sub-channel sorting not updating after receiving a messa
Xcode Version: 14.3.1
Realm Version: 10.42.0
Realm Swift Version: 10.42.0
Minimum Target: iOS 13.0
Fixed an issue where the SDK incorrectly returned the follow relationship status in the followInfo call, especially when querying for multiple follow relationships.
Xcode Version: 14.3.1
Realm Version: 10.42.0
Realm Swift Version: 10.42.0
Minimum Target: iOS 13.0
Fixed the issue where the order of image messages was incorrect in certain cases.
Xcode Version: 14.3.1
Realm Version: 10.42.0
Realm Swift Version: 10.42.0
Minimum Target: iOS 13.0
Limited PostRepository.getPosts()
to exclude all deleted posts (both soft and hard deletes) not owned by the logged-in user, aligning with this#behavioral-change-announcement.
Fixed the issue where the myReactions
property is not updated correctly when a message is received.
Xcode Version: 14.3.1
Realm Version: 10.42.0
Realm Swift Version: 10.42.0
Minimum Target: iOS 13.0
Introduced the new Presence State feature in our SDK, allowing real-time synchronization of user statuses. Experience enhanced connectivity with online/offline indicators and seamless management of user presence within channels and users.
Supports unread mention status in user, channel, and subchannel levels. For further information, please refer to Unread Count page.
Xcode Version: 14.3.1
Realm Version: 10.41.1
Realm Swift Version: 10.41.1
Minimum Target: iOS 13.0
Updated Realm version to 10.42.0 and fixed a random Realm crashes.
Xcode Version: 14.3.1
Realm Version: 10.42.0
Realm Swift Version: 10.42.0
Minimum Target: iOS 13.0
Fixed the issue where the number of following/followers does not update.
Xcode Version: 14.3.1
Realm Version: 10.41.1
Realm Swift Version: 10.41.1
Minimum Target: iOS 13.0
Resolved an issue that occasionally caused duplicate message displays within the message list.
Xcode Version: 14.3.1
Realm Version: 10.41.1
Realm Swift Version: 10.41.1
Minimum Target: iOS 13.0
Fixed the issue of unread counts not reflecting correctly after a topic is hard deleted.
Fixed the issue of unread counts not being synchronized correctly after a user is removed or banned.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Introduced AmityFileRepository where users can now delete uploaded files by using deleteFile API. For further information, please visit #delete-files
Added getFile API to retrieve the AmityRawFile. AmityRawFile provides transform functions to map it into the correct file data type. For further information, please visit #retrieve-files
Fixed the issue where the SDK does not show all tagged message lists when querying with a tag.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Resolved the issue of incorrectness in the user's search result.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Fixed the issue where the unread count does not sync when two devices, both using the same account, are opened simultaneously.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
This update fixes returning missing messages when specified includingTags
as one of the query options.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Fixed an issue where searching for users with keywords would return incorrect results.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
This update fixes returning wrong result when searching user with keyword.
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Introduce a new feature which now supports unread count on multiple devices. When the user logs in to two devices with the same account and uses the chat feature simultaneously, the user should see the correct update of the unread count.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Support Library Evolution in AmitySDK and UIKit, ensuring forward compatibility with future Xcode versions 🎉.
Resolved an issue with the sort order for user lists and community categories.
Fixed a crash that occurred when searching for channel members with roles.
Xcode Version: 14.3.1
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Added async API support to more functions. Please visit iOS SDK v6.9.0 Deprecation Note for more information.
Xcode Version: 14.3
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
This update fixes crash issue on linked libraries.
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Fix issue when clicking "unlike" on a post with multiple likes, the number of likes should decrease by only 1 instead of resetting to 0.
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Introduce new creator
object which returns AmityUser
in AmityReaction
model.
Xcode Version: 14.3
Realm Version: 10.39.1
Realm Swift Version: 10.39.1
Minimum Target: iOS 13.0
Add async APIs support on more functions, please check the newly supported functions in the deprecation note below.
- Xcode Version: 14.1
- Realm Version: 10.32.2
- Realm Swift Version: 10.32.2
- Minimum Target: iOS 13.0
Introduce message delivered count.
Introduce mark all messages in a channel as read
For further information please visit Unread Count.
- Xcode Version: 14.1
- Realm Version: 10.32.2
- Realm Swift Version: 10.32.2
- Minimum Target: iOS 13.0
Introduce blocking/unblocking user feature.
Introduce unread count in channels and subchannels.
Add async APIs in AmityFileRepository
, AmityReactionRepository
, AmityUserNotificationsManager
and AmityChannelParticipation
.
Deprecated completion handler based APIs in these classes. Use async APIs instead.
AmityFileRepository
uploadImage, uploadFile, uploadVideo, downloadFile
AmityReactionRepository
addReaction, removeReaction
AmityUserNotificatonsManager
enable, disable
AmityChannelParticipation
addMembers, removeMembers
- Xcode Version: 14.1
- Realm Version: 10.32.2
- Realm Swift Version: 10.32.2
- Minimum Target: iOS 13.0
Fix channel user role does not persist properly.
Fix sometimes crash on initialize AmityClient
Fix issue where message `isEdited` property would be true even when message was not edited.
Fix crash while watching live stream videos.
- Xcode Version: 14.1
- Realm Version: 10.32.2
- Realm Swift Version: 10.32.2
- Minimum Target: iOS 13.0
Fixed an issue that was causing random crashes during the initialization of the AmityClient
.
Fixed an issue that was causing random crashes while watching live stream videos.
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
The error messages have been improved to provide more clarity in certain cases. In particular, the error 800000 unknown has been dealt with in more detail.
Improved the error messages for more clarity in certain cases.
Xcode Version: 14.1
Realm Version: 10.28.3
Fixed issue where the SDK crashes on initializing AmityChannelRepository
.
Xcode Version: 14.1
Realm Version: 10.32.2
Realm Swift Version: 10.32.2
Minimum Target: iOS 13.0
Fixed issue where the SDK crashes for some users with the error message "Cannot register notification blocks from within write transactions".
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
AmityUser
Live Collection now supports the automatic addition of new objects via real-time events. Affected APIs:
Fixed issue where the SDK crashes for some users with the error message "Cannot register notification blocks from within write transactions".
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Fixed issue where the SDK crashes for some users with the error message "Cannot register notification blocks from within write transactions".
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Fixed issue where local cache was cleared on query channels with 'firstPage'.
Xcode Version: 14.1
Realm Version: 10.32.2
Realm Swift Version: 10.32.2
Minimum Target: iOS 13.0
AmityCommunityMember
Live Collection now supports the automatic addition of new objects via real-time events. Affected APIs:
Added new API for searching community members with keywords.
AmityCommunity
Live Collection now supports automatic addition of new items via real-time events. Affected APIs:
Added async/await API for deleteMessage
, createCustomMessage
, createTextMessage
, createImageMessage
, createAudioMessage
, createFileMessage
and createVideoMessage
in AmityMesageRepository
.
Introduced the ability to delete on a specific poll post.
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Introduced Sub Channel functionality. Now users can create sub channels inside a channel.
All deprecated interfaces from AmitySDK v5.x.x has been removed in AmitySDK v6.0.0.
AmitySDK v6.0.0 has been written in PureSwift. This version has breaking changes in api interfaces. Please refer to the migration guide for more details.
Events related to channels of type Community & Conversation are automatically subscribed. To receive events for other type of channels, user needs to subscribe to it explicitly.
For subscribing to channel topics, create an instance of the AmityChannelTopic class and use the AmityTopicSubscription class to subscribe to it.
Xcode Version: 14.1
Realm Version: 10.32.2
Realm Swift Version: 10.32.2
Minimum Target: iOS 13.0
Introduced Session State Management to describe the authentication status of the client device.
Introduced new login API
Added sesionState
API to AmityClient
Added issuedAt
, expiresAt
API to AmityUserToken
Fixed issue where the user could not send a reply to image messages
Fixed issue where the user could not see the existing message when editing it
Deprecated connectionState
API
Deprecated old login API
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
SDK Upgrade
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Upgraded the post settings feature. When a moderator role is demoted to a user role, post creation must be approved by a moderator.
Introduced the ability to get video thumbnail image data from video messages using the AmityMessage.getVideoThumbnailImageInfo()
function.
Fixed issue where the application crashes when a globally banned user sends a message in a channel.
Xcode Version: 14.1
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Introduced the ability for User roles to create community with “Admin can post only” settings.
Fixed issue where the global feed is not updated after creating a post in the community feed or user feed.
Xcode Version: 14.0
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Introduced the ability to query poll type.
Introduced the ability to query message by type.
Fixed issue where channels with a certain ID were not retrieved correctly.
Xcode Version: 14.0.0
Realm Version: 10.28.3
Minimum Target: iOS 13.0
Fixed issue where the application crashes with errorCannot
register notification blocks from within write transactions when fetching Live Object or Live Collection within observe block.
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Introduced the ability to create video messgaes in Live, Broadcast, Community and Chat channels.
When creating a poll post, the setTimeToClosePoll
value is set to 30 days by default if the user does not set any value.
Fixed issue where the application crashes when the user adds a reaction to a message.
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Fixed issue where SDK tries to query the current user after logging in.
Fixed issue where the isJoined
property for AmityCommunity
is not updated properly when a user leaves the community.
Fixed issue where the URL of the downloaded file is the same for multiple downloads.
Non-members with the User role can no longer be able to get information about the conversation channel.
Non-members with the User role can no longer query messages within the conversation channel.
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Fixed issue where reaction count was incorrect
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Community query is now case-insensitive! You no longer have to match the case sensitivity of the community’s display name when querying for a community.
System now displays an error message while uploading HDR video format
Fixed issue where reaction count becomes deficit
Fixed muting channel members issue
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Enhanced Video on Demand (VOD) configurations. Videos you upload with our SDK can now be transcoded to 4 different resolutions (from 360p to 1080p) with a maximum file size of 1 GB and a duration of up to 2 hours.
New method uploadVideo(with:forFeedType:progress:completion:)
is added in AmityFileRepository
Fixed issue where automatic invalidation of live collections happen once the session is logged out
Fixed issue where all SDK async functions are forced to be invoked on the main thread
Fixed issue where user cannot view post which has multiple videos
Deprecated uploadVideo(with:progress:completion:)
method in AmityFileRepository
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Enhanced LiveCollections for message reactions. Newly created reactions are now automatically added into the collection. Affected APIs:
Enhanced LiveCollections for followers/following users. Newly created followed/unfollowed are now automatically added into the collection. Affected APIs:
Fixed realtime events .myFollower
and .myFollowing
in AmityFollowTopic
which subscribes to the wrong path
Fixed issue where user cannot submit vote when a poll is closed
Fixed issue where user cannot edit caption when a poll is closed
Updated Realm version to 10.28.3
DeprecatedAmityMessageReactor
class. Please use AmityReactionRepository
instead.
Xcode Version: 13.4.0
Realm Version: 10.28.3
Minimum Target: iOS 12.0
Enhanced LiveCollections for users and community post. Newly added comments are now automatically added into the collection. Affected APIs:
Xcode Version: 13.4.0
Realm Version: 10.26.0
Minimum Target: iOS 12.0
Enhanced LiveCollections for user and community posts. Newly created posts are now automatically added into the collection. Affected APIs:
Introduced real-time event for channel deletion
Fixed issue with app crashes when searching members with AmityCommunityRepository
Fixed some SDK errors to no longer show empty error messages
Xcode Version: 13.4.0
Realm Version: 10.26.0
Minimum Target: iOS 12.0
Introduced ability to manage community post settings via SDK (i.e. 'Only Admins Can Post' or 'Approve Member Posts')
Fixed issue where users who weren't logged in were receiving push notifications.
Xcode Version: 13.4.0
Realm Version: 10.26.0
Minimum Target: iOS 12.0
Updated Realm to 10.26.0
Xcode Version: 13.4.0
Realm Version: 10.26.0
Minimum Target: iOS 12.0
Added channel async/await APIs including create / join / update / leave.
Deprecate channel create / join update / leave that returns live object. Please use equivalent channel async/await APIs instead.
Real time update of user deletion
Xcode Version: 13.2
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Update image and file post by adding/removing them from the existing post
Xcode Version: 13.2
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Add isDeleted property to AmityUser.
Fix issue where message unread count indicates incorrect value.
Xcode Version: 13.2
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Update video post by adding/removing the video from the existing post
Realtime events for comments and posts in the user feed
Fix a channel member list sorting issue
Fix issue where querying channels with empty result doesn’t trigger completion block
Fix issue where targetUser
and sourceUser
from AmityFollowRelationship
are always null when querying following/follower list
Xcode Version: 13.2
Realm Version: 10.21.1
Minimum Target: iOS 12.0
New API to support Real Time Events for User follow/unfollow
New API which returns My Follow Info and User follow Info as Live Object
New properties createdDate
and updatedDate
to AmityChannelMember
Fix channel member list sorting issue
Deprecate getMyFollowInfo:completion
and getUserFollowInfo:completion
API
Xcode Version: 13.1
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Fix issue where unreadCount
in AmityChannel
class isn’t updated and miscalculated
Fix issue where new messages sent by another user don't appear while observing AmityMessageListScreenViewModel.getMessages(:)
Xcode Version: 13.1
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Fix crash related to mqtt realtime events on SDK
Fix issue where community category did not update when realtime event is received
Fix unregister notification issue
Fix mention highlight issue for reply
Framework installation via Cocoapods doesn’t support running on M1 natively
Xcode Version: 13.1
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Create a livestream post with mentions
Add push notification log menu in the sample app
Fix mention selection issue in editing mode for a message
Fix comment reply mention highlight issue after editing
Fix crash issue when fetching channel with certain filter
Version: 13.1
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Create a poll post with mentions
Fix mention highlight issue after editing a message
Fix channel filter issue
Fix compose bar appearance issue after mentioning in a comment
Fix mentioned user remove issue on edit message page
Xcode Version: 13.1
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Hard delete post and comment
Old mentions in a message will not be removed after editing the message
Custom post ranking global feed to support a score-sorting mechanism
User level notification error
Live collection allObjects
API
Compose bar text wrapping issue when creating a message, post, and comment
Add hardDelete
parameter to Post and Comment deletion API
Xcode Version: 13.1
Realm Version: 10.21.1
Minimum Target: iOS 12.0
Add properties createdAt, updatedAt, rateLimit to AmityChannel.
Add AmityClient.disconnect() API
Add support for real time events for social module
Create/Update comment/reply with mention
Update many functions documentation in SDK
Rename AmityClient
functions
Rename AmityMessageMentionMetadata
to AmityMentionMapper
Change AmityClient
initializer to throwable initializer
Change all message creation API in AmityMessageRepository
to callback-style
Before SDK 5.9.0
SDK 5.9.0
Simplify channel creation API
Before SDK 5.9.0: The API requires chaining .channelType(with:)
after calling .createChannel()
SDK 5.9.0: The builder can be passed to createChannel(with:)
directly
Simplify channel update API
Before SDK 5.9.0: Developers need to create an updater and call updater.update()
SDK 5.9.0: Developers can call updateChannel(with:)
directly
Simplify channels query API
Before SDK 5.9.0: Developers need to create a query builder for a specific channel type. To pass the query builder, developers need to pick the correct channel type function after .getChannel()
call
SDK 5.9.0: Developers can create a generic AmityChannelQuery
and pass it to .getChannels(with:)
directly. To filter channel types, developers can set query.types which the value can be found in AmityChannelQueryType
.
Deprecate the following methods:
AmityClient(apiKey:_, httpUrl:_, socketUrl:_)
AmityClient(apiKey:_, url:_)
Use the following methods instead:
Use AmityClient(apiKey:_, region:_)
AmityClient(apiKey:_, endpoint:_)
methods instead.
AmityRegionalEndpoint
is now deprecated. Use AmityRegion
instead.
clientErrorDelegate
in AmityClient
is now deprecated. A new delegate
property is introduced in AmityClient
. Now you can observe connection status change through delegate itself.
Xcode Version: 13.1
Realm Version: 10.20.0
Minimum Target: iOS 12.0
Create/Update text, image, video and file post with mention
New addRoles
and removeRoles
functions to add and remove roles respectively in AmityCommunityModeration
Add isGlobalBan
property in AmityUser
to show whether user is globally banned or not
New AmityCommunityMembershipFilterOption
filter option for community membership
New buildForPostUpdate
method in AmityPostBuilder
protocol to update post
New buildForPostUpdate
method in AmityImagePostBuilder
and AmityFilePostBuilder
addRole
and removeRole
methods are deprecated in AmityCommunityModeration
filter
parameter is removed and a new membershipOptions
parameter is provided for getMembers
function to filter community members in AmityCommunityParticipation
setFileData
is renamed to setFiles
method in AmityFilePostBuilder
setImageData
is renamed to setImages
method in AmityImagePostBuilder
Xcode Version: 13.1
Realm Version: 10.20.0
Minimum Target: iOS 12.0
App crashes when calling getMyFollowerList()
or getMyFollowingList()
of AmityUserFollowManager
Xcode Version: 12.5
Realm Version: 10.12.0
Minimum Target: iOS 12.0
Fix community search issue
Fix realm crash by checking if realm session object is still valid before accessing it
Xcode Version: 12.5
Realm Version: 10.12.0
Minimum Target: iOS 12.0
Remove mentionedUsers
array from AmityMessage
model and provide mentionees
(AmityMentionees
) array instead
Do not mention banned users
Do not mention user who left the channel
AmityMessageFlagger
class requires id
of the message in init method
AmityUserFlagger
class requires user id
in init method
AmityCommentEditor
class requires id
of the comment in init method
AmityMessageReactor
class requires id
of the message in init method
Xcode Version: 12.5
Realm Version: 10.12.0
Minimum Target: iOS 12.0
Realm exception in release 5.6.0
Xcode Version: 12.5
Realm Version: 10.12.0
Minimum Target: iOS 12.0
Support for mention in TEXT
messages
Search members by display name
Provide unread mention information
Provide mention channel configuration
Xcode Version: 12.5
Realm Version: 10.12.0
Minimum Target: iOS 12.0
Upgrade realm to version 10.12.0
Updated channel cache data when ban event is received, while joining channel, and querying messages
Fixed issue where category values are incorrect for community
Fixed issue where comment count does not reflect the correct value after removing comments
Introduce AmityPostRepository
Added getPosts(:_)
method for querying post by filter options
Deprecated post related functions in AmityFeedRepository
. All equivalent functions are moved to AmityPostRepository
.
Feed type querying improvements
Fix issue where create post does not return proper data in the completion
Revise a completion block of createPost:
and updatePostWithPostId:
methods in AmityFeedRepository
from AmityRequestCompletion
to AmityPostRequestCompletion
AmityPostRequestCompletion
represents to (AmityPost?, Error?) -> Void
Add a function for getting post count by feed type to the AmityCommunity
model.
Add a function for getting isPostReviewEnabled
function to the AmityCommunity
model.
Add new permission AmityPermission.reviewCommunityPost
type
Add api for setting isPostReviewEnabled
value on create and update community builder.
Add a property followManager
to AmityUserRepository
to provide follow feature functionalities
Add a method to create a Follow request.
Add a method to withdraw a Follow request.
Add a method to accept a Follow request.
Add a method to decline a Follow request.
Add a method to get a Follow status.
Add a method to get a Follower user list.
Add a method to get a Following user list.
Add a method to get a Follow request list.
Add AmityFeedType
enum
Add a function for getting feed type to the AmityPost
model.
Add api for community feed query by feed type.
Add api for post approval.
Introduce feedType
parameter to getCommunityFeed(:_)
function in AmityCommunityRepository
. Set a parameter .published
to support a usual behavior.
A live object ofAmityUser
where provides by AmityCommunityMember
and AmityChannelMember
are changed to normal object.
Introduce a completion parameter to registerDeviceWithUserId(:_)
in AmityClient
Fix socket connection state that causes feed cannot be loaded
Fix issue where token does not update correctly
Fix issue where collection is not triggered when there is empty result
Fix edited date does changed after the comment get updated
Fix no response issue when uploading multiple images
Fix crash when fetching user
Fix issue where custom messages are not parsed correctly
Fix crash when setting up custom avatar for in AmityClient
class.
All public methods and classes which contained Eko prefix renamed to Amity: EkoClient
renamed to AmityClient
, EkoChat
renamed to AmitySDK
Some classes and methods are modified or removed:
Remove classes: EkoMessageReactor
, EkoMediaRepository
.
Rename method: messages
to getMessages
in AmityMessageRepository
class.
Add class: AmityUserUpdateBuilder
- to build updates for user
Add method: setAvatar(avatar: AmityImageData?)
- to set user avatar
The full description can be found here
Introduced a new moderatorCount
property in AmityChannel
to show the total number of in the channel.
Before SDK 5.9.0 | SDK 5.9.0 |
---|---|
registerDevice(...)
login(...)
unregisterDevice()
logout()