Snowplow iOS Tracker 1.6.0 released

Share

We are pleased to announce a new release of the Snowplow iOS Tracker. Version 1.6.0 refactors the session management to make it more resilient, and also fixes an issue with Swift Package Manager to meet the stricter requirements of Xcode 12. Thanks to KelvinJin for raising the issue and lunij for contributing the fix!

Snowplow iOS Tracker Version 1.6.0 is available on Cocoapods.

Read on below for:

  1. Updating session management
  2. Updates and bug fixes
  3. Documentation
  4. Getting help

1. Updating session management

Sessions expire when no events have been tracked for the amount of time defined in the timeout. When a session expires, the session ID is updated and the session index is incremented. There are two possibilities for timeouts since a session can timeout in the foreground (while the app is visible) or in the background (when the app has been suspended, but not closed). Furthermore, when the app crashes or is killed by the user the session also always resets.

Before v1.6.0 the session was configured using three parameters:

However, there was an issue where a short session timeout could cause sessions to expire more than once. Version 1.6.0 updates the session management as follows:

More information can be found in GitHub issue #497.

2. Updates and bug fixes

3. Documentation

As always, information about how to use the tracker can be found in the iOS Tracker documentation.

You can find the full release notes on GitHub as Snowplow iOS Tracker v1.6.0 release.

4. Getting help

For help on integrating the tracker please have a look at the setup guide. If you have any questions or run into any problems, please visit our Discourse forum. Please raise any bugs in the iOS Tracker’s issues on GitHub.

Share

Related articles