Skip to content

Releases: hypertrack/sdk-android

7.11.0

03 Feb 18:47
Compare
Choose a tag to compare

Changed

  • Fixes and improvements to SDK runtime efficiency

7.10.0

17 Jan 11:20
Compare
Choose a tag to compare

Added

  • New HyperTrack.allowMockLocation getter/setter which can be used to allow mock location(s).
    • Use this API only if modifying the compiled HyperTrackAllowMockLocation AndroidManifest.xml value is insufficient for your needs.
      • example: if for some reason you aren't able to recompile with HyperTrackAllowMockLocation set to true for your prod app QA mock location tests.

Changed

  • Fixes and improvements to SDK runtime efficiency

Fixed

  • A rare crash related to Foreground Service lifecycle misbehavior (OS API induced)

7.9.1

05 Dec 19:19
Compare
Choose a tag to compare

Changed

  • Fixes and improvements to SDK runtime efficiency

7.9.0

22 Nov 18:44
Compare
Choose a tag to compare

Changed

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

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)
}