Skip to content

Qiscus Chat SDK (core) v1.13.0

Latest

Choose a tag to compare

@ariefnurputranto ariefnurputranto released this 03 Dec 10:36
b4faac5

Changelog :

  • Add Phoenix realtime transport. The realtime_transport value from the app config selects mqtt, both, or phoenix; a missing or unknown value stays on mqtt.
  • In both and phoenix, realtime events come from the Phoenix gateway over a websocket. Socket and room tokens are one-time tokens and are redacted in logs.
  • The /config is reloaded on the gateway transport_changed event and when the app returns to the foreground (not in mqtt mode).
realtime_transport Realtime events Notes
mqtt (default) MQTT same as before
both Phoenix falls back to MQTT after 3 failed attempts before the first join
phoenix Phoenix presence and custom events are not realtime

A client that started while its app was on mqtt picks up a new transport after the app is relaunched.

Installation

Add the Qiscus repository to your project build.gradle (or settings.gradle):

repositories {
    maven { url "https://artifactory.qiscus.com/artifactory/qiscus-library-open-source" }
}

Then add the dependency to your app build.gradle:

dependencies {
    implementation 'com.qiscus.sdk:chat-core:1.13.0'
}