iOS UIKit V3.0 Migration Guide

UIKit v3.0.0 is the major release of our UIKit with AmitySDK v6.5.0.

The guide will cover all the breaking changes and migration to this version.

Installation:

Manual Installation:

UIKit v3.0.0 will require RealmSwift.xcframework along with the existing frameworks.

Behavior Changes:

AmityUIKItManager:

Property | Methods Changes Remarks

setup(apiKey:, httpUrl:, socketUrl:)

Removed

use setup(apiKey:, endpoint:) instead

registerDevice(userId:, displayName:, authToken:, completion:)

Removed

Use registerDevice(userId:, displayName:, authToken:, sessionHandler:, completion:) instead.

AmityChannelEventHandler:

Property | Methods Changes Remarks

channelDidTap(from:, channelId:)

Removed

Override channelDidTap(from:, channelId:, subChannelId:) instead.

AmityEventHandler:

Property | Methods Changes Remarks

communityChannelDidTap(from:, channelId:)

Removed

Override communityChannelDidTap(from:, channelId:, subChannelId:) instead.

AmityMessageListViewController:

Property | Methods Changes Remarks

make(channelId:, settings:)

Removed

Use make(channelId:, subChannelId:, settings:) instead.

AmityCommunityProfilePageViewController:

Property | Methods Changes Remarks

make(withCommunityId:, settings:)

Removed

Use make(withCommunityId:) instead.

Last updated