Skip to content

Releases: hypertrack/sdk-android

7.8.4

18 Oct 20:14
4a01dba
Compare
Choose a tag to compare

Changed

  • Data batching configuration changes now take effect immediately
  • Permissions.Notification.Denied Error is deprecated, the Notifications permission is not required for tracking anymore

Fixed

  • A rare issue that could cause location events to be dropped under certain conditions

7.8.3

24 Sep 15:17
e692a18
Compare
Choose a tag to compare

Fixed

  • Fixed the issue with starting foreground service from background in some cases

7.8.2

11 Sep 16:16
bfb054a
Compare
Choose a tag to compare

Fixed

  • Fixed issue that prevented device registration if the Activity Service plugin wasn't provided

7.8.1

10 Sep 13:50
9c8da3d
Compare
Choose a tag to compare

Fixed

  • Fixed issue preventing the SDK to work when the app is installed in Work profile

7.8.0

05 Sep 12:55
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

7.7.0

21 Aug 20:15
Compare
Choose a tag to compare

Added

Example use for worker clock in:

fun handlePresence(isInsideResult: Result<Boolean, HyperTrackLocationError>) {
  when (isInsideResult) {
    is Result.Success -> {
      val isInside = isInsideResult.getOrNull() ?: false
      if (isInside) {
        // allow worker to clock in for the shift
      } else {
        // "to clock in you must be at order destination"
      }
    }
    is Result.Failure -> {
      // 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 ->
  handlePresence(orders["my_order"]?.isInsideGeofence)
}

7.6.0

05 Jun 21:19
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. 👈

7.5.5

24 May 16:23
13dd70c
Compare
Choose a tag to compare

Fixed

  • SDK failing to track on Android 14 if the host app has targetSDK 34 if the user started tracking with disabled Location services

7.5.4

13 May 18:09
Compare
Choose a tag to compare

Changed

  • Improved documentation for addGeotag() methods

Fixed

  • Fixes and improvements for internal error reporting
  • Fixed a bug that led to a small event loss

7.5.3

23 Apr 17:47
Compare
Choose a tag to compare

Fixed

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