Version history
Current compatibility
A summary for the current SDK version. When upgrading a major or minor version, check this section.
Compatibility matrix
| Parameter | Value |
|---|---|
| SDK version (UI) | 5.21.0 |
| Core version | 1.17.0 |
| Minimum Android (minSdk) | API 21 (Android 5.0 Lollipop) |
| Target SDK (targetSdk) | 35 |
| Compile SDK (compileSdk) | 35 |
| Kotlin | 1.9.10 |
| Android Gradle Plugin | 8.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
| Dependency | Version |
|---|---|
| Material Components | 1.13.0 |
| Retrofit | 2.9.0 |
| OkHttp | 4.12.0 |
| Picasso | 2.8 |
| Gson | 2.11.0 |
| Markwon | 4.6.2 |
| AppCompat | 1.7.1 |
| Firebase Messaging | 23.4.1 |
| AndroidX Core KTX | 1.12.0 |
| AndroidX Work Runtime | 2.9.0 |
| AndroidX Security Crypto | 1.1.0 |
| Jsoup | 1.15.2 |
| Flexbox | 3.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
isReconnectEnabledandmaxReconnectAttemptsinWSConfig. 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/initAsynccompletes. - 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
initAsynccalls.
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 → wavis 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.