Releases: sendbird/sendbird-uikit-ios-spm
v3.16.2
- Fixed template generator bug causing improper variable-value binding
v3.16.1
- Fixed a bug where the label is always None in Chat notification channel
- Fixed a bug where the template renderer for notifications is not finished
v3.16.0
- Replaced the
SuggestedReplies
andForm
interfaces with the ChatSDK model-based- Added Interfaces
- Added
groupChannelModule(_:form:messageCell:)
inSBUGroupChannelModuleListDelegate
- Added
formFieldView(_:SBUFormFieldView,didUpdate:SendbirdChatSDK.FormField)
inSBUFormFieldViewDelegate
- Added
formField
property inSBUFormFieldView
- Added
configure(form:field:delegate:)
inSBUFormFieldView
- Added
SBUFormFieldInputType
interface - Added
formView(_:SBUFormView, didSubmit: SendbirdChatSDK.Form)
inSBUFormViewDelegate
- Added
groupChannelModule(_:didSubmit:messageCell:)
inSBUGroupChannelModuleListDelegate
- Added
formFieldView(_:formField:)
inSBUFormFieldViewDelegate
- Added
formField
property inSBUFormFieldView
- Added
configure(form:field:delegate:)
inSBUFormFieldView
- Added
groupChannelModule(_:didSubmit:messageCell:)
inSBUGroupChannelViewController
- Added
submitForm(message:form:)
inSBUGroupChannelViewModel
- Replaced
form
property type inSBUFormView
- Replaced
createFormFieldViews(with:)
interface type inSBUFormView
- Replaced
formFieldView(_:didUpdate:)
inSBUFormView
- Replaced
form
property type inSBUFormViewParams
- Added
- Removed SBUForm Interfaces
- Removed
asForms
inBaseMessage
class - Removed
SBUForm
interface - Removed
SBUForm.Answer
interface - Removed
SBUForm.Field
interface - Removed
SBUForm.Field.Updated
interface - Remvoed
forms
property inSBUExtendedMessagePayload
- Removed
formAnswers
property in SBUUserMessageCellParams - Removed
updateFormView(with:,answers:)
function inSBUUserMessageCell
- Removed
formView(_:SBUFormView, didSubmit: SBUForm.Answer)
inSBUFormViewDelegate
- Removed
formView(_:SBUFormView, didUpdate: SBUForm.Answer)
inSBUFormViewDelegate
- Removed
formFieldView(_:SBUFormFieldView,didUpdate: SBUForm.Field.Updated)
inSBUFormFieldViewDelegate
- Removed
init(messageId: Int64, form: SBUForm)
inSBUFormViewParams
- Removed
answer
property inSBUFormView
- Removed
createFormFieldViews(with: SBUForm?)
function inSBUFormView
- Removed
formFieldView(_:SBUFormFieldView,didUpdate:SBUForm.Field.Updated)
inSBUFormView
- Removed
configure(form:field:value:delegate:)
inSBUFormFieldView
- Removed
groupChannelModule(_:didSubmit:messageCell:)
inSBUGroupChannelModuleListDelegate
- Removed
groupChannelModule(_:didUpdate:messageCell:)
inSBUGroupChannelModuleListDelegate
- Removed
groupChannelModule(_:didSubmit:messageCell:)
inSBUGroupChannelViewController
- Removed
groupChannelModule(_:didUpdate:messageCell:)
inSBUGroupChannelViewController
- Removed
groupChannelModule(_:answersFor:) -> [SBUForm.Answer]?
inSBUGroupChannelViewController
- Removed
SBUFormFieldView.StatusType
interface - Removed
submitForm(message:answer:)
inSBUGroupChannelViewModel
- Removed
updateForm(message:answer:)
inSBUGroupChannelViewModel
- Removed
groupChannelModule(_:answersFor:)
inSBUGroupChannelModuleListDataSource
- Removed
- Deprecated
asSuggestedReplies
inBaseMessage
, useBaseMessage.suggestedReplies
- Added Interfaces
- Fixed voice message preview string in the channel list not working issue
- Deprecated
getFileTypeString(by:)
function ofSBUUtils
class: renamed togetFileTypePreviewString(by:)
- Added disable chat input based on last message response
- Added
SBULoadingDatasource
for customizing touch events in the loading view
v3.15.0
-
Fixed a bug where duplicated deleted messages in the response of the message changeglogs cause a crash
-
Limited the maximum corner radius of the category filter to half of the height
-
Added
isFeedbackEnabled
config property forSBUConfig.GroupChannel
-
Added
SBUToastView
-
Added
Feedback
feature- Added
SBUFeedbackAnswer
for handling internal data - Added
groupChannelModule(_ listComponent:didUpdate:messageCell:)
inSBUGroupChannelModuleListDelegate
- Added
SBUFeedbackViewDelegate
- Added
SBUFeedbackView
andSBUSimpleFeedbackView
- Added
SBUFeedbackViewParams
- Added
shouldHideFeedback
inSBUBaseMessageCellParams
- Added
updateFeedbackView(with:)
method inSBUBaseMessageCell
- Added
shouldHideFeedback
andfeedbackView
properties inSBUBaseMessageCell
- Added
feedbackView(_ view:didAnswer:)
delegate method inSBUBaseMessageCell
- Added
groupChannelModule(_ listComponent:didUpdate:messageCell:)
inSBUBaseChannelViewController
- Added feedback handling methods in
SBUGroupChannelViewModel
- Added
submitFeedback(message:answer:completionHandler:)
- Added
updateFeedback(message:answer:completionHandler:)
- Added
deleteFeedback(message:completionHandler:)
- Added
- Added
-
Updated theme values in
SBUMessageCellTheme
- Added
feedbackRadius
- Added
feedbackIconColor
- Added
feedbackIconSelectColor
- Added
feedbackIconDeselectColor
- Added
feedbackBorderColor
- Added
feedbackBorderSelectColor
- Added
feedbackBorderDeselectColor
- Added
feedbackBackgroundNormalColor
- Added
feedbackBackgroundSelectColor
- Added
feedbackBackgroundDeselectColor
- Added
-
Updated theme values in
SBUComponentTheme
- AddedtoastContainerColor
- AddedtoastTitleColor
- AddedfeedbackToastUpdateDoneColor
-
Updated StringSet values in
SBUMessageCellTheme
- Added
Feedback_Comment_Title
- Added
Feedback_Comment_Placeholder
- Added
Feedback_Edit_Comment
- Added
Feedback_Remove
- Added
Feedback_Update_Done
- Added
-
Updated icons in
SBUIconSet
- Added
iconGood
- Added
iconBad
- Added
v3.14.0
- Initialization improving
- Added
initialize(applicationId:initParamsBuilder:startHandler:migrationHandler:completionHandler:)
function ofSendbirdUI
class - For more information on the improved initialization, see this link
- Added
- Fixed link image loading bug
- Remove time view from
SBUTypingIndicatorMessageCell
class - Improving the image loading process
- Add
errorHandler(error:message:)
optional function inSBUExtendedMessagePayloadCustomViewFactory
protocol - Supported remote notifications on iOS 16 or later simulators
v3.13.1
- Added functionality to log impressions for notifications
- Fixed file downloads not working issue
v3.13.0
-
Added
SBUScrollPostionConfiguration
configuration class- Added
scrollPostionConfiguration
peroperty inSBUGlobals
- Added
-
Added
SBUScrollOptions
model -
Added
SBUScrollOptions.Result
model -
Added
SBUScrollPosition
enum -
Added and modified methods in
SBUBaseChannelModule.List
class- Modified
position
parameter inscrollToMessage(id:enablesScrollAnimation:enablesMessageAnimation:position:)
- Added
scrollToMessage(message:enablesScrollAnimation:enablesMessageAnimation:position)
- Modified
-
Added and modified methods in
SBUBaseChannelViewController
class- Modified
position
parameter inscrollToMessage(id:enablesScrollAnimation:enablesMessageAnimation:position:)
- Added
scrollToMessage(message:enablesScrollAnimation:enablesMessageAnimation:position)
- Modified
-
Fixed message menu sheet not showing when emojiList is empty
v3.12.0
Typing Indicator Bubble
-
We are now supporting a new type of a typing indicator, the Typing Indicator Bubble.
-
Enabling Typing Indicator Bubble shows an animated typing bubble when another member(s) in a Group Channel is/are typing.
-
You can use this feature by enabling
SendbirdUI.config.groupChannel.channel.isTypingIndicatorEnabled
totrue
, then settingSendbirdUI.config.groupChannel.channel.typingIndicatorTypes
to[.bubble]
. -
New enum
public enum SBUTypingIndicatorType
-
New classes / structs
public class SBUTypingIndicatorMessageManager
public struct SBUTypingIndicatorInfo
public class SBUTypingIndicatorMessage
public class SBUTypingIndicatorMessageCellParams
open class SBUTypingIndicatorMessageCell
public class SBUTypingIndicatorBubbleView
-
New properties
public var typingIndicatorTypes: Set<SBUTypingIndicatorType>
inSBUConfig.GroupChannel.Channel
public var typingMessageManager
inSBUBaseChannelViewModel
public private(set) var typingIndicatorMessageCell
inSBUGroupChannelModule.List
public static var Message_Typers_Count
inSBUStringSet
public lazy var profilesStackView
inSBUContentBaseMessageCell
public lazy var numberLabel
inSBUMessageProfileView
-
New methods
open func register(typingIndicatorMessageCell: SBUBaseMessageCell, nib: UINib? = nil)
inSBUGroupChannelModule.List
public func configureMessageProfileViews(message:)
inSBUContentBaseMessageCell
open func configureTyperProfileViews(typingInfo:)
inSBUContentBaseMessageCell
open func configureUserProfileView(message:)
inSBUContentBaseMessageCell
public func configureTyperProfileImageView()
inSBUMessageProfileView
public func configureNumberLabel(_:)
-
New theme properties
public var typingMessageProfileBorderColor: UIColor
inSBUTheme
public var typingMessageDotColor: UIColor
inSBUTheme
public var typingMessageDotTransformColor: UIColor
inSBUTheme