We are pleased to announce the release of our Snowplow iOS Tracker version 4.0.1.
This patch release fixes a bug raised and solved by Wipoo Shinsirikul. When tracker is paused from tracking events the track
method doesn’t track events, hence it returns nil
rather than the event ID of the tracked event. Unfortunately, on Swift the track
method doesn’t return an optional and that was a cause of crashes.
This patch release fixes the track
method for Swift avoiding the crashes.
CHANGELOG
Bug fixes:
- Add nullable modifier to prevent crashes in track function (#713)
Snowplow iOS Tracker version 4.0.1
is available on Cocoapods.
The project’s source code can be found here.