Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Version 4.1.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
released this 27 Apr 13:29
· 167 commits to develop since this release

This is the first public release of our upcoming 4.1.0 SDK. It's major feature is the addition of Custom Events to the User Metrics feature that became publicly available with our 4.0.0 SDK.

If you are part of Preseason, you can now track Custom Events in your app, understand user actions and see the aggregates on the HockeyApp portal.

You can track Custom Events like this:

Objective-C

BITMetricsManager *metricsManager = [BITHockeyManager sharedHockeyManager].metricsManager;
[metricsManager trackEventWithName:eventName]

Swift

let metricsManager = BITHockeyManager.sharedHockeyManager().metricsManager
metricsManager.trackEventWithName(eventName)

Changes:

  • [NEW] Add ability to track custom events
  • [BUGFIX] Server URL is now properly customizable
  • [BUGFIX] Fix memory leak in networking code
  • [BUGFIX] Fix different bugs in the events sending pipeline
  • [IMPROVEMENT] Events are always persisted, even if the app crashes
  • [IMPROVEMENT] Allow disabling BITMetricsManager at any time
  • [IMPROVEMENT] Reuse NSURLSession object
  • [IMPROVEMENT] Under the hood improvements and cleanup
  • [IMPROVEMENT] Prevent User Metrics from being sent if BITMetricsManager has been disabled.