Skip to content

Releases: sendbird/sendbird-uikit-android

v3.16.0

25 Apr 05:47
4066912
Compare
Choose a tag to compare

v3.16.0 (Apr 25, 2024) with Chat SDK v4.16.2

Support a way to customise the menu items in the ChannelSettingsMenuComponent and OpenChannelSettingsMenuComponent.

  • Added createMenuView(Context, String, String, SingleMenuType, int, int) in ChannelSettingsMenuComponent
  • Added setMenuList(List<Menu>, MenuViewProvider) in ChannelSettingsMenuComponent.Params`
  • Added MenuViewProvider to ChannelSettings that allows you to create and make custom menus.
  • Simple example for creating custom menu.
ModuleProviders.channelSettings = ChannelSettingsModuleProvider { context, _ ->
    ChannelSettingsModule(context).apply {
        val customMenuList = ChannelSettingsMenuComponent.defaultMenuSet.toMutableList().apply {
            add(ChannelSettingsMenuComponent.Menu.CUSTOM)
        }
        val component = ChannelSettingsMenuComponent().apply {
            // set the custom menu list.
            params.setMenuList(customMenuList) { context, _ -> // create custom menu view.
                createMenuView(
                    context,
                    "Go to Chat",
                    null,
                    SingleMenuType.NONE,
                    R.drawable.icon_chat,
                    0
                )
            }
        }
        setChannelSettingsMenuComponent(component)
    }
}
  • Added getActionContextMenuTitle(Member, GroupChannel), makeActionContextMenu(Member, GroupChannel), and onActionContextMenuItemClicked(Member, DialogListItem, GroupChannel) in MemberListFragment
  • Added getActionContextMenuTitle(User, OpenChannel), makeActionContextMenu(User, OpenChannel), and onActionContextMenuItemClicked(User, DialogListItem, OpenChannel) in MemberListFragment
  • Added Message template feature for GroupChannel.

v3.15.0

28 Mar 05:03
d934102
Compare
Choose a tag to compare

v3.15.0 (Mar 28, 2024) with Chat SDK v4.16.0

  • Added sendLogViewed(List<BaseMessage>) in FeedNotificationChannelViewModel.
  • Deprecated sendLogImpression(List<BaseMessage>) in FeedNotificationChannelViewModel.
  • Supported reactions in super group channel.
    Added enableReactionsSupergroup in ChannelConfig.

v3.14.1

20 Mar 08:28
ba929e2
Compare
Choose a tag to compare

v3.14.1 (Mar 20, 2024) with Chat SDK v4.15.6

  • Fixed issue where the position of the empty icon was displayed incorrectly.

v3.14.0

19 Mar 03:18
3de1ff7
Compare
Choose a tag to compare

v3.14.0 (Mar 19, 2024) with Chat SDK v4.15.6

  • A feedback feature has been added to give opinions on the message.
    • Added setEmptyIcon(int), setEmptyIcon(int, ColorStateList), setEmptyText(int), and setErrorText(int) in ChatNotificationChannelFragment.
    • Added setEmptyIcon(int), setEmptyIcon(int, ColorStateList), setEmptyText(int), and setErrorText(int) in FeedNotificationChannelFragment.
  • Simple example for creating FeedNotificationChannelFragment with empty icon and text.
val feedChannelFragment = FeedNotificationChannelFragment.Builder(channelUrl)
      .withArguments(args)
      .setEmptyIcon(R.drawable.icon_empty)
      .setEmptyText(R.string.text_empty_notification)
      .build()

v3.13.0

01 Feb 08:14
60cd795
Compare
Choose a tag to compare

v3.13.0 (Feb 1, 2024) with Chat SDK v4.14.2

  • A feedback feature has been added to give opinions on the message.
    • Added enableFeedback in ChannelConfig.
    • Added OnFeedbackRatingClickListener which is a callback to be invoked when a feedback rating is clicked.
    • Added getFeedbackRatingClickListener() and setFeedbackRatingClickListener(OnFeedbackRatingClickListener) in BaseMessageListAdapter.
    • Added setOnFeedbackRatingClickListener(OnFeedbackRatingClickListener) and onFeedbackRatingClicked(BaseMessage, FeedbackRating) in BaseMessageListComponent.
    • Added onFeedbackRatingClicked(BaseMessage, FeedbackRating) in ChannelFragment.
    • Added submitFeedback(BaseMessage, FeedbackRating, String) and removeFeedback(BaseMessage) in ChannelViewModel.
    • Added onFeedbackSubmitted(), onFeedbackUpdated() and onFeedbackDelete in ChannelViewModel. They allow you to observe feedback events for submitting, updating and deleting feedback.

v3.12.1

18 Jan 05:56
09c81c2
Compare
Choose a tag to compare

v3.12.1 (Jan 18, 2024) with Chat SDK v4.14.1

  • Fix memory leaks in UIKit.

v3.12.0

04 Jan 05:20
2e6956f
Compare
Choose a tag to compare

v3.12.0 (Jan, 2024) with Chat SDK v4.13.0

  • Added sendLogImpression(List<BaseMessage>) in FeedNotificationChannelViewModel.
  • Improved performance of scrolling in Message List.

MyMessageViewHolder and OtherMessageViewHolder:

  • Added MyMessageViewHolder and OtherMessageViewHolder to provide a basic UI frame for single message.
  • These ViewHolders include UI elements such as 'message sent time,' 'nickname,' 'profile,' and 'sending status,' excluding the content area.
  • Customers can now customize only the content area. Note: This feature is currently experimental.

BaseMessageListViewModel.buildMessageList():

  • Added BaseMessageListViewModel.buildMessageList() to allow customers to customize the message list before delivering it to the view.
class CustomChannelViewModel(
    channelUrl: String
) : ChannelViewModel(channelUrl, null) {
    override fun buildMessageList(): List<BaseMessage> {
        return super.buildMessageList().map { message ->
            // Customize the message here
            message
        }
    }
}

v3.11.0

29 Nov 08:02
28c5f2f
Compare
Choose a tag to compare

v3.11.0 (Nov 29, 2023) with Chat SDK v4.13.0

  • VIEW_TYPE_TYPING_INDICATOR is a new typing indicator UI that can be turned on through typingIndicatorTypes option. When turned on, it will be displayed in ChannelFragment upon receiving typing event in real time.
    • Added typingIndicatorTypes in ChannelConfig.

v3.10.1

09 Nov 03:43
1696181
Compare
Choose a tag to compare

v3.10.1 (Nov 9, 2023) with Chat SDK v4.13.0

  • Added uikit-samples project to demonstrate the usage of UIKit.
  • Added resetToDefault() in FragmentProviders, ModuleProviders, AdapterProviders and ViewModelProviders to reset the providers to default.

v3.10.0

03 Nov 09:10
6541c68
Compare
Choose a tag to compare

v3.10.0 (Nov 3, 2023) with Chat SDK v4.13.0

  • Added the Suggested Replies feature to enable quick and effective question asking to the bot.
    • Added ChannelConfig.enableSuggestedReplies configuration to enable/disable Suggested Replies feature.
  • Added the Form type message feature to enable the user to submit a form type message received by the bot.
    • Added ChannelConfig.enableFormTypeMessage configuration to enable/disable Form type message feature.