sendbird-uikit-ios

Sendbird UIKit for iOS is a development kit with a user interface, offering a simplified integration into chat.

OTHER License

Stars
105
Committers
14

Bot releases are visible (Hide)

sendbird-uikit-ios - v3.17.0

Published by sendbird-sdk-deployment 7 months ago

  • 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.
sendbird-uikit-ios - v3.16.2

Published by sendbird-sdk-deployment 8 months ago

  • Fixed template generator bug causing improper variable-value binding
sendbird-uikit-ios - v3.16.1

Published by sendbird-sdk-deployment 8 months ago

  • 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
sendbird-uikit-ios - v3.16.0

Published by sendbird-sdk-deployment 8 months ago

  • 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
sendbird-uikit-ios - v3.15.0

Published by sendbird-sdk-deployment 9 months ago

  • 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
sendbird-uikit-ios - v3.14.0

Published by sendbird-sdk-deployment 9 months ago

  • 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
sendbird-uikit-ios - v3.13.1

Published by sendbird-sdk-deployment 10 months ago

  • Added functionality to log impressions for notifications
  • Fixed file downloads not working issue
sendbird-uikit-ios - v3.13.0

Published by sendbird-sdk-deployment 10 months ago

  • 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

sendbird-uikit-ios - v3.12.0

Published by sendbird-sdk-deployment 11 months ago

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
sendbird-uikit-ios - v3.11.2

Published by sendbird-sdk-deployment 11 months ago

  • Fixed navigationBar looking weird after entering message search function
    • Added needRollbackNavigationBarSetting property in SBUBaseViewController
  • Applied UIKit configuration to LimitedPhotoLibraryPicker
sendbird-uikit-ios - v3.11.1

Published by damon-v2 11 months ago

  • Improved stability
sendbird-uikit-ios - v3.11.0

Published by sendbird-sdk-deployment 12 months ago

  • Support Suggested Replies feature for user message
    • Added SBUSuggestedReplyView class
    • Added SBUVerticalSuggestedReplyView class
    • Added SBUSuggestedReplyViewDelegate delegate
    • Added SBUSuggestedReplyViewParams struct
    • Added SBUSuggestedReplyOptionView class
    • Added SBUSimpleSuggestedReplyOptionView class
    • Added SBUSuggestedReplyOptionViewDelegate delegate
  • Support Form Type Message feature for user message
    • Added SBUForm struct
    • Added SBUForm.Field struct
    • Added SBUForm.Field.InputTypeValue enum
    • Added SBUForm.Answer struct
    • Added SBUFormViewParams struct
    • Added SBUFormView class
    • Added SBUSimpleFormView class
    • Added SBUFormViewDelegate protocol
    • Added SBUFormFieldView class
    • Added SBUFormFieldView.StatusType enum
    • Added SBUSimpleFormFieldView class
    • Added SBUFormFieldViewDelegate protocol
    • Added useOnlyFromView property in SBUBaseMessageCellParams
  • Support ExtendedMessagePayload CustomView feature for user message
    • Added SBUExtendedMessagePayloadCustomViewFactory protocol
    • Added SBUExtendedMessagePayloadCustomViewFactoryInternal protocol
  • Support common for new features
    • Added properties and methods in SBUUserMessageCell
      • shouldHideSuggestedReplies property
      • suggestedReplyView property
      • shouldHideFormTypeMessage property
      • formViews property
      • extendedMessagePayloadCustomViewFactory property
      • updateSuggestedReplyView(with:) method
      • createSuggestedReplyView() method
      • updateFormView(with:answers:) method
      • createFormView() method
      • suggestedReplyView(_:didSelectOption:) delegate method
      • func formView(_:didSubmit:) delegate method
      • func formView(_:didUpdate:) delegate method
    • Added properties in SBUUserMessageCellParams
      • shouldHideSuggestedReplies property
      • shouldHideFormTypeMessage property
      • formAnswers property
    • Added handlers in SBUBaseMessageCell
      • suggestedReplySelectHandler handler
      • submitFormAnswerHandler handler
      • updateFormAnswerHandler handler
    • Added mainContainerVStackView proeprty in SBUContentBaseMessageCell
    • Added SBUConfig.GroupChannel configs
      • isFormTypeMessageEnabled property
      • isSuggestedRepliesEnabled property
    • Added extension methods and properties in BaseMessage.
      • asSuggestedReplies property
      • asForms property
      • asCustomView property
      • decodeCustomViewData<ViewData: Decodable>() method
    • Added methods in SBUGroupChannelModuleListDelegate
      • groupChannelModule(_:didSelect:) method
      • groupChannelModule(_:didSubmit:messageCell:) method
      • groupChannelModule(_:didUpdate:messageCell:) method
      • groupChannelModule(_:answersFor:) method
    • Added delegate methods in SBUGroupChannelViewController
      • groupChannelModule(_:didSelect:) method
      • groupChannelModule(_:didSubmit:messageCell:) method
      • groupChannelModule(_:didUpdate:messageCell:) method
      • groupChannelModule(_:answersFor:) method
    • Added methods in SBUGroupChannelViewModel
      • submitForm(message:answer:) method
      • updateForm(message:answer:) method
  • Support actions on userList item of SBUReactionsViewController.
    • Added showUserProfile(user:) method in SBUBaseChannelViewController class
    • Added setUserProfileTapGesture(_:) method in SBUReactionsViewController class
    • Added SBUReactionsViewControllerDelegate delegate
    • Added delegate methods in SBUGroupChannelViewController and SBUMessageThreadViewController classes
      • reactionsViewController(_:didTapUserProfile:)
      • reactionsViewController(_:tableView:didSelect:forRowAt:)
