2.0.0
Breaking changes:
- The Android library dependency name has changed from
cloud.genesys:messenger-transport-mobile-sdk:<version>
tocloud.genesys:messenger-transport-mobile-sdk-android:<version>
. - The main entry point object, previously
MobileMessenger
, has been renamed toMessengerTransport
. - The renamed
MessengerTransport
is now an instantiated class instead of a singleton object. - The
tokenStoreKey
has been removed from theConfiguration
object. - Removed deprecated
MessagingClient.connect()
andMessagingClient.configure()
APIs. - Removed deprecated
MessagingClient.stateListener
API.
Additions:
- Bi-directional typing indicators to signal when a user or agent has started typing a message.
- Handling for Web Messaging StructuredMessage types (Text and Event).
- Add
eventListener
toMessagingClient
to observe incoming messaging events. - Add
HealthChecked
Event to report successfulsendHealthCheck()
responses. - Package Messenger Transport as a multiplatform library that can be used in other Kotlin Multiplatform projects as a dependency.
Fixes:
- In order to improve reconnection experience on Android, the delay between reconnection attempts is lowered.
- Fix for case when calling
connect
on theMessagingClient
after reconnection attempts are exhausted fails without going into the retries reconnection cycle. - [Android] Report
State.Closed
when closing web socket reports that a graceful shutdown was not initiated by the call. In this scenario the shutdown is already underway or closed.
Documentation:
- 1.X to 2.X Migration Guide documentation published in the Developer Center.
- SDK Documentation published in Developer Center
- Update installation notes in README.
Build:
- [iOS] Remove EXCLUDED_ARCHS from CocoaPods podspec since Messenger Transport frameworks are built with apple silicon slices. Reported in Issue 93.
- Disable bitcode when building iOS Framework as it is deprecated per Xcode 14 Release Notes.
- Update generated XCFramework Info.plist with proper version information.
- Update Kermit to 1.1.2
- Update OKHttp to 4.10.0
Tests:
- Provide/Update tests to cover new functionality and changes.
Test applications:
- Update testbed apps to integrate with new functionality and API changes.
Full Changelog: v1.2.2...2.0.0