4.5.0
Changelog
[4.5.0] - 2026-08-11
Added
setCustomerUserId(_:)sets the customer user id afterconfigure(), 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 anappstack_match_statuskey telling you whether the
attribution request succeeded:matched,matched_no_params,organic,skipped,failedor
not_configured. Onlyfailedis worth re-reading later; the rest are settled answers.- Attribution match outcomes are now visible on the
.debuglog channel.
Changed
getAttributionParams()no longer returnsnil— where the result was previouslynilor 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 afterconfigure()is no longer overwritten by
the value passed toconfigure().
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.