Qiscus Chat SDK for Flutter
Changes
- fix not receiving message containing emoji correctly
Also changes from 1.0.9
- fix not getting any realtime event after calling
clearUser
and thensetUser
or relogin - add update message feature
Detail:
updateMessage(message: QMessage, callback: (error: QError) => void): void
onMessageUpdated(handler: (message: QMessage) => void): () => void
For example:
QiscusSDK.instance.updateMessage(message, (error) {
if (error != null) {
print('error:', error)
return
}
print(message)
})
// And for listening on event when another user updating their message:
QiscusSDK.instance.onMessageUpdated((QMessage message) {
print(message);
})
Please note that this feature is only activated / available for selected client only, contact our support for more information.