Skip to content

4.5.0

Choose a tag to compare

@tomredlev-as tomredlev-as released this 11 Aug 09:14
· 3 commits to main since this release

Changelog

[4.5.0] - 2026-08-11

Added

  • setCustomerUserId(_:) sets the customer user id after configure(), for when the id is only
    known once the user logs in. It applies to every event sent from that point on, including events
    already buffered but not yet delivered.
  • getAttributionParams() now always carries an appstack_match_status key telling you whether the
    attribution request succeeded: matched, matched_no_params, organic, skipped, failed or
    not_configured. Only failed is worth re-reading later; the rest are settled answers.
  • Attribution match outcomes are now visible on the .debug log channel.

Changed

  • getAttributionParams() no longer returns nil — where the result was previously nil or empty,
    it now carries the status key explaining why. Existing call sites keep compiling, but code using
    an empty result to mean "not attributed" should switch to the status key.

Fixed

  • deleteUserData() now also clears the stored customer user id.
  • A blank customer user id is treated as absent instead of being sent as an empty string.
  • A setCustomerUserId(...) call made immediately after configure() is no longer overwritten by
    the value passed to configure().

Installation

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/appstack-tech/ios-appstack-sdk.git", from: "4.5.0")
]

XCFramework

Download AppstackSDK.xcframework.zip from the assets below and add it to your project.