Mobile attribution and deferred deep linking for iOS, distributed as a binary XCFramework. Requires iOS 15+.
New
clickTokenSourceoption onLinkTrailOptions(backed by the newLinkTrailClickTokenSourceenum, default.pasteButton) — configure how the deferred-link click token is captured on first launch.
Fixed
- Re-engagement & deferred deep links now route even before tracking consent is granted. The SDK resolves the destination and fires
onLinkas usual; it simply doesn't record the open until consent is given (previously the route could be gated along with the tracking call). trackInstallnow reads the pasteboard conditionally based on routing status, and deferred routing is correctly marked in the flag store — fixing cases where a deferred install wasn't attributed to its link.
Built on 0.0.9
- Consent gating:
LinkTrailOptions(requireConsent:)andLinkTrail.shared.setConsent(_:).
Install
Swift Package Manager
.package(url: "https://github.com/linktrail-io/ios-sdk.git", from: "0.0.10")CocoaPods
pod 'LinkTrailSDK', '~> 0.0.10'