Open jakub-oone opened 2 months ago
The issue template is required, not optional:
react-native -v
):PASTE_YOUR_CODE_HERE
1. 2. 3. 4.
Plugin version: 4.16.0 Platform: iOS OS version: 17.6.1 Device manufacturer / model: iPhone 12 Pro React Native version (react-native -v): 0.73.0 Plugin config
const state:State = await BackgroundGeolocation.ready({
// Debug
reset: false,
debug: true,
logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
transistorAuthorizationToken: token,
// Geolocation
desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_NAVIGATION,
distanceFilter: 10,
stopTimeout: 5,
// Permissions
locationAuthorizationRequest: 'Always',
backgroundPermissionRationale: {
title: "Allow {applicationName} to access this device's location even when closed or not in use.",
message: "This app collects location data to enable recording your trips to work and calculate distance-travelled.",
positiveAction: 'Change to "{backgroundPermissionOptionLabel}"',
negativeAction: 'Cancel'
},
// HTTP & Persistence
autoSync: true,
maxDaysToPersist: 14,
// Application
stopOnTerminate: false,
startOnBoot: true,
enableHeadless: true
});
Polygon geofence entry/exit is detected in the BGGeolocation demo app.
Polygon geofence entry/exit is not detected in the BGGeolocation demo app.
2024-08-14 11:53:31.341 đĩ-[TSLocationManager onHeartbeat] Heartbeat
2024-08-14 11:53:31.347 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 11:53:31.347 âšī¸-[TSDBLogger db_delete] maxAge: 604800
2024-08-14 11:53:31.365 â -[BackgroundTaskManager createBackgroundTask] 20
2024-08-14 11:53:31.366 đĩ-[TSLocationManager getCurrentPosition:]
2024-08-14 11:53:31.366 đž-[LocationManager startUpdatingLocation] ON
2024-08-14 11:53:31.454 đĩ-[TSLocationManager onResume:] enabled? 1
2024-08-14 11:53:31.454 âšī¸-[LocationDAO purge:] 1
2024-08-14 11:53:31.461 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:29 Central European Summer Time
2024-08-14 11:53:31.461 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 2 (2368 ms old) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:31.462 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:53:31.462 đ´-[LocationManager stopUpdatingLocation] OFF
2024-08-14 11:53:31.462 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 2 (70 ms old) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:31.462 âšī¸-[PolygonGeofencingService setLocation:] Already updating location
2024-08-14 11:53:31.463 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:53:31.463 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 2 / 2 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:31.466 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 11:53:31.480 đĩ-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0
2024-08-14 11:53:31.480 âšī¸-[PolygonGeofencingService setLocation:] Already updating location
2024-08-14 11:53:31.480 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:53:31.480 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 2 / 2 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:31.488 â -[TSLocationManager persistLocation:]_block_invoke INSERT: 6F548517-59D0-4695-BD5B-90294ECF46EC
2024-08-14 11:53:31.503 âšī¸+[LocationAuthorization run:onCancel:] status: 4
2024-08-14 11:53:31.503 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:31.504 â -[BackgroundTaskManager createBackgroundTask] 21
2024-08-14 11:53:31.505 â -[TSHttpService schedulePost] LOCKED: 6F548517-59D0-4695-BD5B-90294ECF46EC
2024-08-14 11:53:31.511 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 20 OF ( 20, 21 )
2024-08-14 11:53:31.511 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:31.511 â ī¸-[TSHttpService flush:] Busy with previous request
2024-08-14 11:53:32.156 đĩ-[HttpResponse handleResponse] Response: 200
2024-08-14 11:53:32.158 â -[TSHttpService post:]_block_invoke DESTROY: 6F548517-59D0-4695-BD5B-90294ECF46EC
2024-08-14 11:53:32.158 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:32.158 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 21 OF ( 21 )
2024-08-14 11:53:34.462 â -[BackgroundTaskManager createBackgroundTask] 24
2024-08-14 11:53:34.462 đĩ-[TSLocationManager onSuspend:] enabled? 1)
2024-08-14 11:53:34.477 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 11:53:36.193 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.144 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.427 đĩ-[LocationManager locationManager:didChangeAuthorizationStatus:] 3
2024-08-14 11:53:37.429 đĩ-[BackgroundTaskManager locationManager:didChangeAuthorizationStatus:] 3
2024-08-14 11:53:37.429 đĩ-[LocationManager locationManager:didChangeAuthorizationStatus:] 3
2024-08-14 11:53:37.429 đĩ-[PolygonGeofencingService locationManager:didChangeAuthorizationStatus:] 3
2024-08-14 11:53:37.432 đĩ-[LocationManager locationManager:didChangeAuthorizationStatus:] 3
2024-08-14 11:53:37.434 âšī¸-[TSConfig persist]
2024-08-14 11:53:37.437 đĩ-[TSLocationManager locationManager:didChangeAuthorizationStatus:] status 3
2024-08-14 11:53:37.442 đĩ-[TSLocationManager setPace:] 0
2024-08-14 11:53:37.451 đž-[TSLocationManager startUpdatingLocation] Location-services: ON
2024-08-14 11:53:37.455 đž-[TSLocationManager startUpdatingLocation] Location-services: ON
2024-08-14 11:53:37.489 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 11:53:37.491 â ī¸-[BackgroundTaskManager stopBackgroundTask:]_block_invoke Failed to find backgroundTask: 10. Ignoring.
2024-08-14 11:53:37.506 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 11:53:37.506 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:32 Central European Summer Time
2024-08-14 11:53:37.506 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 0 | df: -1.0m | age: 5480 ms ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.506 âšī¸-[TSLocationManager locationManager:didUpdateLocations:] Received stale motionchange location. Retrying...
2024-08-14 11:53:37.506 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:37 Central European Summer Time
2024-08-14 11:53:37.506 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 0 | df: -1.0m | age: 48 ms ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.506 â -[TSLocationManager locationManager:didUpdateLocations:] Acquired motionchange position: <+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:37 Central European Summer Time
2024-08-14 11:53:37.507 đĩ-[TSLocationManager startMonitoringStationaryRegion:radius:] Radius: 1000
2024-08-14 11:53:37.508 đ´-[TSLocationManager stopUpdatingLocation]
2024-08-14 11:53:37.508 đĩ-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0
2024-08-14 11:53:37.508 âšī¸-[PolygonGeofencingService setLocation:] Already updating location
2024-08-14 11:53:37.510 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:37 Central European Summer Time
2024-08-14 11:53:37.510 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 2 / 2 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.522 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:37 Central European Summer Time
2024-08-14 11:53:37.522 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 0 | df: 10.0m | age: 64 ms ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.522 âšī¸-[TSLocationManager locationManager:didUpdateLocations:]
2024-08-14 11:53:37.522 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:37 Central European Summer Time
2024-08-14 11:53:37.522 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 0 | df: 10.0m | age: 64 ms ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:37.522 âšī¸-[TSLocationManager locationManager:didUpdateLocations:]
2024-08-14 11:53:39.344 đĩ-[BackgroundTaskManager onResume:] Current preventSuspend tasks: 1
2024-08-14 11:53:39.344 đĩ-[TSLocationManager onResume:] enabled? 1
2024-08-14 11:53:39.345 âšī¸-[LocationDAO purge:] 1
2024-08-14 11:53:39.348 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 11:53:39.349 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:39.350 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:41.285 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:41.502 â ī¸-[LocationManager onTimeout:] Using last-known location <+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:53:41.503 â -[LocationManager onTimeout:] Returning best available location sample
2024-08-14 11:53:41.503 âšī¸-[PolygonGeofencingService setLocation:] Already updating location
2024-08-14 11:53:41.504 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:53:41.504 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 2 / 2 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:54.334 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:55.923 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:53:58.470 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:01.975 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:04.530 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:05.158 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:12.793 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:15.341 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:19.803 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:22.662 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:27.115 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:32.525 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:39.366 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 11:54:40.482 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:44.941 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:47.803 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:50.836 âšī¸-[TSGeofence initWithIdentifier:radius:latitude:longitude:notifyOnEntry:notifyOnExit:notifyOnDwell:loiteringDelay:extras:vertices:] Calculated polygon containing-geofence: 50.082354, 14.430077, radius: 150.0
2024-08-14 11:54:50.847 âšī¸-[GeofenceDAO doInsert:geofence:] Polygon_A
2024-08-14 11:54:51.058 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:54:51.058 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 3 / 3 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:51.062 đž-[TSGeofenceManager startMonitoringGeofence:] Polygon_A
2024-08-14 11:54:51.085 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager handleGeofenceEvent:action:] ENTER containing geofence of polygon: Polygon_A ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:51.085 đž-[PolygonGeofencingService startMonitoring:] Polygon_A
2024-08-14 11:54:51.087 âšī¸-[PolygonGeofencingService persistMonitoredPolygons] { "Polygon_A" = 0; }
2024-08-14 11:54:51.087 đž-[PolygonGeofencingService startUpdatingLocation:]
2024-08-14 11:54:51.096 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081476, 14.430569, acy: 23.1m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:51.096 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:54:52.039 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081449, 14.430561, acy: 24.1m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:52.039 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:54:53.043 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081508, 14.430621, acy: 18.6m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:54:53.043 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:54:53.043 đ´-[PolygonGeofencingService stopUpdatingLocation]
2024-08-14 11:54:59.262 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:03.719 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:06.263 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:14.226 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:20.278 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:26.507 âšī¸-[TSGeofence initWithIdentifier:radius:latitude:longitude:notifyOnEntry:notifyOnExit:notifyOnDwell:loiteringDelay:extras:vertices:] Calculated polygon containing-geofence: 50.083071, 14.429028, radius: 150.0
2024-08-14 11:55:26.516 âšī¸-[GeofenceDAO doInsert:geofence:] Polygon_2
2024-08-14 11:55:26.726 đ<+50.08201737,+14.43063352> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:53:31 Central European Summer Time
2024-08-14 11:55:26.726 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 4 / 4 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:26.728 đž-[TSGeofenceManager startMonitoringGeofence:] Polygon_2
2024-08-14 11:55:26.954 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:31.727 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:35.869 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:37.659 đĩ-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 20 | Total tasks: 1
2024-08-14 11:55:37.659 đĩ-[TSLocationManager onSuspend:] enabled? 1)
2024-08-14 11:55:37.670 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 11:55:37.778 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:41.598 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:44.782 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:45.417 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:47.743 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 20.123965)
2024-08-14 11:55:47.763 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 11:55:47.795 đž-[TSGeofenceManager locationManager:didEnterRegion:] Polygon_2
2024-08-14 11:55:47.797 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager handleGeofenceEvent:action:] ENTER containing geofence of polygon: Polygon_2 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:47.797 đž-[PolygonGeofencingService startMonitoring:] Polygon_2
2024-08-14 11:55:47.798 âšī¸-[PolygonGeofencingService persistMonitoredPolygons] { "Polygon_2" = 0; "Polygon_A" = 0; }
2024-08-14 11:55:47.798 đž-[PolygonGeofencingService startUpdatingLocation:]
2024-08-14 11:55:47.836 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081981, 14.430636, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:47.836 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:55:47.836 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 11:55:47.836 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081994, 14.430636, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:47.836 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:55:47.836 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 11:55:47.838 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081997, 14.430635, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:47.838 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:55:47.838 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 11:55:47.838 đ´-[PolygonGeofencingService stopUpdatingLocation]
2024-08-14 11:55:50.853 đĩ-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 27 | Total tasks: 1
2024-08-14 11:55:52.535 đĩ-[TSLocationManager onHeartbeat] Heartbeat
2024-08-14 11:55:52.538 â -[BackgroundTaskManager createBackgroundTask] 43
2024-08-14 11:55:52.539 đĩ-[TSLocationManager getCurrentPosition:]
2024-08-14 11:55:52.539 đž-[LocationManager startUpdatingLocation] ON
2024-08-14 11:55:52.566 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 11:55:52.567 đ<+50.08199690,+14.43063549> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:55:47 Central European Summer Time
2024-08-14 11:55:52.567 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 2 (4764 ms old) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.568 đĩ-[LocationManager locationManager:didUpdateLocations:] bgTime remaining: 25
2024-08-14 11:55:52.569 đ<+50.08199690,+14.43063549> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:55:52 Central European Summer Time
2024-08-14 11:55:52.569 đ´-[LocationManager stopUpdatingLocation] OFF
2024-08-14 11:55:52.569 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 2 (24 ms old) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.571 đĩ-[LocationManager locationManager:didUpdateLocations:] bgTime remaining: 25
2024-08-14 11:55:52.571 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081997, 14.430635, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.571 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:55:52.571 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 11:55:52.574 đ<+50.08199690,+14.43063549> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:55:52 Central European Summer Time
2024-08-14 11:55:52.574 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 4 / 4 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.577 đĩ-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0
2024-08-14 11:55:52.577 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081997, 14.430635, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.578 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 11:55:52.578 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 11:55:52.578 đ<+50.08199690,+14.43063549> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 11:55:52 Central European Summer Time
2024-08-14 11:55:52.578 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 4 / 4 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.604 â -[TSLocationManager persistLocation:]_block_invoke INSERT: 1B27F49B-7ED1-4C6D-9907-BEFEFE7EE1E0
2024-08-14 11:55:52.604 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:52.605 â -[BackgroundTaskManager createBackgroundTask] 44
2024-08-14 11:55:52.610 â -[TSHttpService schedulePost] LOCKED: 1B27F49B-7ED1-4C6D-9907-BEFEFE7EE1E0
2024-08-14 11:55:52.651 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 43 OF ( 24, 43, 44 )
2024-08-14 11:55:53.054 đĩ-[HttpResponse handleResponse] Response: 200
2024-08-14 11:55:53.065 â -[TSHttpService post:]_block_invoke DESTROY: 1B27F49B-7ED1-4C6D-9907-BEFEFE7EE1E0
2024-08-14 11:55:53.065 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 11:55:53.065 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 44 OF ( 24, 44 )
2024-08-14 11:56:07.952 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.997566)
2024-08-14 11:56:07.977 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 11:56:11.002 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 6.946899)
2024-08-14 11:56:11.020 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 11:56:13.918 â ī¸-[BackgroundTaskManager createBackgroundTask]_block_invoke FORCE KILL BACKGROUND TASK: 24, remaining time: 4.031527
2024-08-14 11:56:13.918 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 24 OF ( 24 )
2024-08-14 12:05:18.454 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:05:18.454 âšī¸-[TSDBLogger db_delete] maxAge: 604800
2024-08-14 12:05:18.487 đĩ-[TSLocationManager onResume:] enabled? 1
2024-08-14 12:05:18.491 âšī¸-[LocationDAO purge:] 1
2024-08-14 12:05:18.493 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:05:18.496 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:05:18.496 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:05:25.928 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:05:29.114 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:05:29.750 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:18.506 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:06:38.220 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:41.401 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:42.362 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:44.585 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:45.857 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:47.128 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:06:51.925 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:10.051 đ´-[TSGeofenceManager locationManager:didExitRegion:] Polygon_2
2024-08-14 12:07:10.051 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager handleGeofenceEvent:action:] EXIT containing geofence of polygon: Polygon_2 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:10.051 đ´-[PolygonGeofencingService stopMonitoring:] Polygon_2
2024-08-14 12:07:10.052 âšī¸-[PolygonGeofencingService persistMonitoredPolygons] { "Polygon_A" = 0; }
2024-08-14 12:07:12.656 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:17.745 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:18.522 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:07:19.339 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:25.065 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:28.054 đž-[TSGeofenceManager locationManager:didEnterRegion:] Polygon_2
2024-08-14 12:07:28.054 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager handleGeofenceEvent:action:] ENTER containing geofence of polygon: Polygon_2 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:28.054 đž-[PolygonGeofencingService startMonitoring:] Polygon_2
2024-08-14 12:07:28.055 âšī¸-[PolygonGeofencingService persistMonitoredPolygons] { "Polygon_2" = 0; "Polygon_A" = 0; }
2024-08-14 12:07:28.055 đž-[PolygonGeofencingService startUpdatingLocation:]
2024-08-14 12:07:28.068 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081808, 14.430589, acy: 44.1m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:28.068 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 12:07:28.068 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 12:07:29.042 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081760, 14.430586, acy: 46.6m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:29.042 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 12:07:29.042 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 12:07:30.044 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081747, 14.430593, acy: 50.5m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:30.044 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 12:07:30.044 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 12:07:30.044 đ´-[PolygonGeofencingService stopUpdatingLocation]
2024-08-14 12:07:30.477 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:33.658 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:34.301 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:39.276 âšī¸-[TSDBLogger db_delete] maxAge: 604800
2024-08-14 12:07:49.786 â -[BackgroundTaskManager createBackgroundTask] 47
2024-08-14 12:07:49.786 đĩ-[TSLocationManager onSuspend:] enabled? 1)
2024-08-14 12:07:49.798 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:07:49.944 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:50.911 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:07:52.987 đĩ-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 27 | Total tasks: 1
2024-08-14 12:07:54.086 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:08:10.091 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.910190)
2024-08-14 12:08:10.122 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 12:08:13.174 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 6.826696)
2024-08-14 12:08:13.195 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 12:08:15.094 â ī¸-[BackgroundTaskManager createBackgroundTask]_block_invoke FORCE KILL BACKGROUND TASK: 47, remaining time: 4.906895
2024-08-14 12:08:15.095 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 47 OF ( 47 )
2024-08-14 12:11:04.232 đĩ-[TSLocationManager onHeartbeat] Heartbeat
2024-08-14 12:11:04.236 â -[BackgroundTaskManager createBackgroundTask] 57
2024-08-14 12:11:04.237 đĩ-[TSLocationManager getCurrentPosition:]
2024-08-14 12:11:04.237 đž-[LocationManager startUpdatingLocation] ON
2024-08-14 12:11:04.239 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:11:04.271 đĩ-[TSLocationManager onResume:] enabled? 1
2024-08-14 12:11:04.280 âšī¸-[LocationDAO purge:] 1
2024-08-14 12:11:04.282 đ<+50.08197913,+14.43063435> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 12:11:02 Central European Summer Time
2024-08-14 12:11:04.282 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 2 (2027 ms old) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.283 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:11:04.287 đ<+50.08197913,+14.43063435> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 12:11:04 Central European Summer Time
2024-08-14 12:11:04.287 đ´-[LocationManager stopUpdatingLocation] OFF
2024-08-14 12:11:04.287 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 2 (34 ms old) ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.288 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081979, 14.430634, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.288 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 12:11:04.288 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 12:11:04.289 đ<+50.08197913,+14.43063435> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 12:11:04 Central European Summer Time
2024-08-14 12:11:04.289 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 4 / 4 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.308 đĩ-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0
2024-08-14 12:11:04.308 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081979, 14.430634, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.308 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 12:11:04.308 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 12:11:04.308 đ<+50.08197913,+14.43063435> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 12:11:04 Central European Summer Time
2024-08-14 12:11:04.308 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 4 / 4 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.311 â -[TSLocationManager persistLocation:]_block_invoke INSERT: 18349860-8B40-4C2B-9EE3-94739A371F8E
2024-08-14 12:11:04.312 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 12:11:04.312 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.313 â -[BackgroundTaskManager createBackgroundTask] 58
2024-08-14 12:11:04.315 â -[TSHttpService schedulePost] LOCKED: 18349860-8B40-4C2B-9EE3-94739A371F8E
2024-08-14 12:11:04.316 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 57 OF ( 57, 58 )
2024-08-14 12:11:04.316 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.316 â ī¸-[TSHttpService flush:] Busy with previous request
2024-08-14 12:11:04.763 đĩ-[HttpResponse handleResponse] Response: 200
2024-08-14 12:11:04.772 â -[TSHttpService post:]_block_invoke DESTROY: 18349860-8B40-4C2B-9EE3-94739A371F8E
2024-08-14 12:11:04.772 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:04.773 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 58 OF ( 58 )
2024-08-14 12:11:08.717 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:11.585 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:14.310 â ī¸-[LocationManager onTimeout:] Using last-known location <+50.08197913,+14.43063435> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 12:11:04 Central European Summer Time
2024-08-14 12:11:14.310 â -[LocationManager onTimeout:] Returning best available location sample
2024-08-14 12:11:14.310 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[PolygonGeofencingService isInPolygon:] đ 50.081979, 14.430634, acy: 35.0m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:14.311 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_A: 0.0%
2024-08-14 12:11:14.311 âšī¸-[PolygonGeofencingService isInPolygon:] --> Polygon_2: 0.0%
2024-08-14 12:11:14.312 đ<+50.08197913,+14.43063435> +/- 35.00m (speed -1.00 mps / course -1.00) @ 14.08.2024, 12:11:04 Central European Summer Time
2024-08-14 12:11:14.312 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSGeofenceManager evaluateProximity:] Found 4 / 4 within 2000 m ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:14.768 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:16.677 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:23.365 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:32.910 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:35.776 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:40.111 â -[BackgroundTaskManager createBackgroundTask] 61
2024-08-14 12:11:40.111 đĩ-[TSLocationManager onSuspend:] enabled? 1)
2024-08-14 12:11:40.123 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:11:43.340 đĩ-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 26 | Total tasks: 1
2024-08-14 12:11:45.642 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:48.830 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:11:49.461 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:12:00.412 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.915421)
2024-08-14 12:12:00.440 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 12:12:03.472 đĩ-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 6.855358)
2024-08-14 12:12:03.491 âšī¸+[LocationAuthorization run:onCancel:] status: 3
2024-08-14 12:12:06.220 â ī¸-[BackgroundTaskManager createBackgroundTask]_block_invoke FORCE KILL BACKGROUND TASK: 61, remaining time: 4.107723
2024-08-14 12:12:06.220 â -[BackgroundTaskManager stopBackgroundTask:]_block_invoke 61 OF ( 61 )
2024-08-14 12:14:50.299 âšī¸-[TSDBLogger db_delete] maxAge: 604800
2024-08-14 12:14:50.301 đĩ-[TSHttpService init]_block_invoke Network: Cellular | Flags: WR -t-----
2024-08-14 12:14:50.315 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:14:50.338 đĩ-[TSLocationManager onResume:] enabled? 1
2024-08-14 12:14:50.398 âšī¸-[LocationDAO purge:] 1
2024-08-14 12:14:50.400 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:14:50.403 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:14:50.404 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:14:50.404 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:14:50.404 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService flush:] ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:14:50.404 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â -[TSHttpService finish:error:] Success: 1 ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
2024-08-14 12:15:50.416 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:16:50.429 âšī¸-[TSDBLogger db_save] Log committed
2024-08-14 12:17:50.444 âšī¸-[TSDBLogger db_save] Log committed
Hello @christocracy , did you have a chance to look into this please? We'd like to use geofencing-only (startGeofences
) in our app on background to save the battery as we don't need to get a precise location and just listen on geofence enter events (including smaller polygon geofences as supported by the paid add-on) but as @jakub-oone posted this works for us only on Android and not on iOS when we gave it a try in the demo app. Could you please provide instructions how to set the iOS config in the demo app to make this work?
Same issue for me. This is related to https://github.com/transistorsoft/react-native-background-geolocation/issues/2015
So here's why this happens, it will help @christocracy releasing an update if he wants to.
startGeofences is not triggering showsBackgroundLocationIndicator even if set to true. If the app doesn't activate the blue IOS icon, that it will simply not work on the background. Starting the plugin with startGeofences instead of start, make the plugin not detect motion change and trigger the showsBackgroundLocationIndicator hence all geofences will be missed unless the app is active.
A simple workaround is to use start instead of startGeofences have very large values for settings like distanceFilter to reduce battery usage.
Ideally @christocracy will release an update to make this work.
Thanks @sirusbaladi for the workaround suggestion. Could you please provide your point of view @christocracy ? I feel there're at least two options but it should be clear what is the final/accepted one:
startGeofences
in backgroundstartGeofences
and app is switched to background to keep geofencing alive even on background.
I'd personally prefer the second option as other features in this library e.g. the polygon geofencing perform similar automagic silently for us.So here's why this happens...startGeofences is not triggering showsBackgroundLocationIndicator
@sirusbaladi is wrong. It has nothing to do with showsBackgroundLocationIndicator
.
I'm testing this in the iOS simulator and I've found a minor logic bug related to polygon-geofencing and .startGeofences
.
A solution will be released this week.
Since in geofence-only mode, config.isMoving
is always false
, after entering a polygon, the plugin was taking only 3 samples before turning off location-updates in the PolygonGeofencingService
.
After solving the logic bug, an inexplicable issue was exposed with keeping location-services on in the background in geofences-only mode.
I use multiple instances of CLLocationManager
in this SDK, and the Polygon geofence evaluator uses its own distinct instance. For some unknown reason, I could only keep location-services on in the background (witnessed by the blue location-indicator in the statusbar) by also registering that CLLocationManager
instance for significant-changes ([[locationManager startMonitoringSignificantLocationChanges]
](https://developer.apple.com/documentation/corelocation/cllocationmanager/startmonitoringsignificantlocationchanges()?language=objc)). Mystifying and senseless. That took 4.5 days to figure that out.
Polygon geofence-monitoring in geofences-only mode is working.
I will post to a branch in the private repo for you to test.
@jakub-oone Try testing version 4.17.0-beta.3
from npm.
@christocracy We did our first quick testing with this version 4.17.0-beta.3 and it looks good on iOS. It works as we expected :-) Thank you!
Hello @christocracy , we just realized the issue occurs also on Android 14 when using "geofences only" tracking mode on background (even with geofenceModeHighAccuracy
). It looks very similar to the iOS issue which you were able to fix already - the isMoving
flag stays false
(even when I switched the app to foreground) and also there's no notification for a foreground service. When I switch the mode to "Location + Geofences" the notification appears and all starts working on background. After switching back to "geofences only" the background seems to keep working - probably thanks to the notification which stays. I tested again on the demo app but the same issue occurs even in our app which uses the version 4.17.0-beta.3
so this doesn't seem to be fixed in this version. Could you please look into this on Android 14?
Hello @christocracy , any update on the Android 14 issue, please? It's Pixel 7A phone if it makes any difference..
This issue is stale because it has been open for 30 days with no activity.
Hello,
I am using BGGeolocation demo app. In Geofences only tracking mode on iOS - entering geofence won't even trigger in the foreground. Please see attachments. There is no green arrow on map. It is working on Android, but not on iOS. What I have noticed is that "IS MOVING" parameter is always false in that geofence only mode. The configuration parameters are set to default values.
Please help me figure out what I'm missing that polygon geofence entry/exit was not detected in the BGGeolocation demo app?
We want to use geofence only mode in our SmartGuide app to save battery drain when app is on background.
Thank you.
Jakub SmartGuide
https://tracker.transistorsoft.com/SmartGuide
background-geolocation.log.gz