iOS SDK v6.0.0 Migration Guide
This guide is to provide information about breaking changes and how to migrate to the Social Plus SDK iOS 6.0.0 version.
Last updated
This guide is to provide information about breaking changes and how to migrate to the Social Plus SDK iOS 6.0.0 version.
Last updated
AmitySDK 6.x.x version requires RealmSwift.xcframework
along with existing frameworks.
Channel Creation
Support for Providing custom ID when creating channel is now removed.
Sub Channels:
Now you can create multiple sub-channels inside a channel. Each Sub Channels acts as a separate container for message. The channel itself would act as a default Sub Channel. You can access this default sub channel id through defaultSubChannelId
property in class AmityChannel
.
Sending a message in a Channel or Sub Channel now requires subchannelId
. If you want to send message in default subchannel (i.e the default channel itself), please use defaultSubChannelId
property from AmityChannel
.
For sending message in particular AmitySubchannel, you can get its id from subChannelId
property.
@objc
support for all interfaces such as classes, enums, methods, and properties are removed. Please create a swift wrapper class to interact with the SDK if your project still uses Objective-C.
Please refer to Using Social Plus SDK with ObjectiveC section of the documentation for more details.
All Enums with rawType UInt
has been changed to Int
Swift classes
AmityCollection
Property | Methods | Changes |
---|---|
count() | count() |
|
|
Property | Methods | Changes |
---|---|
|
|
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Removed | Use |
AmityRegionalEndpoint | Removed | Use |
| Removed | Use |
| Removed | Use |
| Removed | Use |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
Property | Methods | Changes | Remarks |
---|---|---|
totalUnreadCount: | Removed | New property |
| Renamed | Use AmityChannelBuilder instead. |
|
| Class is changed to Enum |
Property | Methods | Changes | Remarks |
---|---|---|
| Renamed → | |
| Renamed → |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Removed | Use |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Removed | Use |
| Renamed → createdAt | |
| Renamed → editedAt | |
flagCount: | flagCount: | |
|
| |
readByCount: | readByCount: | |
childrenNumber: | childrenNumber: | |
channelSegment: | channelSegment: |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Removed | Use |
| Removed | Use |
| Removed | Use |
| Removed | Use |
| Removed | Use |
| Removed | Use |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Changed | Parameter |
Property | Methods | Changes | Remarks |
---|---|---|
childrenPosts: | childrenPosts: | property is Non-optional |
| Removed | Use |
| Removed | Use |
| Removed | Use |
commentsCount: | commentsCount: | |
flagCount: | flagCount: | |
reactionsCount: | reactionsCount: | |
sharedCount: | sharedCount: |
Property | Methods | Changes | Remarks |
---|---|---|
| Renamed | Use |
| Renamed | Use |
Property | Methods | Changes |
---|---|
voteCount: | voteCount: |
closedIn: | closedIn: |
Property | Methods | Changes |
---|---|
voteCount: | voteCount: |
Property | Methods | Changes | Remarks |
---|---|---|
| Renamed |
|
| Renamed |
|
| Renamed |
|
| Renamed |
|
| Renamed |
|
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use equivalent method from |
| Removed | Use equivalent method from |
| Removed | Use equivalent method from |
| Removed | Use equivalent method from |
| Removed | Use equivalent method from |
| Removed | Use equivalent method from |
| Removed | Use equivalent method from |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Removed | Use |
| Removed |
|
| Removed |
|
| Removed |
|
| Removed |
|
| Removed | Use |
Property | Methods | Changes |
---|---|
postsCount: | postsCount: |
membersCount: | membersCount: |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use new method |
| Removed | Use new method |
Property | Methods | Changes | Remarks |
---|---|---|
flagCount: | flagCount: | |
childrenNumber: | childrenNumber: | |
reactionsCount: | reactionsCount: |
Property | Methods | Changes |
---|---|
flagCount: | flagCount: |
| Renamed → |
Property | Methods | Changes | Remarks |
---|---|---|
| Removed | Use |
| Removed | Use |