nemu_tracking_flutter 1.2.0
nemu_tracking_flutter: ^1.2.0 copied to clipboard
Nemu Smart Links attribution SDK for Flutter - UTM tracking, deep linking, and install attribution.
Changelog #
1.2.0 #
- Add support for Nemu-format UTM parameters (
nemu_source,nemu_medium,nemu_adset,nemu_campaign,nemu_content,nemu_term). - When any
nemu_*parameter is present, the Nemu set takes full precedence and traditionalutm_*parameters are ignored (no merging).utm_mediumresolves fromnemu_adsetfirst, thennemu_medium. - URLs with only traditional
utm_*parameters keep the existing behavior. - Nemu keys are excluded from
custom_params.
1.1.1 #
- Fix
type 'Null' is not a subtype of type 'String'crash when deserializing session/attribution responses that omit optional fields. Tolerant JSON parsing acrossTrackingSession,CreateTrackingSessionResponse,TrackingSessionHistory,TrackingInfo,Attribution, andSessionDetail. - Make server-optional metadata fields nullable (
ip,origin,createdAt,updatedAt,dashboardId,accountId, nestedtracking/lastHistory) so missing values no longer abort requests and trigger retries. - Example app now targets the production base URL by default (removed hardcoded local
baseUrl).
1.1.0 #
- Track organic cold starts with
origin: 'direct'when the app opens without a URL. - Allow custom
baseUrlwithout requiring debug mode. - Handle Universal Links without a
smartLinkIdin the path by falling back to URI scheme attribution flow. - Default
productDatatoutmSource: 'direct'when no UTMs are present. - Enrich
utmContentwithnemu_{trackingSessionId}suffix ingetLastSessionHistory(). - Breaking: Upgrade
app_linksdependency to v7 (requires Flutter >= 3.38.1 and Dart >= 3.10.0).
1.0.0 #
- Initial release on pub.dev.
- Smart Links attribution, UTM tracking, deep linking (Universal Links and custom URL scheme), and deferred install attribution.
- Session management aligned with the Nemu trackings API (
/trackings/.../sessions, histories, prefetch/cache). - HTTP client with retries and structured error logging.