1.3.0-rc2
Pre-release
Pre-release
CXOne Chat SDK
Bug Fixes
- Set Connection.CustomerId type to String (was UUID)
- Make date formatting thread safe
- Use referential equality for enum comparison
- Cancel start job in case of re-configuration of ChatInstanceProvider
- Refactor Chat to separate prepare and connect actions
- Message.MessageAuthor is nullable
- Application has to provide fallback based on direction of the message in such case
- Update Agent.isTyping only when agent is typing
- Remove messages with duplicate id from thread
- Sockets created by SDK can be tagged for TrafficStats
- Delay SharedPreferences initialization
- Fix unreliable unit tests depending on makeMessageModel being sequential
- fix display of new agent messages
- Disable sending empty messages
- return error when receiving "invalid" server response on image upload
- BREAKING CHANGE if uploaded filename has no extension, get one using MimeTypeMap
- fileName and mimeType are now required parameters for attachment upload
- Correct welcome message handling
Dependency Change
- Update Kotlin 1.8.21 -> 1.9.21
- Bump com.squareup.okhttp3:okhttp from 4.11.0 to 4.12.0
- Bump androidx.core:core-ktx from 1.10.1 to 1.12.0
Features
- Extract logging library module
- Add logger-android module
- Add option to specify Logger for the SDK
- Add ProxyLogger constructor with vararg param
- Improve Java compatibility
- Raise project compileSdk 33 -> 34
- Improve logging of outgoing events
- Pass server reported errors to integration
- Process events on background thread
- Allow to change users name
- Message is updated when read by agent
- Add seenAt and inferred state to message metadata
- Implement CaseStatusChanged event
- Thread list now receives updated thread when thread is archived