Skip to content

Releases: snowplow/snowplow-flutter-tracker

Version 0.7.1

17 Jun 08:29
Compare
Choose a tag to compare

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 ScreenViews. 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

10 Apr 08:35
Compare
Choose a tag to compare

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

  • Update uuid package constraint to 4.0.0 (#48) thanks to @petermnt
  • Remove documentation in the project in favour of docs.snowplow.io to reduce duplicity (#51)
  • Update flutter_lints, http, js, and example dependency versions (#52)

Version 0.6.0

22 Feb 08:25
Compare
Choose a tag to compare

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

  • Update SDK constraint to <4.0.0 (#42)
  • Fix publish action (#38)
  • Remove deprecated setMockMethodCallHandler from tests (#41)
  • Move the repository to the snowplow Github organization (#29)

Release 0.5.0

05 Dec 16:30
Compare
Choose a tag to compare

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

13 Jul 13:35
Compare
Choose a tag to compare

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

02 Nov 11:53
Compare
Choose a tag to compare

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

11 Oct 16:04
Compare
Choose a tag to compare

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

31 Jan 13:50
Compare
Choose a tag to compare
Merge branch 'release/0.1.0'

Version 0.1.0-alpha.2

27 Jan 14:51
Compare
Choose a tag to compare
Version 0.1.0-alpha.2 Pre-release
Pre-release
Merge branch 'release/0.1.0-alpha.2'

Version 0.1.0-alpha.1

26 Jan 10:24
Compare
Choose a tag to compare
Version 0.1.0-alpha.1 Pre-release
Pre-release
Merge branch 'release/0.1.0-alpha.1'