Skip to content

2.0.0

Compare
Choose a tag to compare
@crumpf crumpf released this 30 Sep 19:26
· 261 commits to main since this release
81a4b77

Breaking changes:

  • The Android library dependency name has changed from cloud.genesys:messenger-transport-mobile-sdk:<version> to cloud.genesys:messenger-transport-mobile-sdk-android:<version>.
  • The main entry point object, previously MobileMessenger, has been renamed to MessengerTransport.
  • The renamed MessengerTransport is now an instantiated class instead of a singleton object.
  • The tokenStoreKey has been removed from the Configuration object.
  • Removed deprecated MessagingClient.connect() and MessagingClient.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 to MessagingClient to observe incoming messaging events.
  • Add HealthChecked Event to report successful sendHealthCheck() 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 the MessagingClient 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:

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