Skip to content

Releases: hypertrack/sdk-flutter

2.6.1

05 Dec 19:45
b6b684c
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK iOS to 5.9.1
  • Updated HyperTrack SDK Android to 7.9.1

2.6.0

22 Nov 19:06
074c963
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK iOS to 5.9.0
  • Updated HyperTrack SDK Android to 7.9.0

2.5.2

13 Nov 14:54
d1840d0
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK iOS to 5.8.1
  • Updated HyperTrack SDK Android to 7.8.4

2.5.1

25 Sep 14:31
4679e1f
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK Android to 7.8.3

2.5.0

12 Sep 16:31
6d05f9b
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

Changed

  • Updated HyperTrack SDK iOS to 5.8.0
  • Updated HyperTrack SDK Android to 7.8.2

2.4.0

03 Sep 18:08
d87d2a4
Compare
Choose a tag to compare

Added

  • Support for on-device geofencing via new HyperTrack.orders["my_order"].isInsideGeofence property
    // check worker presence synchronously
    var activeOrders = await HyperTrack.orders;
    Order? currentOrder = activeOrders["current_order"];
    if (currentOrder != null) {
      handlePresence(currentOrder.isInsideGeofence);
    } else {
      print("'current_order' not found");
    }

    // or subscribe to the changes in orders to get the status updates
    HyperTrack.ordersSubscription.listen((orders) {
      Order? currentOrder = orders["current_order"];
      if (currentOrder != null) {
        handlePresence(currentOrder.isInsideGeofence);
      } else {
        print("'current_order' not found");
      }
    });

    // handle worker presence inside the order destination geofence
    void handlePresence(Result<bool, LocationError> isInsideGeofence) {
      switch (isInsideGeofence.runtimeType) {
        case Success:
          if ((isInsideGeofence as Success).value) {
            // allow worker to clock in for the shift
          } else {
            // "to clock in you must be at order destination"
          }
          break;
        case Failure:
          // resolve errors to check for presence
          break;
      }
    }

Changed

  • Updated HyperTrack SDK iOS to 5.7.0
  • Updated HyperTrack SDK Android
    to 7.7.0

2.3.0

25 Jun 15:16
3bea371
Compare
Choose a tag to compare

Added

  • New setWorkerHandle and getWorkerHandle 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.

Changed

  • Updated HyperTrack SDK iOS to 5.6.0
  • Updated HyperTrack SDK Android to 7.6.0

2.2.3

27 May 10:58
f56c107
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK Android to 7.5.5

2.2.2

24 May 10:58
0d74fea
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK iOS to 5.5.4
  • Updated HyperTrack SDK Android to 7.5.4

2.2.1

03 May 17:09
71c0d1b
Compare
Choose a tag to compare

Changed

  • Updated HyperTrack SDK iOS to 5.5.3