linktrail_flutter 0.0.4
linktrail_flutter: ^0.0.4 copied to clipboard
Flutter plugin wrapping the LinkTrail Android/iOS SDKs for mobile attribution and deferred deep linking.
0.0.4 #
- Bumped the wrapped iOS SDK to
LinkTrailSDK ~> 0.0.12(Android stays onio.linktrail:sdk:0.0.5). - New
LinkTrailClickTokenSource.none— opts out of reading the clipboard entirely, so no click token is recovered for deferred attribution. Previously an unrecognized value silently fell back topasteButton; the native mapping now handles every case explicitly.
0.0.3 #
- Bumped the wrapped native SDKs: iOS
LinkTrailSDK ~> 0.0.10, Androidio.linktrail:sdk:0.0.5. - Consent gating (GDPR / ePrivacy): new
LinkTrailOptions.requireConsent(deny-by-default) andLinkTrail.setConsent(bool). The SDK holds the install and drops events until consent is granted; deep links still route. No consent getter — replay it from your own storage each launch. - Deferred attribution (iOS): new
LinkTrailOptions.clickTokenSource(pasteButton/automatic),LinkTrail.trackInstallWithClickToken(token), and aLinkTrailPasteButtonwidget hosting Apple'sUIPasteControl(iOS 16+; renders nothing on Android). - Documented
linkDomainsre-engagement host gating and the cold-start "wireonLinkbeforeawait" rule. - Example: full first-launch consent flow (Allow / Deny / Skip + paste button), persisted with
shared_preferencesand replayed afterconfigure.
0.0.2 #
- Relicensed under MIT.
- Docs: install via the pub.flutter-io.cn package name (
flutter pub add linktrail_flutter); the git dependency is now just a pre-publish fallback.
0.0.1 #
Initial release — a Flutter plugin wrapping the native LinkTrail Android and iOS SDKs for mobile attribution and deferred deep linking.
- One Dart API (
LinkTrail) across Android and iOS, wrappingio.linktrail:sdk(Maven Central) andLinkTrailSDK(CocoaPods). configure, plusonLink/onAttribution/onErrorbroadcast streams (backed by platformEventChannels).handleDeepLink,trackInstall,trackEvent,lastAttribution,lastDeepLink, and iOS-only App Tracking Transparency / SKAdNetwork helpers.- Automatic deep-link capture — App Links, Universal Links, and custom schemes — with no
MainActivity/AppDelegateboilerplate, on both cold start and while running. - iOS 13+ UIScene lifecycle support (works on iOS 26
FlutterSceneDelegate). - Typed
LinkTrailExceptionerrors. - Platforms: Android (min SDK 26), iOS 15+.