Skip to content

Releases: hypertrack/sdk-ios

5.9.1

05 Dec 17:37
Compare
Choose a tag to compare

Changed

  • Fixes and improvements to SDK runtime efficiency

5.9.0

22 Nov 18:42
Compare
Choose a tag to compare

Changed

  • HyperTrack.location returns the latest location (previously distance filtered)

5.8.1

18 Oct 20:37
Compare
Choose a tag to compare

Changed

  • Data batching configuration changes now take effect immediately.

Fixed

  • Fixed a rare issue that could cause location events to be dropped under certain conditions.

5.8.0

13 Sep 07:39
0f2fda8
Compare
Choose a tag to compare

Added

  • Support for Motion & Activity detection
    • If your app asks for permission and the user grants it, you will have better activity detection in polylines

5.7.0

21 Aug 18:41
Compare
Choose a tag to compare

Added

Example use for worker clock in:

func handlePresence(
  _ isInsideResult: Result<Bool, HyperTrackLocationError>
) {
  switch isInsideResult {
  case .success(let isInside):
    if isInside {
      // allow worker to clock in for the shift
    } else {
      // "to clock in you must be at order destination"
    }
  case .failure(let error):
    // resolve any tracking errors to obtain geofence presence
}

// check if a worker is inside an order's geofence
handlePresence(HyperTrack.orders["my_order"].isInsideGeofence)

// or, listen to order.isInsideGeofence changes
HyperTrack.subscribeToOrders { orders in
  handlePresence(orders["my_order"].isInsideGeofence)
}
  • Added partial support for Motion Activity
    • Our SDK doesn’t ask for motion permission
    • For SDK 5.7.0 and above, NSMotionUsageDescription in your Info.plist is required (even if permission is not asked).

Changed

  • Changed the OrderStatus enum to a struct to support future cases without introducing API breaking changes

5.6.0

05 Jun 20:56
Compare
Choose a tag to compare

Added

  • 🆕 New HyperTrack.workerHandle property can be used to identify workers

    • We observed our customers identify worker devices via HyperTrack.metadata, so we decided to make it a first class citizen in our API!
    • If you previously used metadata to identify workers, we suggest using workerHandle for this purpose instead. 👈
  • Exposed a new HyperTrackSwizzlingDidReceiveRemoteNotificationEnabled Info.plist key that can be used to specifically disable swizzling of the UIApplicationDelegate.application(_:didReceiveRemoteNotification:fetchCompletionHandler:) method.

5.5.4

13 May 17:57
Compare
Choose a tag to compare

Changed

  • Improved documentation for addGeotag() methods

Fixed

  • Protect against calling push completion handler multiple times
  • Fixes and improvements for internal error reporting
  • Fixed a bug that led to a small event loss

5.5.3

26 Apr 19:19
Compare
Choose a tag to compare

Added

  • Added missing NSPrivacyCollectedDataTypes to PrivacyInfo.xcprivacy manifest file
    • CrashData, DiagnosticData, PerformanceData, DeviceID, UserID, CoarseLocation, PreciseLocation

5.0.7-privacy-manifest2

26 Apr 19:03
Compare
Choose a tag to compare

Added

  • Added missing NSPrivacyCollectedDataTypes to PrivacyInfo.xcprivacy manifest file
    • CrashData, DiagnosticData, PerformanceData, DeviceID, UserID, CoarseLocation, PreciseLocation

5.5.2

23 Apr 17:20
Compare
Choose a tag to compare

Fixed

  • Fixed an edge case when a battery update would be skipped