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
@lumaxis lumaxis released this 27 Apr 13:28
· 665 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:

  • [IMPROVEMENT] Prevent User Metrics from being sent if BITMetricsManager has been disabled.

Also includes changes from these previous prerelease version:

Version 4.1.0-alpha.2

  • [BUGFIX] Fix different bugs in the events sending pipeline

Version 4.1.0-alpha.1

  • [NEW] Add ability to track custom events
  • [IMPROVEMENT] Events are always persisted, even if the app crashes
  • [IMPROVEMENT] Allow disabling BITMetricsManager at any time
  • [BUGFIX] Server URL is now properly customizable
  • [BUGFIX] Fix memory leak in networking code
  • [IMPROVEMENT] Optimize tests and always build test target
  • [IMPROVEMENT] Reuse NSURLSession object
  • [IMPROVEMENT] Under the hood improvements and cleanup