Fixed the typing indicator not showing: since 2.1.16, typing/stopTyping socket events were dropped and reported as contract errors.
Fixed an "Already resumed" crash when a duplicate or late socket reply arrived while entering a chat room or loading messages. Pending requests lost on a dropped connection are now resent on reconnection, and leaving a room discards them.
Added audio messages in chat (record, pause/resume, preview, waveform). Disabled by default: enable with enableAudioMessages(true) or setAudioMessagesEnabled(true).
Added a "scroll to latest" button with new messages counter and improved chat autoscroll.
Added a 25 MB limit on attachments and audio messages.
authenticate() with a different userId now logs out the previous user and wipes its local data (chats, professionals, unread counts, notifications, push token).
SDK callbacks are now delivered on the main thread.
Backend, contract and socket errors are reported to crash reports (4xx as Warning, 5xx as NonFatal; 401/403, timeouts and cancellations are not reported).
Crash reports and logs no longer contain credentials or personal data (JWT, API key, push token, userId, email…).
SDK logs now follow LogMode (NONE by default) in release builds as well.
Reduced consumer ProGuard rules so they only affect SDK classes (better obfuscation/optimization in the host app). Removed unused dependencies: Moshi, RxJava 2 and Firebase Dynamic Links.
Added the RECORD_AUDIO permission to the SDK manifest. Integrators not using audio messages can remove it with tools:node="remove".
Accessibility improvements (TalkBack descriptions, contrast, close button in the image viewer).
Fixed the cached user profile not being cleared on logout.