Skip to content

Android (Kotlin/Java) SDK 4.27.0

Latest

Choose a tag to compare

@Kameleoon-SDK Kameleoon-SDK released this 28 Aug 04:03

Features

  • Added support for SDK event handlers through the new [setEventHandler][setEventHandler] API:
    • DATAFILE_UPDATE notifies when the SDK data file (configuration) is updated with polling or streaming modes.
    • HTTP_REQUEST notifies when SDK HTTP requests complete successfully or fail. The handler is called once per each actual HTTP request attempt, including retries.
    • HTTP request events include the request type, HTTP status or failure details, and request duration.
    • Passing null to setEventHandler clears the handler for the selected event type.
  • The onUpdateConfiguration method has been deprecated in favor of [setEventHandler][setEventHandler] with the DATAFILE_UPDATE event type.

Bug fixes

  • Targeting conditions of unknown (unsupported) types are now evaluated to false instead of true, so visitors are no longer targeted by segments containing web-specific conditions the SDK does not support.