IMPORTANT: Refer to Changelog V2 for newer updates since the 2.2.8 release on June 21, 2022
- Modified some view to be able to change its date format
- Opened
SBUMessageDateView
- Opened
SBUChannelCell
- Added
SBUMessageDateView.dateFormat
- Added
SBUOpenChannelContentBaseMessageCell.dateFormat
- Added
SBUMessageSearchResultCell.dateFormat
- Added parameters to
SBUChannelCell buildLastUpdatedDate()
:dateFormat
,timeFormat
- Opened
- Added public classes and interfaces regarding message cells
- Added open/public interfaces in message cells.
- Added
SBUMessageWebView
,SBUMessageWebViewModel
andSBUOpenChannelMessageWebView
- Added
SBUMessageReactionView
- Added
SBUDateFormatSet
- Added
Date.sbu_toString(dateFormat:localizedFormat)
- Changed
Date.lastUpdatedTime
function inData+SBUIKit
access level to public - Fixed not called completion handler on unregister pushToken
- Updated chat SDK minor version to v3.1.13
- Added
leftBarButton
toSBUSelectablePhotoViewController
- Added
leftBarButton
- Added
didTapLeftBarButton()
- Added
- Improved stability
- Updated chat SDK minor version to v3.1.7
- Added new classes to support limited photo access level.
- Added
SBUSelectablePhotoViewController
class. - Added
SBUPhotoCollectionViewCell
class. - Added
SBUPhotoAccessLevel
andSBUPhotoAccessibleStatus
.
- Added
- Added
rootViewController
parameter inmoveToChannel
function onSBUMain
class and changed access level. - Added
dismissAndMoveToChannel
function onSBUCreateChannelViewController
. - Improved stabilities
- Improved logic for caching
- Improved stabilities
- Added
photoLibraryAccessLevel
toSBUGlobals
- Improved stabilities
- Added
PHPickerViewControllerDelegate
toSBUBaseChannelViewController
- Added
picker(_:didFinishPicking:)
- Added
showPhotoLibraryPicker()
- Added
showCamera()
- Added
showDocumentPicker()
- Added
UsingPHPicker
toSBUGlobals
- Added
- Added
SBUBaseFileContentView
- Added
SBUCommonContentView
- Added
SBUImageContentView
- Added
SBUOpenChannelCommonContentView
- Added
SBUOpenChannelImageContentView
- Added
- Opened action sheet delegate in
SBUMessageInputView
- Opened
textViewDidChange(_:)
- Opened
textViewDidEndEditing(_:)
- Opened
textView(_:shouldChangeTextIn:replacementText:)
- Opened
didSelectActionSheetItem(index:identifier:)
- Opened
- Updated the UI of
SBULoading
- Modified
SBUBaseChannelViewController
to show loading indicator at the first loading. - Improved stabilities
- Fixed date comparison logic.
- Fixed freezing issue when the file opens the first time.
- Improved file cache logic.
- Added
deleteResendableMessage(_:needReload:)
- Improved stability
- Added Reply to Channel feature
- Added
SBUGlobals.ReplyTypeToUse
- Added
SBUReplyType
and itsfilterValue
returnsSBDReplyType
- Added
SBUQuoteMessageInputView
and its params for configuration - Added
SBUQuotedMessageViewProtocol
- Added
SBUQuotedBaseMessageView
and its params for configuration - Added
SBUQuotedUserMessageView
,SBUQuotedFileMessageView
as subclass
- Added
- Cleaning up Message Cell code
- Added params to configure message cells
- Added
SBUViewLifeCycle
,SBUView
,SBUTableView
- Added
SBUStackView
- Local caching support
- Modified
SBUMain.initialize(applicationId:)
toSBUMain.initialize(applicationId:migrationStartHandler:completionHandler:)
SBUMain.connect
can return user instance even when it's online.
- Modified
- Updated chat SDK Swift package to v3.0.208
- Improved stability
- Fixed issue on navigation bar in iOS 15
- Added
sbu_setupNavigationBarAppearance(tintColor:)
- Added
- Improved stability
- Updated minor iOS version 10 to 11.
- Modified keyboard height logic when using
isTranslucent=false
option. - Applied property-wrapper to theme properties.
- Removed logic that set theme to a global theme in the
setupStyles
,updateStyles
functions. - Added
overlayTheme
property to classes that use them differently depending on the overlay.
- Removed logic that set theme to a global theme in the
- Added
messageInputView(_:didChangeText:)
event toSBUMessageInputViewDelegate
. - Modified access level of
SBUMessageStateView
toopen
- Added
timeFormat
which is type ofString
- Added
timeLabelCustomSize
which is type ofCGSize
- Modified access level of UI components to
public
- Added
- Aded extensions of
Date
- Added
Date.DateFormat
enum. - Modified access level of
Date sub_toString(formatString:localizedFormat:) -> String
to public
- Added
- Added filtering logics for channel events by custom message list params
- Added filtering logics for channel list events by custom channel list query
- Changed
didReceiveError
function name toerrorHandler
.- Added error code in error handler.
- Modified
SBUStringSet
PhotoVideoLibrary
Message_Edited
MemberList_Unban
- Modified on long tap gesture menu
- stringSet
Remove
toDelete
- colorSet
removeItemColor
todeleteItemColor
- stringSet
- Fixed cannot customize
rightBarButton
onSBUOpenChannelViewController
- Improved stability
- Changed access control of
inputHStackView
onSBUMessageInputView
. - Changed
SBUEmptyView
related stringSet. - Added
emptyView
in user selection inSBUCreateChannelViewController
. - Added missing retry logic in
SBUCreateChannelViewController
. - Improvement stability.
- Improvement stability
- Supports SPM(Swift package manager)
- Expands file open and download status Toast.
- Added strings in
SBUStringSet
Channel_Failure_Download_file
Channel_Failure_Open_file
- Added strings in
- Improvement stability
- Fixed an issue that failed to send typing status
- Fixed multiline text not functioning for
statusLabel
inSBUEmptyView
class. - Fixed multiple messages sending issue when sending a failed message.
- Changed access control to public
setEditMode(for:)
inSBUBaseChannelViewController
class.
- Fixed problems recognized as the same video file if other URL video files have the same file name
- Fixed
customizedMembers
not working inSBUMemberListViewController
- Modified the use of the same file name when transferring image files
- Fixed video thumbnail bug
- Removed
configureContentOffset
inSBUChannelViewController
and allowed to adjust tableView contentInset
- Added in
SBUMessageSearchViewController
searchResultList: [SBDBaseMessage]
: Holds the search results.open func message(at indexPath:) -> SBDBaseMessage?
: Retrieves theSBDBaseMessage
object from givenIndexPath
.
- Improved stability
- Added properties in
SBUMessageInputView
.textViewMinHeight
: the minimun height of the textview.textViewMaxHeight
: the maximum height of the textview.textViewLeadingSpacing
: the spacing between the textview and the+
button.textViewTrailingSpacing
: the spacing between the textview and the send button.layoutInsets
: the outer spacing of theSBUMessageInputView
, relative tosafeAreaLayoutGuide
.showsSendButton
: whether to always show the send button.
- Applied tint to all
SBUIconSet
. - Applied localization on datetime string.
- Improved stability.
- Improved stability
- Added Message Search features.
- Added
SBUMessageSearchViewController
andSBUHighlightMessageInfo
classes. - Added
SBUChannelViewController(channelUrl:startingPoint:messageListParams:)
- Added
startingPoint
,highlightInfo
,useRightBarButtonItem
properties inSBUChannelViewController
. - Added
SBUAvailable.isSupportMessageSearch()
.
- Added
- Deprecated lastSeenAt feature.
- Changes in SBUIconSet
- Added
- iconBan
- iconBroadcast
- iconCheckboxChecked
- iconCheckboxUnchecked
- iconChevronRight
- iconDone
- iconDoneAll
- iconEmojiMore
- iconNotificationFilled
- iconNotificationOffFilled
- iconQuestion
- iconSpinner
- iconThumbnailNone
- Replaced
- channelTypeBroadcast -> iconBroadcast
- channelTypeGroup -> iconChat
- channelTypeSupergroup -> iconSupergroup
- emojiFail -> iconQuestion
- emojiMoreLarge -> iconEmojiMore
- iconActionLeave -> iconLeave
- iconActionNotificationOff -> iconNotificationOffFilled
- iconActionNotificationOn -> iconNotificationFilled
- iconAvatarLight -> iconUser
- iconBanned -> iconBan
- iconBroadcastSmall -> iconBroadcast
- iconBroadcastMedium -> iconBroadcast
- iconBroadcastLarge -> iconBroadcast
- iconCheckbox -> iconCheckboxChecked
- iconCheckboxOff -> iconCheckboxUnchecked
- iconDelivered -> iconDoneAll
- iconErrorFilled -> iconError
- iconFailed -> iconError
- iconMuted -> iconMute
- iconNoThumbnailLight -> iconThumbnailNone
- iconRead -> iconDoneAll
- iconSent -> iconDone
- iconShevronRight -> iconChevronRight
- iconSpinnerLarge -> iconSpinner
- iconSpinnerSmall -> iconSpinner
- iconThumbnailLight -> iconPhoto
- Removed
- emojiHeartEyes
- emojiLaughing
- emojiRage
- emojiSob
- emojiSweatSmile
- emojiThubsdown
- emojiThumbsup
- iconChatHide
- iconChatShow
- iconCreate
- iconDummy
- Added
- Changes in SBUColorSet
- Changed
primary*
colors. - Changed
secondary*
colors. - Changed
background300
color. - Changed
background200
color. - Changed
background100
color. - Added
background50
. - Added
error*
colors. - Removed
error
(replaced witherror300
)
- Changed
- Changes in SBUFontSet
- Changed weight of
h1
. - Changed size and weight of
h2
. - Changed size of
h3
. - Changed size of
body1
. - Changed weight of
body2
. - Changed weight of
body3
. - Changed size of
button1
. - Changed weight of
caption3
. - Changed weight of
caption4
.
- Changed weight of
- Improved stability.
- Fixed runtime debugger issue.
- Changes in
SBUChannelViewController
andSBUOpenChannelViewController
- Set
keyboardDismissMode
oftableView
to.interactive
as default. - Changed
messageInputViewBottomConstraint
,tableViewTopConstraint
properties to private access.
- Set
- Dismiss keyboard on swiping message list
- Improved stability
- Improved stability
- Improved stability
- Added
UsingImageCompression
flag inSBUGlobals
-
Added OpenChannel features.
SBUOpenChannelViewController
SBUOpenChannelBaseMessageCell
SBUOpenChannelContentBaseMessageCell
SBUOpenChannelAdminMessageCell
SBUOpenChannelUserMessageCell
SBUOpenChannelFileMessageCell
SBUOpenChannelMessageWebView
SBUOpenChannelUnknownMessageCell
SBUOpenChannelSettingsViewController
SBUOpenChannelSettingCell
OpenChannelSettingItemType
- Added
UsingUserProfileInOpenChannel
toSBUGlobals
- Added
overlay
themes.
-
Deprecated properties in
SBUChannelViewController
classpreSendMessages
resendableMessages
preSendFileData
resendableFileData
fileTransferProgress
-
Ranamed classes
- Renamed
SBUMessageBaseCell
toSBUBaseMessageCell
- Renamed
MessageDateView
toSBUMessageDateView
- Renamed
MessageProfileView
toSBUMessageProfileView
- Renamed
UserNameView
toSBUUserNameView
- Renamed
MessageStateView
toSBUMessageStateView
- Renamed
-
Supported image resizing and compression
- Added
imageCompressionRate
toSBUGlobals
- Added
imageResizingSize
toSBUGlobals
- Added
-
Improved stability.
- Imporved stability
- Supported loading indicator feature
- Added
shouldShowLoadingIndicator()
- Added
shouldDismissLoadingIndicator()
- Added
- Improved stability
- Improved stability
- Modified access level for delegate function
- Opened
imagePickerControllerDidCancel(_:)
- Opened
- Modified access level for delegate functions
- Fixed
deinit
not called
- Changed SBUMessageInputView class from Xib-based to code-based
- Changed access controls
- Added documentation comments
- Fixed autolayout warnings
- Improved stability
- Improved logic for real-time theme changes
- Supported UserProfile feature in
SBUChannelViewController
,SBUMemberListViewController
- Added
SBUUserProfileViewProtocol
,SBUUserProfileViewDelegate
- Added global user profile enable setting (
SBUGlobals.UsingUserProfile
) - Added
SBUUserProfileTheme
theme - Added user profile related stringSet
- Added
- Added
SBUGlobalCustomParams
class to used when setting parameters globally in UIKitgroupChannelParamsCreateBuilder
groupChannelParamsUpdateBuilder
userMessageParamsSendBuilder
userMessageParamsUpdateBuilder
fileMessageParamsSendBuilder
messageListParamsBuilder
- Added initialize function with
SBDSender
inSBUUser
- Added to be able to set
messageListParams
to functions that haveSBUChannelViewController
initialization function - Added
createAndMoveToChannel(userIds:messageListParams:)
andcreateAndMoveToChannel(params:messageListParams:)
functions that creates and moves the channel that can be called anywhere inSBUMain
- Added
updateUserInfo(nickname:profileImage:completionHandler:)
function inSBDMain
for update user info with image - Added
h3
font - Changed access control
- Class :
SBUActionSheet
,SBUAlertView
,SBUCommonItem
,SBUUtils
- Class :
- Fixed the
loadChannel
function being called multiple times during the initialization ofSBUChannelViewController
. - Fixed a problem the placeholder disappears when an error occurs during image load
- Fixed autolayout warning issues
- Renamed the GestureHandler functions to union the function name
- Renamed function name that
openChannel
tomoveToChannel
inSBUMain
- Improved - When the connection is successful, update currentUser.
- Improved for theme updates on changes at runtime
- Supported message grouping
- Improved stability
- Added operator features
- Member managing (ban/unban, mute/unmute, promote/dismiss)
- Moderation feature for the operator
- Channel freezing/unfreezing
- Channel creator will be the default operator
- Added
SBUModerationsViewController
class
- Added GroupChannel type selector to create
- Improved image cache logic with auth key
- Fixed the problem of chat bubbles width becoming the maximum on short messages
- Fixed Bottom sheet closed automatically issue
- Improved stability
- Modified all codes indentation
- Deprecated
SBUChannelSettingsViewController
cellNotificationIconColor
-> UsecellTypeIconTintColor
cellMemberIconColor
-> UsecellTypeIconTintColor
cellMemberButtonColor
-> UsecellArrowIconTintColor
- Updated - MessagingSDK minimum version to v3.0.200
- Fixed - Default initialization function support for Objective-C
- Implemented - OG tag messages feature
- Fixed - Unmodified message not editable
- Updated - MessagingSDK minimum version to v3.0.198
- Fixed - Undelivered state checker in message
- Supported - access control for customizing classes and functions
- Modified -
userDidLeave
logic forincludeEmptyChannel
- Improved - Stability
- Supported - Reaction feature
- Added classes
SBUReactionsViewController
SBUMessageReactionView
SBUReactionCollectionViewCell
SBUEmojiManager
- Added methods
setReaction(message:emojiKey:didSelect:)
inSBUChannelViewController
classsetTapEmojiGestureHandler(cell:emojiKey:)
inSBUChannelViewController
classsetLongTapEmojiGestureHandler(cell:emojiKey:)
inSBUChannelViewController
classshowEmojiListModal(message:)
inSBUChannelViewController
class
- Added classes
- Supported - Custom
SBDChanngeListQuery
in the initialization function ofSBUChannelListViewController
- Supported - Custom
SBDMessageListParams
in the initialization function ofSBUChannelViewController
- Added - Unknown type message
- Fixed - Incorrect operator check logic in frozen group channel
- Supported - customized params, Changed access control
SBUChannelViewController
channel
,messageList
,resendableMessages
propertiessendUserMessage(messageParams:)
sendFileMessage(messageParams:)
resendMessage(failedMessage:)
updateUserMessage(message:, text:)
updateUserMessage(message:, messageParams:)
deleteMessage(message:)
SBUChannelViewController
channelList
propertychangePushTriggerOption(option:, channel:, completionHandler:)
leaveChannel(channel:, completionHandler:)
SBUChannelSettingsViewController
updateChannel(channelName:, coverImage:)
selectChannelImage()
changeChannelName()
SBUCreateChannelViewController
createChannel(userIds:)
createChannel(params:)
SBUInviteUserViewController
inviteUsers()
inviteUsers(userIds:)
- Added -
setFrozenModeState()
method for changing frozen channel UI inMessageInputView
- Fixed - Update empty view UI after receiving message
- Modified - File message information in channel preview
- Modified - Access control for channel objects
- Added - Required initializers
- Fixed - placeholder not appearing normally when loading image.
- Added -
setLogLevel()
for debugging from the console - Improved - navigationBar UI
- Fixed - Weird creation channel navigation flow
- Modified - Empty messages string in channel
- Added - UIKit version information to User-Agent
- Fixed - Crash issue while scrolling TableView
- Fixed - Framework error issue in macOS Mojave
- Added -
setTapGestureHandler()
,setLongTapGestureHandler()
methods for Cell onSBUChannelViewController
- Modified - Empty user name display policy
- Modified - Display long pressed color
- Changed - NavigationBarButton to public type
- Renamed -
SBUMessageBaseCell
toSBUBaseMessageCell
- Fixed - UIStatusBarStyle issue (light/dark)
- Improved - Stability
- Supported - Bitcode
- First release.