sendbird-uikit-ios - v3.10.0

Published by sendbird-sdk-deployment 12 months ago

Multiple Files Message

  • We are now supporting Multiple Files Message feature!
  • You can select multiple images and videos in the message inputs, and send multiple images in a single message.
  • You can learn more about the feature in our Multiple Files Message docs page.
  • Added classes, structs, and enum
    • SBUCollectionViewCell class
    • SBUMultipleFilesMessageCellParams class
    • SBUMultipleFilesMessageCell class
    • SBUMultipleFilesMessageCollectionView class
    • SBUMultipleFilesMessageCollectionViewCell class
    • GroupChannel.Preview struct in SBUStringSet class
    • FileUpload.Error struct in SBUStringSet class
    • SBUFileType enum
  • Added methods
    • getFileTypeString(by:) in SBUUtils class
    • openFile(_:) in SBUBaseChannelViewController class
    • multipleFilesMessageFileSizeErrorHandler(_:) in SBUGroupChannelViewController class
    • sendMultipleFilesMessageCompletionHandler in SBUGroupChannelViewController class
    • sendMultipleFilesMessage(fileInfoList:) in SBUGroupChannelViewModel class
    • updateMultipleFilesMessageCell(requestId:index:) in SBUGroupChannelViewModel class
    • pickMultipleImageFiles(itemProviders:) in SBUGroupChannelModule.Input class (>= iOS14.0)
    • register(multipleFilesMessageCell:nib:) in SBUGroupChannelModule.List class
    • onSelectFile(sender:) in SBUParentMessageInfoView class
    • register(multipleFilesMessageCell:nib:) in SBUMessageThreadMoudle.List` class
    • messageThreadModule(_:didSelectFileAt:multipleFilesMessageCell:forRowAt) in SBUMessageThreadMoudle.List` class
    • save(fileData:viewController:) in SBUDownloadManager` class
    • save(fileMessage:parent:) in SBUDownloadManager` class
  • Added properties
    • filesCount in MultipleFilesMessage class extension
    • multipleFilesMessageFileCountLimit in SBUAvailable class
    • uploadSizeLimitBytes in SBUAvailable class
    • uploadSizeLimitMB in SBUAvailable class
    • isMultipleFilesMessageEnabled in SBUConfig.GroupChannel.Channel class
    • multipleFilesMessageParamsSendBuilder in SBUGlobalCustomParams class
    • showPhotoLibraryPicker in SBUGroupChannelViewController class
    • multipleFilesMessageCell in SBUGroupChannelModule.List class
    • isMultipleFilesMessage in SBUQuoteMessageInputViewParams class
    • fileCollectionView in SBUParentMessageInfoView class
    • fileSelectHandler in SBUParentMessageInfoView class
    • onSelectFile(sender:) in SBUParentMessageInfoView class
    • multipleFilesMessageCell in SBUMessageThreadMoudle.List class
  • Added delegate methods
    • groupChannelModule(_:didPickMultipleFiles:parentMessage:) in SBUGroupChannelModuleInputDelegate
    • groupChannelModule(_:didSelectFileAt:multipleFilesMessageCell:forRowAt:) in SBUGroupChannelModuleListDelegate

