Skip to content

v1.1.3

Compare
Choose a tag to compare
@hoon-sung hoon-sung released this 23 Jun 02:26
· 38 commits to master since this release
  • Added features that supports storing and resending messages which RequestState is FAILED.
    • Added fetchFailedMessages() in MessageCollection to fetch FailedMessage in local database.
    • Added fetchSucceededMessages() in MessageCollection to fetch SucceededMessage in local database.
    • Deprecated fetch() in MessageCollection. It is replaced by fetchSucceededMessages().
    • Added onFailedMessageEvent() in MessageCollectionHandler to to notify events of messages which RequestState is FAILED.
    • Added onSucceededMessageEvent() in MessageCollectionHandler to notify events of messages which RequestState is SUCCEEDED.
    • Added onPendingMessageEvent() in MessageCollectionHandler to notify events of messages which RequestState is PENDING.
    • Added onNewMessage() in MessageCollectionHandler to notify new message's creation.
    • Deprecated onMessageEvent() in MessageCollectionHandler. It is replaced by onSucceededMessageEvent() and onPendingMessageEvent().
  • Added properties used for configuring SendBirdSyncManager in SendBirdSyncManager.Options.
    • Added SendBirdSyncManager.Options.Builder to build SendBirdSyncManager.Options.
    • Added ThreadOption and setThreadOption() in SendBirdSyncManager.Options.
    • Added setMaxFailedMessageCountPerChannel() in SendBirdSyncManager.Options.Builder to configure maximum count of failed messages one GroupChannel can store.
    • Added setFailedMessageRetentionDays() in SendBirdSyncManager.Options.Builder to configure retention days of failed messages.
    • Added setAutomaticMessageResendRetryCount() in SendBirdSyncManager.Options.Builder to configure resending retry count.
  • Added AUTOMATIC to MessageResendPolicy to support resending failed messages automatically.
  • Improved stability.