Skip to content

Flutter SDK 3.9.0

Latest

Choose a tag to compare

@Kameleoon-SDK Kameleoon-SDK released this 02 Sep 11:31

Features

  • Upgraded Flutter SDK to use iOS SDK 4.28.0 / Android SDK 4.27.0 / JS/TS SDK 4.25.0
  • Added support for SDK event handlers through the new [setEventHandler][setEventHandler] method:
    • EventType.dataFileUpdate notifies when the SDK data file (configuration) is updated with polling or streaming modes.
    • EventType.httpRequest 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 EventType.dataFileUpdate 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.