Skip to content

Version 6.0.0

Compare
Choose a tag to compare
@mscwilson mscwilson released this 02 Feb 09:06
· 22 commits to master since this release

We are very excited to announce version 6.0.0 of the Android tracker.

Enhancements

Screen time and engagement metrics

The Android tracker can now track screen engagement information, including the screen time and metrics for the amount of content viewed on the screen! Visit this demo to see it in action! This works nicely together with the Snowplow Unified dbt package 0.2.0.

  • Add screen engagement tracking of time spent and list items scrolled on a screen (#654)
  • Enable lifecycle autotracking by default (#651)

Local event store automatic cleanup

The trackers can now automatically remove old events from the event store in situations when requests are blocked due to ad blockers or in case of longer offline usage.

  • Add configurable limit for the maximum age and number of events in the event store and remove old events before sending (#660)

Tackling duplicate events

We have improved the trackers to avoid sending duplicate events to the Collector by making requests serially and adjusting request timeouts.

  • Change default emit timeout from 5 seconds to 30 seconds (#658)
  • Make network requests serially in network connection (#646)

Batching improvements

The event batching algorithm has been improved to make it possible to make requests to the collector after a certain number of events accumulate in the event store (defaults to 1, but configurable to 10 or 25).

Cross-navigation tracking

There is a new API to decorate outgoing links to other Web or mobile apps with user and session information.

  • Add API to decorate link with user/session info (#639)

Set custom values in the platform context entity

Provide callbacks for any of the platform context entity properties.

  • Add an option to override platform context properties (#667)

Bug fixes

  • Handle errors when fetching screen resolution in Subject (#657)
  • Fix demo crash when using R8 full mode (#652)
  • Fix returning error from network connection requests (#659)
  • Do not track the screen view again when app comes to foreground (#653)

Under the hood

  • Update copyright notices (#669)
  • Tidy AbstractEvent internal properties (#666)
  • Undeprecate PageView event (#665)
  • Remove optional types in event store interface (#661)
  • Set default thread count in Executor to match the default thread pool size in the Emitter (#659)
  • Remove unused threadCount property from Tracker (#659)
  • Update Emitter constructor to accept namespace and event store and make them immutable (#659)