Common

  • Fixed autolayout warnings that occur during runtime and cleaned up the entire autolayout-related logic
    • Added sbu_activate(baseView:constraints:) function on NSLayoutConstraint class extension
    • Added Constants struct on SBUParentMessageInfoView class
    • Added updateMessageTextWidth(with:) function on SBUParentMessageInfoView class
  • Fixed layout issue with message time labels appearing oversized horizontally
  • Fixed incorrect date separator padding size
  • Modified condition to check user's isActive property when filtering mentionable users
sendbird-uikit-ios - v3.9.3

Published by sendbird-sdk-deployment about 1 year ago

  • Fixed an issue where deleting a message didn't work
  • Fixed a problem with truncated reaction counts
  • Improved stability
sendbird-uikit-ios - v3.9.2

Published by sendbird-sdk-deployment about 1 year ago

  • Fixed an issue where deleting a message didn't work
  • Fixed a problem with truncated reaction counts
  • Improved stability
sendbird-uikit-ios -

Published by tezpark about 1 year ago

v3.7.0-beta.1 (Sep 25, 2023)

  • Added a inputVStackView that wraps the messageInputView at SBUBaseChannelModule.Input
sendbird-uikit-ios - v3.9.1

Published by sendbird-sdk-deployment about 1 year ago

  • Improved image cache stability
  • Improved unavailable message display condition check logic
  • Improved reactions related logic stability
  • Modified menu item action and menu sheet dismiss timing
sendbird-uikit-ios - v3.9.0

Published by sendbird-sdk-deployment about 1 year ago

  • Added scrollToMessage(id:enablesScrollAnimation:enablesMessageAnimation:) to SBUBaseChannelModule.List and SBUBaseChannelViewController
  • Supports category filtering in a feed channel. Categories by which messages can be filtered can be created and edited in the dashboard
sendbird-uikit-ios -

Published by lookdeceline about 1 year ago

v3.8.0 (Sep 1, 2023)

  • Improved timing of markAsRead calls
  • Fixed an issue where pending messages were not processed when changing channels in the same view controller
  • Fixed text view height not resetting on state change
  • Fixed an issue when using customized userList where the first list would continue to be added after the last was loaded
  • Added chatbot start interface startChatWithAIBot(id:distinct:errorHandler:) in SendbirdUI
    // Before using it, need to call app initialize and connect.
    SendbirdUI.startChatWithAIBot(botId: "BOT_ID_GOES_HERE", isDistinct: true) { error in
       // This code block will be invoked when there's an error
    }
    
  • Improved stability
sendbird-uikit-ios -

Published by tezpark about 1 year ago

v3.8.0-beta.1 (Aug 24, 2023)

  • Removed beta information on CFBundleShortVersionString
Package Rankings
Top 6.41% on Cocoapods.org
Top 15.55% on Swiftpackageindex.com
Badges
Extracted from project README
Platform Languages CocoaPods Swift Package Manager Carthage compatible Commercial License
Related Projects