Skip to content

Releases: sendbird/sendbird-chat-sdk-android

v4.2.1

09 Jan 04:51
Compare
Choose a tag to compare

Improvements

  • Fixed possible ANR in SendbirdChat.init()

v4.2.0

09 Dec 06:31
Compare
Choose a tag to compare

Features

Pinned Message 📌

Pinned Message is released. You can now maintain a special set of messages (up to 10 per channel) that you want everyone in the channel to share. It can be anything from announcements, surveys, upcoming events, and any many more. Pin your messages and never miss them!
Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications:point_down:

Specification

  • Pin when sending a message
    • UserMessageCreateParams.isPinnedMessage: Boolean = false
    • FileMessageCreateParams.isPinnedMessage: Boolean = false
  • Pin existing message
    • GroupChannel.pinMessage(Long, CompletionHandler?)
  • Unpin a message
    • GroupChannel.unpinMessage(Long, CompletionHandler?)
  • Pinned messages
    • GroupChannel.lastPinnedMessage: BaseMessage? = null
    • GroupChannel.pinnedMessageIds: List<Long> = emptyList()

We strongly recommend using Collections (Message, Channel) to implement Pinned Messages as it would automatically take care of numerous events out of the box when messages are created, updated, and deleted.


Improvements

  • Fixed ConcurrentModificationException from VersioningCache.toString()

v4.1.3

21 Nov 05:50
Compare
Choose a tag to compare

Improvements

  • Added message filtering in pendingMessages and failedMessages of a MessageCollection using the MessageListParams
  • Removed isAnonymous flag from Poll related interfaces
    • Poll.isAnonymous
    • PollCreateParams.isAnonymous
    • PollUpdateParams.isAnonymous
  • Fixed pending message not being delivered by MessageCollectionHandler.onMessagesAdded() when sending a user message on an app built with Proguard on.
  • Fixed crash when printing CustomizableMessage.toString()
  • Fixed ConcurrentModificationException from OpenChannel.toString()

v4.1.2

18 Nov 05:35
Compare
Choose a tag to compare

Improvements

  • Fixed MessageCollectionHandler.onMessagesUpdated() not being fired when sending a FILE message on an app built with Proguard on.

v4.1.1

20 Oct 10:11
Compare
Choose a tag to compare
  • Changed constructor of PollData to public.

v4.1.0

14 Oct 07:56
Compare
Choose a tag to compare

Changelog

v4.1.0 (Oct 14, 2022)

Features

Polls

Polls is released 🎉 Here’s where we think it will be really powerful.

  • Collect feedback and customer satisfaction
  • Drive engagement by receiving participants in preferences
  • Run surveys and quiz shows
  • And many more!

Scheduled messages

Scheduled messages is released 🎊 Here’s where we think it will be really useful.

  • Let your users queue their messages for the future
  • Set helpful reminders and notifications to nudge certain actions
  • And many more!

Improvements

  • Fixed a bug where mentioned users are not cleared from a message when updating with an empty BaseMessageUpdateParams.mentionedUsers or BaseMessageUpdateParams.mentionedUserIds
  • Fixed a RejectedExecutionException when receiving an event in ConnectionStateManager.onEvent()
  • Fixed a crash when SendbirdChat.connect() is called with an invalid API/WS hosts

Please note that both Polls and Scheduled Messages are released as beta features. Thus specific parameters and properties may change to improve client’s overall experience.

Stay tuned for updates as we are rolling out more exciting features and see below for exact specifications 👇


Specification

Polls

  • Create
    • Poll.create()
      • PollCreateParams
    • UserMessageCreateParams.pollId
  • Read
    • Poll.get()
      • PollRetrievalParams
    • SendbirdChat.createPollListQuery()
      • PollListQueryParams
    • GroupChannel.createPollListQuery()
    • UserMessage.poll
  • Update
    • GroupChannel.updatePoll()
      • PollUpdateParams
    • GroupChannel.closePoll()
  • Delete
    • GroupChannel.deletePoll()
  • Others:
    • Poll
    • GroupChannel.getPollChangeLogsSinceTimestamp()
    • GroupChannel.getPollChangeLogsSinceToken()
    • PollData
    • GroupChannelHandler.onPollUpdated()
    • GroupChannelHandler.onPollDeleted()
      Options
  • Create
    • PollCreateParams.optionTexts
    • GroupChannel.addPollOption()
  • Read
    • PollOption.get()
      • PollOptionRetrievalParams
    • SendbirdChat.createPollVoterListQuery()
      • PollVoterListQueryParams
    • GroupChannel.createPollVoterListQuery()
  • Update
    • GroupChannel.updatePollOption()
    • GroupChannel.votePoll()
  • Delete
    • GroupChannel.deletePollOption()
  • Others:
    • PollOption
    • GroupChannelHandler.onPollVoted()
    • PollStatus
    • PollVoteEvent
    • PollUpdateEvent
    • CollectionEventSource.EVENT_POLL_UPDATED
    • CollectionEventSource.EVENT_POLL_VOTED
    • CollectionEventSource.POLL_CHANGELOG

Scheduled Messages

  • Create
    • GroupChannel.createScheduledUserMessage()
    • GroupChannel.createScheduledFileMessage()
  • Read
    • ScheduledMessageListQuery
    • BaseMessage.getScheduledMessage()
      • ScheduledMessageRetrievalParams
  • Update
    • GroupChannel.updateScheduledUserMessage()
    • GroupChannel.updateScheduledFileMessage()
  • Delete
    • GroupChannel.cancelScheduledMessage()
  • Others
    • ScheduledInfo
    • SendingStatus.SCHEDULED
    • BaseMessage.scheduledInfo
    • SendbirdChat.getTotalScheduledMessageCount()
      • TotalScheduledMessageCountParams

v4.0.9

28 Sep 08:03
Compare
Choose a tag to compare

v4.0.9 (Sep 28, 2022)

  • Added nicknameStartsWithFilter and nicknameExactMatchFilter in GroupChannelListQueryParams
  • Implemented history of channel membership where clients can now track whether users have joined or left the channel (MemberState.LEFT for left members of a GroupChannel)
  • Improved thread management to reduce total thread count when deleted

v4.0.8

02 Sep 04:48
Compare
Choose a tag to compare

v4.0.8 (�Sep 2, 2022)

  • Fixed a bug where GroupChannelListQuery.next() fails due to user ID not being properly encoded in the url

v4.0.7

31 Aug 06:16
Compare
Choose a tag to compare

v4.0.7 (Aug 31, 2022)

  • Added Boolean switch to remove operator status when leaving channels (GroupChannel.leave(shouldRemoveOperatorStatus: Boolean = false, handler: CompletionHandler))
  • Added MessageSearchQuery's totalCount and made it public (MessageSearchQuery.totalCount)

v4.0.6

17 Aug 05:50
Compare
Choose a tag to compare

v4.0.6 (�Aug 17, 2022)

  • Fixed a bug where onSessionTokenRequired is not called immediately after session expires