Skip to content

Commit

Permalink
Merge pull request #42 from sendbird/release/3.20.1
Browse files Browse the repository at this point in the history
3.20.1
  • Loading branch information
sendbird-sdk-deployment authored Aug 30, 2024
2 parents c49f473 + 40bd3a4 commit c103e1c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
# Changelog
### v3.20.1 (Aug 30, 2024) with Chat SDK `v4.18.0`
* Added support for EmojiCategory. You can now filter emojis for different messages when adding Reactions to a message.
* New Interfaces
```kotlin
class BaseMessageListAdapter {
fun getEmojiCategories(message: BaseMessage): List<Long>? {
return null
}
}
```
* Note: You need to set your custom EmojiCategory using [Sendbird Platform API](https://sendbird.com/docs/chat/platform-api/v3/message/reactions-and-emojis/reactions-and-emojis-overview) in advance.
* Fixed a crash in the new version due to new fields not having default value.

### v3.20.0 (Aug 29, 2024) with Chat SDK `v4.18.0`
* Added support for EmojiCategory. You can now filter emojis for different messages when adding Reactions to a message.
* New Interfaces
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ android.nonTransitiveRClass=false
android.nonFinalResIds=false
android.enableR8.fullMode=false

UIKIT_VERSION = 3.20.0
UIKIT_VERSION = 3.20.1
UIKIT_VERSION_CODE = 1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ internal data class NotificationTemplate constructor(
private val _uiTemplate: String,
@SerialName(KeySet.data_template)
@Serializable(with = JsonElementToStringSerializer::class)
private val _dataTemplate: String,
private val _dataTemplate: String = "{}", // for backward compatibility. [since 3.20.1]
@SerialName(KeySet.color_variables)
private val _colorVariables: Map<String, String>
) {
Expand Down

0 comments on commit c103e1c

Please sign in to comment.