sendbird_sdk 3.2.12 sendbird_sdk: ^3.2.12 copied to clipboard
The Flutter SDK for Sendbird Chat brings modern messenger chat features to your iOS and Android deployments
[3.2.12] - May 24, 2023 #
- Removed error thrown when refresh successful key
[3.2.11] - May 1, 2023 #
- Fix issue with code generation dart g files
message_list_params
variableshowSubChannelMessagesOnly
JSON key updated- Update documentation on
preMessage
of not recieving messageID when pending Message - Update deprecated value
hashValues
toObject.hash
[3.2.10] - Apr 17, 2023 #
- Fix issue with code generation dart g files
[3.2.9] - Apr 13, 2023 #
- Improved stability
- Fix issue when Message
data
property is not String to return NULL - Fix issue with Vote api request by changing request to websocket request
[3.2.8] - Mar 20, 2023 #
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👇
Specification #
Pin when sending a message
- UserMessageParams(bool isPinnedMessage = false) Pin existing message
- Future
- Future
- BaseMessage? GroupChannel.lastPinnedMessage
- List
[3.2.7] - Mar 13, 2023 #
- Copy
fileName
andfileSize
when copyMessage for FileMessage - Include
extendedMessage
for AdminMessage
[3.2.6] - Feb 22, 2023 #
- Fix
mark_as_read_all
method not returning thechannel_urls
[3.2.5] - Feb 20, 2023 #
- Include param
shouldRemoveOperatorStatus
in GroupChannelLeaveRequest to remove operator status when leaving groupchannel
[3.2.4] - Feb 20, 2023 #
- Improve speed for sending messages
[3.2.3] - Jan 26, 2023 #
- Include
FileMessageParams.withFileBytes
to support sending file message with bytes for web
[3.2.2] - Jan 19, 2023 #
- Include Pending Message Mention Property
[3.2.1] - Jan 3, 2023 #
- Fix issue with uploading profile with file
- Fix issue with retrieving file messages with requireAuth
- Fix issue with scheduled message
channel_type
[3.2.1] - Jan 3, 2023 #
- Fix issue with uploading profile with file
- Fix issue with retrieving file messages with requireAuth
- Fix issue with scheduled message
channel_type
[3.2.0] - Dec 14, 2022 #
- Include Poll Feature
- Include Scheduled Message Feature
- Include Security Tips in ReadME
Features #
Polls #
Polls is released 🎉 Here’s where we think it will be mighty.
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 advantageous.
Let your users queue their messages for the future
Set helpful reminders and notifications to nudge certain actions
And many more!
Improvements 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
Polls Create Poll
Poll.create({PollCreateParams params, OnPollCallback? onCompleted})
Read Poll
Poll.get({PollRetrievalParams params, OnPollCallback? onCompleted})
PollListQuery
PollListQuery({PollListQueryParams params})
UserMessage.poll
Update Poll
GroupChannel.updatePoll({int pollId, PollUpdateParams params, OnPollCallback? onCompleted})
Close Poll
GroupChannel.closePoll({ int pollId, OnPollCallback? onCompleted})
Delete Poll
GroupChannel.deletePoll({int pollId, OnCompleteCallback? onCompleted})
Others:
Poll
GroupChannel.getPollChangeLogsSinceTimestamp(int ts, PollChangeLogsParams params)
GroupChannel.getPollChangeLogsSinceToken(String? token, PollChangeLogsParams params)
PollData
Poll Options Create Poll Option
GroupChannel.addPollOption({int pollId, String optionText, OnPollCallback? onCompleted})
Read Poll Option
PollOption.get(PollOptionRetrievalParams params, OnPollOptionCallback? onCompleted)
Poll Vote List
PollVoterListQuery(PollVoterListQueryParams params)
Update Poll Option
GroupChannel.updatePollOption({int pollId, int pollOptionId, String optionText, OnPollCallback? onCompleted})
Vote Poll
GroupChannel.votePoll({int pollId, List<int> pollOptionIds,OnPollCallback? onCompleted})
Delete Poll Option
GroupChannel.deletePollOption({int pollId, int pollOptionId, OnCompleteCallback? onCompleted})
Others:
PollOption
PollStatus
PollVoteEvent
PollUpdateEvent
ChannelEventHandler - void onPollUpdated(PollUpdateEvent event) {}
ChannelEventHandler - void onPollVoted(PollVoteEvent event) {}
ChannelEventHandler - void onPollDeleted(int pollId) {}
Scheduled Messages Create Scheduled Messages
GroupChannel.createScheduledUserMessage()
GroupChannel.createScheduledFileMessage()
Read Scheduled Message
BaseMessage.getScheduledMessage()
ScheduledMessageListQuery
ScheduledMessageRetrievalParams
Update Scheduled Message
GroupChannel.updateScheduledUserMessage()
GroupChannel.updateScheduledFileMessage()
Delete Scheduled Message
GroupChannel.cancelScheduledMessage()
Others
ScheduledInfo
MessageSendingStatus.scheduled
BaseMessage.scheduledInfo
sdk.getTotalScheduledMessageCount()
TotalScheduledMessageCountParams
[3.1.20] - Dec 6, 2022 #
- Fix
GroupChannelListRequest
forchannel_urls
- Fix
OGMetaData
property naming - Include
ScheduledMessageListQueryParams
- Fix
EnumToString
issue - Fix
updateUnreadCount
for Admin Message
[3.1.19] - Nov 15, 2022 #
- Removed
user-agent
in http request header
[3.1.18] - Nov 10, 2022 #
- Fixed issue with
requireAuth
inparentMessage
[3.1.17] - Nov 3, 2022 #
- Updated documentation for registerPushToken
- Updated
connectivity_plus
dependency to support Flutter 3.3.1
[3.1.16] - Oct 27, 2022 #
- Fixed file message issue with HEIC and HEIF files
[3.1.15] - Jul 20, 2022 #
- Update License Agreement
- Change markAsRead method to Future method
- Fix a bug where connection status close automatically
- Include isChannelMention parameter in UserMessageParams
[3.1.14] - Jul 20, 2022 #
- Fix connection subscription issue
[3.1.13] - Jun 22, 2022 #
- Update G Files
- Include Should Remove Operator Status
- Include Scheduled User and File Message
- Include View Scheduled Message
- Include Cancel Scheduled Message
- Include Total Count Scheduled MEssages
- Include View Scheduled Message List
- Include Scheduled Message Update
- Include Scheduled Message Send Now
- Include parameter
channelType
for poll request - Include Scheduled Message Callback
- Include HiddenFilter All Option
- Include Exclusive Channel
- Changed to require MimeType FileInfo.fromData
- Fix include scheduled_message_id to message_id
- Fix Connection Subscription Issue
- Fix issue with Flutter Version 3.0.0 Update
[3.1.12] - March 29, 2022 #
- Fixed issue with push notification functionality when online (always push)
[3.1.11] - March 18, 2022 #
- Updated to latest dependencies
- Fix url exception issue in OGMetaData object by changing OGImage url to be nullable
- Included
getTotalUnreadChannelCountWithParams
method where parameters include custom type and super mode filter - Included logic for SDK behavior when session token revoked
[3.1.10] - Feb 25, 2022 #
- Fix issue with timestamp on Flutter for Web
- Fix issue with pagination in
PreviousMessageListQuery
- Refactored message fetch params and added deprecation annotation for
includeReplies
andincludeParentMessageText
[3.1.9] - Feb 8, 2022 #
- Web support included
- Improved stability
- Fixed issue with retrieving
creator
property fromBaseChannel
Class - Fixed issue with retrieving groupchannel with
thumbnails
property
[3.1.7] - Dec 14, 2021 #
- Introduced new feature
Reply to channel
- Added
ReplyType
enum for loading messages with respect to message's reply messages - Added
includeParentMessageInfo
,replyType
inMessageChangeLogsParams
,MessageListParams
,PreviousMessageListQuery
- Deprecated
includeReplies
,includeParentMessageText
inMessageChangeLogsParams
,MessageListParams
,PreviousMessageListQuery
- Added
parentMessage
,isReplyToChannel
inBaseMessage
- Deprecated
parentMessageText
inBaseMessage
- Added
replyToChannel
toBaseMessageParams
- Updated
GroupChannelParams
constructor to takeisUpdate
parameter for update channel - Fixed connection issue when
LoginTimeout
occurs
[3.1.6] - Nov 3, 2021 #
- Added
RestrictedUser
for callback mute/ban feature - Fixed session related issue
- Fixed group channel updates not to apply unset
operator_ids
inGroupChannelParams
[3.1.5] - Sep 30, 2021 #
- Fixed link in README
- Improved stabilities
[3.1.4] - Sep 24, 2021 #
- Fixed HMS push token registration
- Improved stability
[3.1.3] - Sep 3, 2021 #
- Added metaData related filters for
GroupChannelListQuery
andPublicGroupChannelListQuery
- Fixed behavior when app life cylce state has changed
- Fixed message parsing when it has a link
- Improved stabilities
[3.1.2] - Aug 25, 2021 #
- Added
broadcastOnly
option for super group filter in group list query - Fixed last message update for admin message
- Fixed member state when a user was invited to group channel
- Refactored api architecture
[3.1.1] - Jul 27, 2021 #
- Fixed a bug that connectivity is not working properly when nternet connection becomes on after off
- Changed
connectivity
dependency toconnectivity_plus
[3.1.0] - Jul 7, 2021 #
Breaking changes #
In line with the overall update for Chat SDK for Flutter 3.1.0, behavior changes are applied to the following classes. Visit Sendbird Docs for further information.
- The
PreviousMessageListQuery
now requireschannelType
andchannelUrl
.
PreviousMessageListQuery({
required this.channelType,
required this.channelUrl,
});
- The
OperatorListQuery
now requireschannelType
andchannelUrl
.
OperatorListQuery({
required this.channelType,
required this.channelUrl,
});
- The
MessageSearchQuery
now requireskeyword
.
MessageSearchQuery({required this.keyword});
- The
GroupChannelMemberListQuery
now requireschannelUrl
.
GroupChannelMemberListQuery({required this.channelUrl});
- The
UserMessageParams
now requiresmessage
.
UserMessageParams({
required this.message,
})
- The
ScheduledUserMessageParams
now requiresscheduledDateString
,timezone
, andmessage
.
ScheduledUserMessageParams({
required this.scheduledDateString,
required this.timezone,
required String message,
})
- The
MessageRetrievalParams
now requireschannelType
,channelUrl
, andmessageId
.
MessageRetrievalParams({
required this.channelType,
required this.channelUrl,
required this.messageId,
});
[3.1.0-nullsafety.1] - Jun 22, 2021 #
- Fixed
connectionStatus
mapping for user/sender/member - Added HMS for push type
- Added
always_push
parameter for push registeration - Improved stability
[3.1.0-nullsafety] - Jun 22, 2021 #
- Fixed channel object to contain last message when invoking
onMessageReceived
callback - Improved stability
[3.0.14-nullsafety] - Jun 13, 2021 #
- Applied null-safety
- Updated dependencies
- Fixed
mostRepliesUsers
mapping in ThreadInfo - Improved stability
[3.0.13] - May 17, 2021 #
- Fixed file type mis mapping bug
- Added
cancelUploadingFileMessage
inBaseChannel
- Added
joinedAt
inGroupChannel
- Improved stability
[3.0.12] - Apr 25, 2021 #
- Fixed to apply option to
SendbirdSdk
properly - Fixed
sendFileMessage
progress inconsistency - Improved stability
[3.0.11] - Apr 22, 2021 #
- Added
nicknameStartWith
filter inApplicationListQuery
- Updated pubspec and README
- Fixed typo
[3.0.10] - Apr 19, 2021 #
- Fixed register token endpoint
- Fixed typo
- Dropped some suffix
~Filter
fromGroupChannelListQuery
- Changed
FileInfo.fromUrl
parametermimeType
as optional (default isimage/jpeg
) - Changed
getCurrentUser
tocurrentUser
getter - Improved stability
[3.0.9] #
- Fixed metaData mapping for
User
- Renamed
ImageInfo
toFileInfo
- Renamed
markAsDelivered
parameter name frompayload
todata
- Renamed
PushTokenType
gcm
tofcm
[3.0.8] #
- Implemented
==
operator for channels, users and messages - Fixed
getMessage
method - Added
getMyMuteInfo
method inBaseChannel
- Renamed
GroupChannelSuperChannelFilter
andGroupChannelPublicChannelFilter
toSuperChannelFilter
andPublicChannelFilter
- Redefined error cases
- Added rate limit (1 second) in
markAsRead
method - Renamed
onChannelMetaData~
andonChannelMetaCounter~
of channel event handler's method toonMetaData~
andonMetaCounter~
- Renamed
addChannelHandler
removeChannelHandler
andgetChannelHandler
toaddChannelEventHandler
,removeChannelEventHandler
andgetChannelEventHandler
respectively - Renamed
addConnectionHandler
removeConnectionHandler
andgetConnectionHandler
toaddConnectionEventHandler
,removeConnectionEventHandler
andgetConnectionEventHandler
respectively - Renamed
onUpdateTotalUnreadMessageCount
method inUserEventHandler
toonTotalUnreadMessageCountUpdated
[3.0.7] #
- Added
nickname
parameter inconnect
method - Implmeneted json serializations for queries
- Fixed message change log bugs
- Updated user agent
- Updated README and fixed repo link
- Cleaned up import pattern
[3.0.6] #
- Renamed package
sendbirdsdk
tosendbird_sdk
- Cleaned up unused codes
- Improved stability
[3.0.5] #
- Fixed Admin message mapping
- Changed user property
isOnline
toconnectionStatus
- Added
getCachedMetaData
method inBaseChannel
- Updated docs
- Improved stability
[3.0.4] #
- Added
GroupChannelMemberListQuery
- Changed
refreshChannel
torefresh
for channel - Changed parameter type from
User
toString
forreportUser
on channel - Fixed bugs on mapping sender
- Fixed bugs on sending file message
- Fixed bugs on caching
- Improved stability
[3.0.3] #
- Changed return type of update messages (remove completion and use future)
- Accepted mimetype on
ImageInfo
- Improved stability
[3.0.2] #
- Added member count events for ChannelEventHandler
- Added session refresh / expiration
- Changed method signatures for send / update / resend user and file message
- Handled file message sending asynchronously
- Added network awarness to reconnect
- Updated internal logic while reconnecting
- Refactored socket events
- Improved stability
[3.0.1] Add missing features #
- Added reactions
- Added file size limit
- Added thumbnail option for file message
- Added
OGMetaData
,OGImage
for open graph - Added logging
- Added
PreviousMessageListQuery
- Updated reference documentation
- Improved stability
[3.0.0] developer preview #
- Developer preview