From 39233d100f799f178b35d01350f222b7f5078b2c Mon Sep 17 00:00:00 2001 From: ferologics Date: Wed, 21 Aug 2024 22:16:30 +0200 Subject: [PATCH] update example --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8b0e87..edba49e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,11 +27,11 @@ fun handlePresence(isInsideResult: Result) { } // Check if a worker is inside an order's geofence -handlePresence(HyperTrack.orders["my_order"]?.isInsideGeofence()) +handlePresence(HyperTrack.orders["my_order"]?.isInsideGeofence) // Or, listen to order.isInsideGeofence changes HyperTrack.subscribeToOrders { orders -> - handlePresence(orders["my_order"]?.isInsideGeofence()) + handlePresence(orders["my_order"]?.isInsideGeofence) } ```