This guide is to provide information about breaking changes and how to migrate from 6.x.x version to v7.0.0. AmitySDK 7.0.0 is the major release of our SDK.
UserRepository
Methods
Changes
Remarks
declineFollower
Removed
Use declineMyFollower instead
acceptFollower
Removed
Use acceptMyFollower instead
getViewedUsers
Removed
Use getReachUsers instead
observeUser
Removed
Use getUser instead
observeFollowers
Removed
Use getFollowers instead
observeFollowings
Removed
Use getFollowings instead
observeFollowInfo
Removed
Use getFollowInfo instead
SubChannelRepository
Methods
Changes
Remarks
startReading
Removed
Use startMessageReceiptSync instead
stopReading
Removed
Use stopMessageReceiptSync instead
StreamRepository
Methods
Changes
Remarks
queryStreams
Removed
Use getStreams instead
getStream
Removed
Use getStreamById instead
CommunityRepository
Methods
Changes
Remarks
getTopTrendingCommunities
Removed
Use communityRepository instead
observeCommunity
Removed
Use getCommunity instead
ChannelRepository
Methods
Changes
Remarks
markAsRead
Removed
Use Amity.Channel.markAsRead instead
observeChannel
Removed
Use getChannel instead
observeChannels
Removed
Use getChannels instead
PostRepository
Methods
Changes
Remarks
updatePost
Removed
Use editPost instead
observePost
Removed
Use getPost instead
observePosts
Removed
Use getPosts instead
PollRepository
Methods
Changes
Remarks
observePoll
Removed
Use getPoll instead
CommentRepository
Methods
Changes
Remarks
observeComment
Removed
Use getComment instead
observeComments
Removed
Use getComments instead
FileRepository
Methods
Changes
Remarks
observeFile
Removed
Use getFile instead
createFile
Removed
Use uploadFile instead
createImage
Removed
Use uploadImage instead
createVideo
Removed
Use uploadVideo instead
MessageRepository
Methods
Changes
Remarks
observeMessage
Removed
Use getMessage instead
observeMessages
Removed
Use getMessages instead
FeedRepository.getCustomRankingGlobalFeed
Parameters | Property
Changes
Remarks
page
Removed
Use queryToken instead
nextPage
Removed
Use paging.next instead
prevPage
Removed
Use paging.previous instead
FeedRepository.queryGlobalFeed
Parameters | Property
Changes
Remarks
nextPage
Removed
Use paging.next instead
prevPage
Removed
Use paging.previous instead
useCustomRanking
Removed
Use getCustomRankingGlobalFeed instead
page
Removed
Use queryToken instead
queryRoles
Parameters | Property
Changes
Remarks
page
Removed
Use queryToken instead
AmityClient
Property | Methods
Changes
Remarks
stopUnreadSyncing
Removed
Use startUnreadSync instead.
getTotalUnreadCount
Removed
Use getUserUnread instead.
AmityChannel
Property
Changes
Remarks
messageCount
Removed
Use messageCount from sub channel
unreadCount
Removed
Use subChannelsUnreadCount instead
hasMentioned
Removed
Use isMentioned instead
AmitySubChannel
Property
Changes
Remarks
hasMentioned
Removed
Use isMentioned instead
CommunityRepository.getCommunities
Parameter
Changes
Remarks
DisplayName
Removed
DisplayName parameter is removed getCommunites and use searchCommunities instead
DisplayName
Removed
DisplayName option in SortBy Enum is removed GetCommunites and use searchCommunities instead
CommunityRepository.Membership.getMembers
Parameter
Changes
Remarks
search
Removed
search parameter is removed getMembers and use searchMembers instead
DisplayName
Removed
DisplayName option in SortBy Enum is removed getMembers and use searchMembers instead
Client.getUserUnread
Parameter
Changes
Remarks
hasMentioned
Removed
Use isMentioned instead
MessageRepository.queryMessages
Parameter
Changes
Remarks
dataType
Removed
Use type instead
excludeTags
Removed
Use excludingTags instead
tags
Removed
Use includingTags instead
UserRepository.getUsers
Parameter
Changes
Remarks
DisplayName
Removed
DisplayName parameter is removed in getUsers and use searchUserByDisplayName instead
DisplayName
Removed
DisplayName option in SortBy Enum is removed getUsers and use searchUserByDisplayName instead