We are pleased to announce a new release of the Snowplow Android Tracker.
Version 0.8.0 fixes a bug that stops Android lifecycle tracking whenever an activity is destroyed. The release also adds methods to set and view the custom contexts sent with lifecycle events.
Read on below the fold for:
- Adding contexts to the lifecycle tracking
- Fixing a bug in the lifecycle tracking
- Getting help
1. Adding contexts to the lifecycle tracking
The new methods in the tracker are:
Here is an example of how
getLifecycleCustomContexts can be used to add a new custom context to be sent with lifecycle events:
2. Fixing a bug in the lifecycle tracking
This release fixes a bug that stopped Android lifecycle tracking whenever an activity is destroyed, due to the LifecycleHandler callbacks being unregistered on activity destruction.
For more information on this, please see issue #266.
You can find the updated Android Tracker documentation on our wiki.
You can find the full release notes on GitHub as Snowplow Android Tracker v0.8.0 release.
4. Getting help
For more details on this release, please check out the release notes on GitHub.