Skip to content

Qiscus Chat SDK for Flutter

Compare
Choose a tag to compare
@apiep apiep released this 02 Feb 07:04
· 112 commits to master since this release

Changes

  • fix not receiving message containing emoji correctly

Also changes from 1.0.9

  • fix not getting any realtime event after calling clearUser and then setUser 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.