Releases: snowplow/snowplow-flutter-tracker
Version 0.7.1
This patch release removes the requirement for the user to provide an ID for ScreenView
events.
In ScreenView
events (for mobile), the ID is a UUID that represents that specific loading of that screen. This ID was mistakenly set as a required argument for ScreenView
s. The tracker will generate an ID by itself, although this can still be overriden by providing an ID as argument.
Bug fixes
- Automatically generate ID for ScreenViews (#55)
Version 0.7.0
This release introduces media tracking APIs in the tracker for both Web and mobile platforms.
Enhancements
- Add media tracking APIs to the tracker (close #49)
- Add support for Android Gradle Plugin 8 (close #46) thanks to @petermnt
Bug fixes
- Fix tracker initialization with partial platform context property overrides on Android (#53)
Under the hood
Version 0.6.0
This release updates the underlying mobile trackers on iOS and Android to version 6.0. Along with this update, it adds the new mobile screen engagement tracking feature to the tracker. The release also adds an option to override values in the platform context entity tracked on mobile, including setting the IDFA identifiers.
Enhancements
- Upgrade mobile trackers to version 6.0
- Add support for mobile screen engagement tracking including list item view and scroll changed events (#43)
- Add configuration to override platform context properties in the mobile context including the IDFA identifiers (#44)
Under the hood
Release 0.5.0
This release brings lifecycle autotracking for iOS and Android apps. When configured, a Lifecycle context entity is attached to all events. It records whether the app was visible or not when the event was tracked. In addition, a Background
event will be tracked when the app is moved to background, and a Foreground
event when the app moves back to foreground (becomes visible on the screen).
Lifecycle autotracking is off by default. Configure it with the TrackerConfiguration
when setting up the tracker. It has no effect on web apps.
SnowplowTracker tracker = await Snowplow.createTracker(
namespace: 'namespace',
endpoint: 'http://...',
trackerConfig: const TrackerConfiguration(
lifecycleAutotracking: true
)
);
Enhancements
- Add lifecycle autotracking config option (#39)
Version 0.4.0
This release upgrades the underlying iOS and Android trackers to version 5. In version 5, the trackers were rewritten to Swift and Kotlin. This also changes the minimum iOS deployment target changed from 9.0 to 11.0. On Android, the compileSdkVersion
has been changed to 33.
The release also brings the ability to set custom HTTP request headers for requests to the Snowplow collector.
Enhancements
- Add configuration for setting custom HTTP headers for requests to the collector (#34)
- Upgrade underlying iOS and Android trackers to version 5 (#36)
Under the hood
- Remove deprecated kotlin-android-extensions plugin in example app (#35)
- Upgrade JavaScript tracker in the example app to version 3.13
Version 0.3.0
We've added several configuration options to help you create your ideal events. It's now possible to enable anonymous tracking to anonymise important client-side or server-side user and session identifiers. Also, for mobile apps, choose whether or not to add the Screen and Application context entities to events.
CHANGELOG
New Features
Enable screen and application context on mobile (#27)
Add anonymous tracking features (#16)
Version 0.2.0
The Flutter tracker now works with Flutter 3!
We've updated the versions of the internal Snowplow trackers: it now uses JavaScript tracker v3.5 (for Web), Android v4, and iOS v4. The upgrade to JavaScript tracker v3.5 meant we were able to remove a JS file, making the tracker load more easily, and most importantly, load using Flutter 3.
The ability to set a custom POST path has also been added. Thanks to @erickok for the suggestion.
CHANGELOG
New Features
Configure custom POST path (#15)
Bug fixes
Remove loading custom JavaScript for session context and reading cookies (#13)
Under The Hood
Upgrade underlying mobile native trackers to version 4 (#17)
Fix schema link in documentation for ScreenView (#12)
Upgrade min Flutter, Dart and Android SDK versions and upgrade dependencies (#19) - thanks @koga for the Android upgrade!
Version 0.1.0
Merge branch 'release/0.1.0'
Version 0.1.0-alpha.2
Merge branch 'release/0.1.0-alpha.2'
Version 0.1.0-alpha.1
Merge branch 'release/0.1.0-alpha.1'