v4.2.0 (Jan 31, 2024)
Features
Local Caching for Android and iOS (Not supported for Web yet)
Local caching enables Sendbird Chat SDK for Flutter to cache and retrieve group channel and message data locally. Its benefits include reducing refresh time and allowing a client app to create a channel list or a chat view that can work online as well as offline.
The local caching feature is enabled by default.
- Added
useCollectionCaching
inSendbirdChatOptions
(The default value istrue
) - Added
getCachedDataSize()
,clearCachedData()
andclearCachedMessages()
inSendbirdChat
- Added
getFailedMessages()
,removeFailedMessages()
andremoveAllFailedMessages()
inMessageCollection
- Added
markAsRead() in
BaseMessageCollection`
Improvements
- Fixed the bugs regarding FeedChannel
- Improved stability