Skip to content

Releases: sendbird/sendbird-uikit-ios

v3.17.0

14 Mar 02:33
09cdeef
Compare
Choose a tag to compare
  • Supported for updating the playback rate of voicePlayer
    • Added updatePlaybackRate(_:) function on SBUVoicePlayer class
    • Changed the voicePlayer access level to public
      • SBUGroupChannelModule.List class
      • SBUMessageThreadModule.List class
      • SBUVoiceMessageInputView class
  • Enhanced documentation regarding the default view type for placeholder view properties.

v3.16.2

05 Mar 07:51
9019ecb
Compare
Choose a tag to compare
  • Fixed template generator bug causing improper variable-value binding

v3.16.1

21 Feb 07:04
1977198
Compare
Choose a tag to compare
  • 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

08 Feb 05:16
e908361
Compare
Choose a tag to compare
  • Replaced the SuggestedReplies and Form interfaces with the ChatSDK model-based
    • Added Interfaces
      • Added groupChannelModule(_:form:messageCell:) in SBUGroupChannelModuleListDelegate
      • Added formFieldView(_:SBUFormFieldView,didUpdate:SendbirdChatSDK.FormField) in SBUFormFieldViewDelegate
      • Added formField property in SBUFormFieldView
      • Added configure(form:field:delegate:) in SBUFormFieldView
      • Added SBUFormFieldInputType interface
      • Added formView(_:SBUFormView, didSubmit: SendbirdChatSDK.Form) in SBUFormViewDelegate
      • Added groupChannelModule(_:didSubmit:messageCell:) in SBUGroupChannelModuleListDelegate
      • Added formFieldView(_:formField:) in SBUFormFieldViewDelegate
      • Added formField property in SBUFormFieldView
      • Added configure(form:field:delegate:) in SBUFormFieldView
      • Added groupChannelModule(_:didSubmit:messageCell:) in SBUGroupChannelViewController
      • Added submitForm(message:form:) in SBUGroupChannelViewModel
      • Replaced form property type in SBUFormView
      • Replaced createFormFieldViews(with:) interface type in SBUFormView
      • Replaced formFieldView(_:didUpdate:) in SBUFormView
      • Replaced form property type in SBUFormViewParams
    • Removed SBUForm Interfaces
      • Removed asForms in BaseMessage class
      • Removed SBUForm interface
      • Removed SBUForm.Answer interface
      • Removed SBUForm.Field interface
      • Removed SBUForm.Field.Updated interface
      • Remvoed forms property in SBUExtendedMessagePayload
      • Removed formAnswers property in SBUUserMessageCellParams
      • Removed updateFormView(with:,answers:) function in SBUUserMessageCell
      • Removed formView(_:SBUFormView, didSubmit: SBUForm.Answer) in SBUFormViewDelegate
      • Removed formView(_:SBUFormView, didUpdate: SBUForm.Answer) in SBUFormViewDelegate
      • Removed formFieldView(_:SBUFormFieldView,didUpdate: SBUForm.Field.Updated) in SBUFormFieldViewDelegate
      • Removed init(messageId: Int64, form: SBUForm) in SBUFormViewParams
      • Removed answer property in SBUFormView
      • Removed createFormFieldViews(with: SBUForm?) function in SBUFormView
      • Removed formFieldView(_:SBUFormFieldView,didUpdate:SBUForm.Field.Updated) in SBUFormView
      • Removed configure(form:field:value:delegate:) in SBUFormFieldView
      • Removed groupChannelModule(_:didSubmit:messageCell:) in SBUGroupChannelModuleListDelegate
      • Removed groupChannelModule(_:didUpdate:messageCell:) in SBUGroupChannelModuleListDelegate
      • Removed groupChannelModule(_:didSubmit:messageCell:) in SBUGroupChannelViewController
      • Removed groupChannelModule(_:didUpdate:messageCell:) in SBUGroupChannelViewController
      • Removed groupChannelModule(_:answersFor:) -> [SBUForm.Answer]? in SBUGroupChannelViewController
      • Removed SBUFormFieldView.StatusType interface
      • Removed submitForm(message:answer:) in SBUGroupChannelViewModel
      • Removed updateForm(message:answer:) in SBUGroupChannelViewModel
      • Removed groupChannelModule(_:answersFor:) in SBUGroupChannelModuleListDataSource
    • Deprecated asSuggestedReplies in BaseMessage, use BaseMessage.suggestedReplies
  • Fixed voice message preview string in the channel list not working issue
  • Deprecated getFileTypeString(by:) function of SBUUtils class: renamed to getFileTypePreviewString(by:)
  • Added disable chat input based on last message response
  • Added SBULoadingDatasource for customizing touch events in the loading view

v3.15.0

