Skip to main content
Version: 5.21.0

Version history

Current compatibility

A summary for the current SDK version. When upgrading a major or minor version, check this section.

Compatibility matrix

ParameterValue
SDK version (UI)5.21.0
Core version1.17.0
Minimum Android (minSdk)API 21 (Android 5.0 Lollipop)
Target SDK (targetSdk)35
Compile SDK (compileSdk)35
Kotlin1.9.10
Android Gradle Plugin8.6.1
Java (jvmTarget)17

Server-side versions the SDK release was tested against (determined on the server side, do not affect the app build):

  • Backend ednaChatCenter — 6.35.0
  • Datastore ednaChatCenter — 15
  • Default chat history API — v16 (ChatApiVersion.V16)

Key dependencies used

DependencyVersion
Material Components1.13.0
Retrofit2.9.0
OkHttp4.12.0
Picasso2.8
Gson2.11.0
Markwon4.6.2
AppCompat1.7.1
Firebase Messaging23.4.1
AndroidX Core KTX1.12.0
AndroidX Work Runtime2.9.0
AndroidX Security Crypto1.1.0
Jsoup1.15.2
Flexbox3.0.0

Breaking changes: none. Within 5.x, the public API is compatible. The general migration guide from 4.x is in the Migration guide.

5.21.0

Changes

  • Added automatic WebSocket reconnect on disconnect. Disabled by default; enabled via isReconnectEnabled and maxReconnectAttempts in WSConfig. See Network config.
  • The chat screen now shows a "Connecting..." state during connection recovery; the send and attach buttons are disabled.
  • If the chat, attachment gallery, or SDK dialogs are opened by the system before SDK initialization completes, a "Restoring state…" screen is shown; the gallery and dialogs are closed automatically.

Bug fixes

  • Fixed crashes when opening the chat and related screens before init / initAsync completes.
  • Stabilized message loading and search: operations are cancelled when the chat screen closes.
  • Custom views correctly apply styles if the SDK was already initialized by the time they are displayed.
  • Fixed async-init state toggling on repeated initAsync calls.

5.20.0

Bug fixes

  • Fixed visual artifacts when switching message-search states.

5.19.0

Changes

  • Removed the external FFmpeg dependency. Audio attachment conversion 3gp/amr-wb → wav is now done by the SDK via a native decoder — reduces APK size.
  • Implemented reloading of a broken image preview for a user's outgoing message.
  • Local database cleanup is now asynchronous — eliminates UI freezes on large history volumes.
  • Fixed scrolling to a quoted message and its highlighting.

Bug fixes

  • Fixed unsubscribing from the chat state on a repeated authorization by the same user — eliminates unexpected WebSocket closures.
  • Fixed image loading and display; correctly computes file size for URIs with the file: scheme.

Hotfix releases

  • 5.19.1 — bundles the 5.19.0 fixes for customers who cannot upgrade to 5.20.0. No user-visible changes relative to 5.19.0.

5.18.0

Changes

  • Added the ability to leave a text comment for the operator rating in the end-of-dialog survey.
  • Added the public method ChatCenterCore.prefill(message: String) — inserts the provided text into the message input field when the chat is opened.

Bug fixes

  • Fixed receiving bot welcome messages when using pre-registration of the user.
  • Fixed several app crashes.