iOS SDK v6.9.0 Deprecation Note
Deprecated APIs
Deprecated APIs in AmityClient:
registerDeviceForPushNotification(token:)
Use registerPushNotification( token:) instead.
unregisterDeviceForPushNotification(userId:)
Use unregisterPushNotification(userId:) instead
updateUser(builder:)
Use editUser(builder:) instead.
Deprecated APIs in AmityUserNotificationsManager:
getSettingsWithCompletion(_ completion:)
Use getSettings() instead.
Deprecated APIs in AmityPostRepository:
createPost(builder:, targetId:, targetType:)
and
createPost(builder:, targetId:, targetType:, metadata:, mentionees:)
Use
createTextPost(builder:, targetId:, targetType:, metadata:, mentionees:) ,
createImagePost(builder:, targetId:, targetType:, metadata:, mentionees:),
createFilePost(builder:, targetId:, targetType:, metadata:, mentionees:),
createPollPost(_ builder:, targetId:, targetType:, metadata:, mentionees:)or
createLiveStreamPost(_ builder:, targetId:, targetType:, metadata:, mentionees:)
instead.
Deprecated APIs in AmityCommunityRepository:
searchMembers(communityId:, keyword:, membershipOptions: , roles:, sortBy:)
Use searchMembers(communityId:, keyword:, membershipOptions: , roles:, sortBy:) in AmityCommunityMembership instead.
updateCommunity(id:, options:)
Use editCommunity(id:, options:) instead.
Deprecated APIs in AmityChannelRepository:
updateChannel(builder:)
Use editChannel(builder:) instead.
Deprecated APIs in AmitySubChannelRepository:
updateSubChannel( subchannelId:, updatedName:)
Use editSubChannel( subchannelId:, updatedName:) instead.
Deprecated APIs in AmityCommentRepository:
updateComment(commentId:, options:)
Use editComment(commentId:, options:) instead.
Deprecated APIs in AmityChannelModeration:
addRoles(role:, userIds:)
Use addRole(role:, userIds:) instead.
removeRoles(role:, userIds:)
Use removeRole(role:, userIds:) instead.
Deprecated APIs in AmityMessageRepository:
editMessage(messageId:, text:, metadata:, mentionees:)
Use editTextMessage(withId:, text:, metadata:, mentionees:) instead.
Deprecated APIs in AmityStreamBroadcaster. Use the `AmityVideoBroadcaster` class instead:
setup(config:)
Use setup(config:) in AmityVideoBroadcaster instead.
startPublish(existingStreamId:)
Use startPublish(existingStreamId:) in AmityVideoBroadcaster instead.
stopPublish()
Use stopPublish() in AmityVideoBroadcaster instead.
Last updated