01 Feb 08:48
557d4bb
Compare
Choose a tag to compare
  • 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 for SBUConfig.GroupChannel

  • Added SBUToastView

  • Added Feedback feature

    • Added SBUFeedbackAnswer for handling internal data
    • Added groupChannelModule(_ listComponent:didUpdate:messageCell:) in SBUGroupChannelModuleListDelegate
    • Added SBUFeedbackViewDelegate
    • Added SBUFeedbackView and SBUSimpleFeedbackView
    • Added SBUFeedbackViewParams
    • Added shouldHideFeedback in SBUBaseMessageCellParams
    • Added updateFeedbackView(with:) method in SBUBaseMessageCell
    • Added shouldHideFeedback and feedbackView properties in SBUBaseMessageCell
    • Added feedbackView(_ view:didAnswer:) delegate method in SBUBaseMessageCell
    • Added groupChannelModule(_ listComponent:didUpdate:messageCell:) in SBUBaseChannelViewController
    • Added feedback handling methods in SBUGroupChannelViewModel
      • Added submitFeedback(message:answer:completionHandler:)
      • Added updateFeedback(message:answer:completionHandler:)
      • Added deleteFeedback(message:completionHandler:)
  • 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
  • Updated theme values in SBUComponentTheme
    - Added toastContainerColor
    - Added toastTitleColor
    - Added feedbackToastUpdateDoneColor

  • Updated StringSet values in SBUMessageCellTheme

    • Added Feedback_Comment_Title
    • Added Feedback_Comment_Placeholder
    • Added Feedback_Edit_Comment
    • Added Feedback_Remove
    • Added Feedback_Update_Done
  • Updated icons in SBUIconSet

    • Added iconGood
    • Added iconBad

v3.14.0

19 Jan 08:01
db4720c
Compare
Choose a tag to compare
  • Initialization improving
    • Added initialize(applicationId:initParamsBuilder:startHandler:migrationHandler:completionHandler:) function of SendbirdUIclass
    • For more information on the improved initialization, see this link
  • Fixed link image loading bug
  • Remove time view from SBUTypingIndicatorMessageCell class
  • Improving the image loading process
  • Add errorHandler(error:message:) optional function in SBUExtendedMessagePayloadCustomViewFactory protocol
  • Supported remote notifications on iOS 16 or later simulators

v3.13.1

05 Jan 09:04
a173260
Compare
Choose a tag to compare
  • Added functionality to log impressions for notifications
  • Fixed file downloads not working issue

v3.13.0

13 Dec 08:25
0fdfd6d
Compare
Choose a tag to compare
  • Added SBUScrollPostionConfiguration configuration class

    • Added scrollPostionConfiguration peroperty in SBUGlobals
  • Added SBUScrollOptions model

  • Added SBUScrollOptions.Result model

  • Added SBUScrollPosition enum

  • Added and modified methods in SBUBaseChannelModule.List class

    • Modified position parameter in scrollToMessage(id:enablesScrollAnimation:enablesMessageAnimation:position:)
    • Added scrollToMessage(message:enablesScrollAnimation:enablesMessageAnimation:position)
  • Added and modified methods in SBUBaseChannelViewController class

    • Modified position parameter in scrollToMessage(id:enablesScrollAnimation:enablesMessageAnimation:position:)
    • Added scrollToMessage(message:enablesScrollAnimation:enablesMessageAnimation:position)
  • Fixed message menu sheet not showing when emojiList is empty

v3.12.0

29 Nov 11:13
0caf9da
Compare
Choose a tag to compare

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 to true, then setting SendbirdUI.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> in SBUConfig.GroupChannel.Channel
    • public var typingMessageManager in SBUBaseChannelViewModel
    • public private(set) var typingIndicatorMessageCell in SBUGroupChannelModule.List
    • public static var Message_Typers_Count in SBUStringSet
    • public lazy var profilesStackView in SBUContentBaseMessageCell
    • public lazy var numberLabel in SBUMessageProfileView
  • New methods

    • open func register(typingIndicatorMessageCell: SBUBaseMessageCell, nib: UINib? = nil) in SBUGroupChannelModule.List
    • public func configureMessageProfileViews(message:) in SBUContentBaseMessageCell
    • open func configureTyperProfileViews(typingInfo:) in SBUContentBaseMessageCell
    • open func configureUserProfileView(message:) in SBUContentBaseMessageCell
    • public func configureTyperProfileImageView() in SBUMessageProfileView
    • public func configureNumberLabel(_:)
  • New theme properties

    • public var typingMessageProfileBorderColor: UIColor in SBUTheme
    • public var typingMessageDotColor: UIColor in SBUTheme
    • public var typingMessageDotTransformColor: UIColor in SBUTheme

v3.11.2

24 Nov 08:13
ca69aaa
Compare
Choose a tag to compare
  • Fixed navigationBar looking weird after entering message search function
    • Added needRollbackNavigationBarSetting property in SBUBaseViewController
  • Applied UIKit configuration to LimitedPhotoLibraryPicker