transistorsoft / react-native-background-geolocation

Sophisticated, battery-conscious background-geolocation with motion-detection
http://shop.transistorsoft.com/pages/react-native-background-geolocation
MIT License
2.54k stars 424 forks source link

App doesn't execute within stopTimeout timeframe. #2007

Closed sirusbaladi closed 1 week ago

sirusbaladi commented 2 weeks ago

Your Environment


## Expected Behavior
<!--- Tell us what should happen -->
I have two checks:
1. onMotionChange when it becomes stationary (stopTimeout = 15 min) I send myself a notification
2. notifyOnDwell, with loiteringDelay to 13 minutes, sends myself a notification locally.

The app also, should keep sending notifications (I'm in debug mode) and trigger stationary after 15 minutes of being still.

## Actual Behavior
<!--- Tell us what happens instead -->
None of those 2 checks happened. Even if in debug mode, the notifications stopped after a while and it seemed that the plugin stopped checking. There's also a hole in the logs. 
## Steps to Reproduce
<!--- reproduce this issue; include code to reproduce, if relevant -->
1. set stopTimeout to 15 minutes
2. Have a onMotionChange with some code like a local notification to execute
4. Walk for < 30 min then stop.

## Context
<!--- What were you trying to do? -->
I want to be notified when the device goes to stationary with custom call to my server. I'm using a local notification right now for debugging. 

## Debug logs
<!-- include iOS / Android logs
- ios XCode logs,
- use #getLog #emailLog methods (@see docs)
- Android: $ adb logcat -s TSLocationManager
-->
<details><summary>Logs</summary>

``` <!-- Syntax highlighting:  DO NOT REMOVE -->
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:18:46.745 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON

2024-04-27 13:18:46.746 ℹ️-[TSLocationManager resetStopTimeoutTimer] 

2024-04-27 13:18:46.784 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 13:34:15.049 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:34:15.049 ℹ️-[TSDBLogger db_delete] maxAge: 172800

2024-04-27 13:34:15.059 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:15.079 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:34:15.080 
📍<+40.72996729,-73.99673883> +/- 53.17m (speed -1.00 mps / course -1.00) @ 4/27/24, 1:34:14 PM Eastern Daylight Time

2024-04-27 13:34:15.080 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:15.966 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:16.605 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:16.605 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 13:34:16.698 🔵-[TSHttpService init]_block_invoke Network: WiFi | Flags: -R -t-----

2024-04-27 13:34:16.928 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:16.928 ℹ️-[TSLocationManager resetMotionTriggerTimer] 

2024-04-27 13:34:18.217 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:20.824 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:34:22.684 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:58.211 🔵-[TSHttpService init]_block_invoke Network: Cellular | Flags: WR -t-----

2024-04-27 13:57:58.221 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:57:58.221 ℹ️-[TSDBLogger db_delete] maxAge: 172800

2024-04-27 13:57:58.234 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 13:57:58.238 ℹ️-[LocationDAO purge:] 1

2024-04-27 13:57:58.239 ℹ️-[LocationDAO purge:]_block_invoke Found 3 stale records older than 1 days

2024-04-27 13:57:58.241 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:57:58.243 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:58.243 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:58.253 
📍<+40.73046865,-73.99678296> +/- 23.60m (speed 1.06 mps / course 234.49) @ 4/27/24, 1:57:58 PM Eastern Daylight Time

2024-04-27 13:57:58.253 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 1000.0m | age: 253 ms
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:58.253 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.6

2024-04-27 13:57:58.253 ℹ️-[TSConfig persist] 

2024-04-27 13:57:58.255 🔵-[TSConfig incrementOdometer:] 12355.3

2024-04-27 13:57:58.255 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:57:58.255 
📍<+40.73046865,-73.99678296> +/- 23.60m (speed 1.06 mps / course 234.49) @ 4/27/24, 1:57:58 PM Eastern Daylight Time

2024-04-27 13:57:58.255 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:58.257 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: E94933B2-D838-4F11-A793-AEFA204D2A57

2024-04-27 13:57:58.258 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:57:58.258 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:57:58.258 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:58.258 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:59.568 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 13:57:59.572 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:57:59.572 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:57:59.575 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:57:59.645 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 431FC080-1EB8-496B-86A7-75D1828B84DB

2024-04-27 13:57:59.645 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:57:59.645 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:05.613 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:05.613 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 13:58:06.895 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:09.457 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:12.692 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:14.579 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:14.763 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 13:58:14.763 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 13:58:14.772 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:58:14.773 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 13:58:14.773 
📍<+40.73044259,-73.99643089> +/- 61.03m (speed -1.00 mps / course -1.00) @ 4/27/24, 1:58:09 PM Eastern Daylight Time

2024-04-27 13:58:14.773 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (5145 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:14.774 
📍<+40.73044259,-73.99643089> +/- 61.03m (speed -1.00 mps / course -1.00) @ 4/27/24, 1:58:14 PM Eastern Daylight Time

2024-04-27 13:58:14.774 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (7 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:14.775 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:14.775 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:14.775 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:14.775 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:15.474 
📍<+40.73031227,-73.99660409> +/- 61.43m (speed -1.00 mps / course -1.00) @ 4/27/24, 1:58:15 PM Eastern Daylight Time

2024-04-27 13:58:15.474 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (10 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:15.476 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:15.476 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:15.614 🔵-[TSLocationManager beginStopDetection] ⏲Stop-timeout engaged: 900 s...

2024-04-27 13:58:16.025 
📍<+40.73046627,-73.99679370> +/- 37.33m (speed 0.00 mps / course 213.05) @ 4/27/24, 1:58:16 PM Eastern Daylight Time

2024-04-27 13:58:16.025 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (25 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:16.027 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:16.027 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:16.821 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:16.822 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 1/900 s

2024-04-27 13:58:17.033 
📍<+40.73046510,-73.99678272> +/- 29.28m (speed 0.00 mps / course 213.05) @ 4/27/24, 1:58:17 PM Eastern Daylight Time

2024-04-27 13:58:17.033 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 13:58:17.033 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (33 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:17.034 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:58:17.034 
📍<+40.73046510,-73.99678272> +/- 29.28m (speed 0.00 mps / course 213.05) @ 4/27/24, 1:58:17 PM Eastern Daylight Time

2024-04-27 13:58:17.034 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:17.037 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 26.4

2024-04-27 13:58:17.037 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:58:17.041 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:17.041 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:58:17.044 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 586DB59E-2186-4952-BBE2-E10076EC716F

2024-04-27 13:58:17.044 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════
2024-04-27 13:58:17.044 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:19.055 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:19.055 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 3/900 s

2024-04-27 13:58:24.498 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:24.498 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 8/900 s

2024-04-27 13:58:27.699 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:27.699 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 12/900 s

2024-04-27 13:58:28.023 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:28.024 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 12/900 s

2024-04-27 13:58:29.619 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:29.619 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 14/900 s

2024-04-27 13:58:32.818 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:32.818 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 17/900 s

2024-04-27 13:58:36.975 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:36.976 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 21/900 s

2024-04-27 13:58:47.862 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:47.863 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 32/900 s

2024-04-27 13:58:49.782 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:49.782 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 34/900 s

2024-04-27 13:58:54.902 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:58:54.902 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 39/900 s

2024-04-27 13:58:58.426 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 13:58:58.436 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:59:00.662 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:00.663 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 45/900 s

2024-04-27 13:59:01.942 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:01.942 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 46/900 s

2024-04-27 13:59:02.902 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:02.902 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 47/900 s

2024-04-27 13:59:06.929 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 13:59:06.931 ℹ️-[LocationDAO purge:] 1

2024-04-27 13:59:06.939 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:59:06.940 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:06.940 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:10.263 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:10.263 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 54/900 s

2024-04-27 13:59:12.096 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 13:59:12.105 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:59:19.293 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 13:59:19.295 ℹ️-[LocationDAO purge:] 1

2024-04-27 13:59:19.302 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:59:19.305 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:19.305 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:20.630 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 13:59:20.631 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 13:59:20.636 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 13:59:20.636 
📍<+40.73047842,-73.99672497> +/- 22.91m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:19 PM Eastern Daylight Time

2024-04-27 13:59:20.636 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (636 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:20.638 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:20.638 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:20.639 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:59:21.044 
📍<+40.73047930,-73.99672405> +/- 22.97m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:20 PM Eastern Daylight Time

2024-04-27 13:59:21.044 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (44 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:21.046 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:21.046 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:22.042 
📍<+40.73047897,-73.99672338> +/- 22.93m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:21 PM Eastern Daylight Time

2024-04-27 13:59:22.042 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (42 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:22.044 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:22.044 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:22.102 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:22.102 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 66/900 s

2024-04-27 13:59:23.033 
📍<+40.73047868,-73.99672338> +/- 22.84m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:22 PM Eastern Daylight Time

2024-04-27 13:59:23.033 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (33 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:23.035 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:23.035 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:24.039 
📍<+40.73047805,-73.99672380> +/- 22.92m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:23 PM Eastern Daylight Time

2024-04-27 13:59:24.039 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 13:59:24.040 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (39 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:24.040 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:59:24.042 
📍<+40.73047868,-73.99672338> +/- 22.84m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:22 PM Eastern Daylight Time

2024-04-27 13:59:24.042 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:24.045 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.6

2024-04-27 13:59:24.045 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:59:24.048 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:24.048 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:24.057 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: CC96B05D-3E02-4C05-A4ED-DC1648D29486

2024-04-27 13:59:24.057 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:24.057 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:27.540 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:27.540 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 71/900 s

2024-04-27 13:59:47.316 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 13:59:47.316 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 13:59:47.324 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 13:59:47.324 
📍<+40.73021586,-73.99692056> +/- 55.19m (speed -1.00 mps / course -1.00) @ 4/27/24, 1:59:42 PM Eastern Daylight Time

2024-04-27 13:59:47.324 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (4829 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:47.325 
📍<+40.73021586,-73.99692056> +/- 55.19m (speed -1.00 mps / course -1.00) @ 4/27/24, 1:59:47 PM Eastern Daylight Time

2024-04-27 13:59:47.325 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (5 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:47.326 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:47.326 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:47.326 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:47.326 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:47.327 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 13:59:48.430 
📍<+40.73047624,-73.99672522> +/- 28.69m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:47 PM Eastern Daylight Time

2024-04-27 13:59:48.430 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (541 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:48.433 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:48.433 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:49.037 
📍<+40.73047691,-73.99672539> +/- 25.55m (speed 0.00 mps / course -1.00) @ 4/27/24, 1:59:49 PM Eastern Daylight Time

2024-04-27 13:59:49.037 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (37 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:49.039 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:49.039 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:50.027 
📍<+40.73048039,-73.99672899> +/- 23.63m (speed 0.00 mps / course 324.14) @ 4/27/24, 1:59:50 PM Eastern Daylight Time

2024-04-27 13:59:50.027 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 13:59:50.027 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (27 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:50.027 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:59:50.028 
📍<+40.73048039,-73.99672899> +/- 23.63m (speed 0.00 mps / course 324.14) @ 4/27/24, 1:59:50 PM Eastern Daylight Time

2024-04-27 13:59:50.028 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:50.031 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.6

2024-04-27 13:59:50.031 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 13:59:50.035 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:50.035 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 13:59:50.040 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: AC3784CC-2344-4FE1-A1F5-EA5187097183

2024-04-27 13:59:50.040 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 13:59:50.040 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:03.019 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 14:00:03.025 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:07.873 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:07.874 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON

2024-04-27 14:00:07.874 ℹ️-[TSLocationManager resetStopTimeoutTimer] 

2024-04-27 14:00:07.883 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:00:15.952 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 14:00:15.955 ℹ️-[LocationDAO purge:] 1

2024-04-27 14:00:15.960 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:15.963 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:15.963 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:16.000 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:18.307 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 14:00:18.312 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:22.755 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 14:00:22.757 ℹ️-[LocationDAO purge:] 1

2024-04-27 14:00:22.763 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:22.763 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:22.764 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:23.262 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 14:00:23.262 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 14:00:23.265 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:23.268 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:00:23.268 
📍<+40.73070643,-73.99718954> +/- 4.17m (speed 1.27 mps / course 291.80) @ 4/27/24, 2:00:22 PM Eastern Daylight Time

2024-04-27 14:00:23.268 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (268 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:23.270 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:23.270 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:24.051 
📍<+40.73070889,-73.99720215> +/- 4.17m (speed 1.19 mps / course 284.06) @ 4/27/24, 2:00:23 PM Eastern Daylight Time

2024-04-27 14:00:24.051 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (51 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:24.053 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:24.053 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:25.035 
📍<+40.73071150,-73.99721498> +/- 4.21m (speed 1.19 mps / course 280.90) @ 4/27/24, 2:00:24 PM Eastern Daylight Time

2024-04-27 14:00:25.035 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (35 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:25.037 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:25.037 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:26.047 
📍<+40.73071495,-73.99722606> +/- 4.18m (speed 1.07 mps / course 281.25) @ 4/27/24, 2:00:25 PM Eastern Daylight Time

2024-04-27 14:00:26.047 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (47 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:26.049 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:26.049 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:27.045 
📍<+40.73072037,-73.99723975> +/- 4.17m (speed 1.26 mps / course 286.52) @ 4/27/24, 2:00:26 PM Eastern Daylight Time

2024-04-27 14:00:27.045 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 14:00:27.045 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (45 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:27.046 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:00:27.047 
📍<+40.73070643,-73.99718954> +/- 4.17m (speed 1.27 mps / course 291.80) @ 4/27/24, 2:00:22 PM Eastern Daylight Time

2024-04-27 14:00:27.047 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:27.050 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.6

2024-04-27 14:00:27.050 ℹ️-[TSConfig persist] 

2024-04-27 14:00:27.053 🔵-[TSConfig incrementOdometer:] 12398.6

2024-04-27 14:00:27.053 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:00:27.056 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:27.056 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:27.062 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 567E4F58-F531-4D39-828C-A8673DA033CF

2024-04-27 14:00:27.062 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:27.062 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:34.765 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 14:00:34.765 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 14:00:34.773 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:00:34.773 
📍<+40.73073307,-73.99730696> +/- 4.21m (speed 0.95 mps / course 281.60) @ 4/27/24, 2:00:32 PM Eastern Daylight Time

2024-04-27 14:00:34.773 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (1773 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:34.773 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:34.774 
📍<+40.73073307,-73.99730696> +/- 4.21m (speed 0.95 mps / course 281.60) @ 4/27/24, 2:00:34 PM Eastern Daylight Time

2024-04-27 14:00:34.774 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (6 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:34.775 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:34.775 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:34.778 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:34.778 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:35.901 
📍<+40.73072959,-73.99733492> +/- 6.08m (speed 1.02 mps / course 271.05) @ 4/27/24, 2:00:35 PM Eastern Daylight Time

2024-04-27 14:00:35.901 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (539 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:35.903 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:35.904 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:36.016 
📍<+40.73073068,-73.99734146> +/- 7.13m (speed 0.91 mps / course 281.25) @ 4/27/24, 2:00:35 PM Eastern Daylight Time

2024-04-27 14:00:36.016 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (16 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:36.017 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:36.017 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:37.022 
📍<+40.73073307,-73.99734850> +/- 5.47m (speed 0.94 mps / course 293.55) @ 4/27/24, 2:00:36 PM Eastern Daylight Time

2024-04-27 14:00:37.022 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 14:00:37.022 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (22 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:37.023 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:00:37.023 
📍<+40.73073307,-73.99730696> +/- 4.21m (speed 0.95 mps / course 281.60) @ 4/27/24, 2:00:34 PM Eastern Daylight Time

2024-04-27 14:00:37.023 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:37.026 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.2

2024-04-27 14:00:37.026 ℹ️-[TSConfig persist] 

2024-04-27 14:00:37.028 🔵-[TSConfig incrementOdometer:] 12409.0

2024-04-27 14:00:37.029 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:00:37.032 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:37.032 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:37.034 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 180CC6FA-8ADA-41BC-8B80-2EEE49F65323

2024-04-27 14:00:37.036 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:37.036 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:44.028 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:44.029 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 14:00:44.350 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:44.350 ℹ️-[TSLocationManager resetMotionTriggerTimer] 

2024-04-27 14:00:44.665 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:44.665 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 14:00:46.277 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:46.277 ℹ️-[TSLocationManager resetMotionTriggerTimer] 

2024-04-27 14:00:51.070 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:51.070 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 14:00:51.396 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:51.396 ℹ️-[TSLocationManager resetMotionTriggerTimer] 

2024-04-27 14:00:57.763 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 14:00:57.763 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 14:00:57.776 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:00:57.776 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:00:57.776 
📍<+40.73082972,-73.99722817> +/- 44.62m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:00:57 PM Eastern Daylight Time

2024-04-27 14:00:57.776 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (422 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:57.778 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:57.778 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:58.875 
📍<+40.73066781,-73.99743140> +/- 15.61m (speed 0.22 mps / course 39.02) @ 4/27/24, 2:00:58 PM Eastern Daylight Time

2024-04-27 14:00:58.875 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (539 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:58.876 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:58.876 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:59.025 
📍<+40.73066890,-73.99742997> +/- 15.76m (speed 0.23 mps / course 41.48) @ 4/27/24, 2:00:58 PM Eastern Daylight Time

2024-04-27 14:00:59.025 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (25 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:00:59.027 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:00:59.027 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:01:00.026 
📍<+40.73069162,-73.99740508> +/- 12.51m (speed 0.23 mps / course 221.48) @ 4/27/24, 2:00:59 PM Eastern Daylight Time

2024-04-27 14:01:00.026 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (26 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:00.028 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:01:00.028 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:01:01.028 
📍<+40.73070725,-73.99738798> +/- 9.07m (speed 0.24 mps / course 299.18) @ 4/27/24, 2:01:01 PM Eastern Daylight Time

2024-04-27 14:01:01.028 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 14:01:01.028 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (28 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:01.029 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:01:01.030 
📍<+40.73070725,-73.99738798> +/- 9.07m (speed 0.24 mps / course 299.18) @ 4/27/24, 2:01:01 PM Eastern Daylight Time

2024-04-27 14:01:01.030 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:01.032 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 22.8

2024-04-27 14:01:01.032 ℹ️-[TSConfig persist] 

2024-04-27 14:01:01.035 🔵-[TSConfig incrementOdometer:] 12416.4

2024-04-27 14:01:01.035 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:01:01.038 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:01:01.038 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:01:01.044 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 95217151-FBCD-460D-9AB9-5B5392302B1A

2024-04-27 14:01:01.045 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:01.045 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:20.960 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 14:01:20.968 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:01:22.431 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:24.684 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:30.200 ℹ️-[TSDBLogger db_delete] maxAge: 172800

2024-04-27 14:01:31.451 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 14:01:31.504 ℹ️-[LocationDAO purge:] 1

2024-04-27 14:01:31.507 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:01:31.509 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:31.509 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:33.212 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 14:01:33.217 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:01:34.921 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:35.871 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:37.483 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:01:40.353 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:10:25.857 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:10:25.887 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:10:25.889 
📍<+40.72544329,-73.99653357> +/- 40.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:10:25 PM Eastern Daylight Time

2024-04-27 14:10:25.889 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:10:25.891 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:17:23.172 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:17:23.177 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:17:23.177 
📍<+40.72355747,-73.99078968> +/- 32.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:17:23 PM Eastern Daylight Time

2024-04-27 14:17:23.177 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:17:28.339 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:18:49.230 
📍<+40.72297628,-73.98938841> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:18:49 PM Eastern Daylight Time

2024-04-27 14:18:49.230 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 1000.0m | age: 13 ms
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:49.230 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.2

2024-04-27 14:18:49.230 ℹ️-[TSConfig persist] 

2024-04-27 14:18:49.232 🔵-[TSConfig incrementOdometer:] 13509.0

2024-04-27 14:18:49.232 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:18:49.232 
📍<+40.72297628,-73.98938841> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:18:49 PM Eastern Daylight Time

2024-04-27 14:18:49.232 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:49.271 🎾-[TSGeofenceManager locationManager:didEnterRegion:] Home

2024-04-27 14:18:49.272 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:18:49.272 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:18:49.273 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 2ACB0CC8-B775-40D0-ACDD-FD31B409C1BF

2024-04-27 14:18:49.273 🎾-[TSGeofenceManager requestLocation] 

2024-04-27 14:18:49.278 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:49.278 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:49.283 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:18:49.283 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:59.273 🔵-[TSGeofenceManager locationManager:didUpdateLocations:] <+40.72290103,-73.98942640> +/- 21.77m (speed 0.89 mps / course 201.71) @ 4/27/24, 2:18:59 PM Eastern Daylight Time

2024-04-27 14:18:59.273 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager fireGeofenceEvent:] 📢ENTER Geofence: Home
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:59.279 ✅-[TSGeofenceManager fireGeofenceEvent:] INSERT: 26D80A3F-57B2-4B4A-BE36-28CFEE35F087

2024-04-27 14:18:59.279 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:59.279 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:18:59.281 ✅-[BackgroundTaskManager createBackgroundTask] 558

2024-04-27 14:18:59.281 🎾-[TSGeofenceEvent startLoiteringAt:callback:] Geofence DWELL start: Home (780 s)

2024-04-27 14:19:02.293 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 28 | Total tasks: 1

2024-04-27 14:19:14.492 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:15.302 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:19:18.964 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:20.511 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.913542)

2024-04-27 14:19:20.533 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:19:22.171 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:23.539 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 28 | Total tasks: 1

2024-04-27 14:19:24.081 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:24.081 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 14:19:24.401 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:24.401 ℹ️-[TSLocationManager resetMotionTriggerTimer] 

2024-04-27 14:19:32.717 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:41.681 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.970043)

2024-04-27 14:19:41.717 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:19:42.640 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:44.723 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 28 | Total tasks: 1

2024-04-27 14:19:46.152 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:47.758 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:56.067 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:19:56.068 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds...

2024-04-27 14:20:02.949 🔵-[BackgroundTaskManager onPreventSuspendTimer:] Prevent-suspend timer fired! (bg time remaining: 9.929453)

2024-04-27 14:20:02.983 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:20:05.990 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 28 | Total tasks: 1

2024-04-27 14:20:06.132 🔵-[TSLocationManager beginStopDetection] ⏲Stop-timeout engaged: 900 s...

2024-04-27 14:20:06.149 ℹ️-[TSDBLogger db_delete] maxAge: 172800

2024-04-27 14:20:09.824 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:20:09.825 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 3/900 s

2024-04-27 14:20:16.282 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:20:38.293 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:20:38.294 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 32/900 s

2024-04-27 14:21:03.061 🔵-[TSHttpService init]_block_invoke Network: WiFi | Flags: -R -t-----

2024-04-27 14:21:09.000 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:09.001 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 62/900 s

2024-04-27 14:21:12.209 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:12.209 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 66/900 s

2024-04-27 14:21:17.279 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:21:19.235 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:19.236 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 73/900 s

2024-04-27 14:21:22.445 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:22.446 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 76/900 s

2024-04-27 14:21:24.999 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:25.000 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 78/900 s

2024-04-27 14:21:35.862 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:35.862 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 89/900 s

2024-04-27 14:21:39.880 🔵-[BackgroundTaskManager onResume:] Current preventSuspend tasks: 1

2024-04-27 14:21:39.880 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 14:21:39.882 ℹ️-[LocationDAO purge:] 1

2024-04-27 14:21:39.890 ℹ️-[LocationDAO purge:]_block_invoke Found 1 stale records older than 1 days

2024-04-27 14:21:39.895 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:21:39.903 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:39.903 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:41.726 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 14:21:41.730 🎾-[LocationManager startUpdatingLocation] ON

2024-04-27 14:21:41.731 ℹ️+[LocationAuthorization run:onCancel:] status: 3

2024-04-27 14:21:41.734 
📍<+40.72273237,-73.98931128> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:21:35 PM Eastern Daylight Time

2024-04-27 14:21:41.734 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 5 (6287 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:41.735 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:41.735 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:41.735 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:21:41.736 
📍<+40.72273237,-73.98931128> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:21:41 PM Eastern Daylight Time

2024-04-27 14:21:41.736 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 2 of 5 (3 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:41.736 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:41.736 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:42.191 
📍<+40.72273235,-73.98931122> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:21:42 PM Eastern Daylight Time

2024-04-27 14:21:42.191 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 3 of 5 (15 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:42.194 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:42.194 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:43.324 
📍<+40.72273235,-73.98931121> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:21:43 PM Eastern Daylight Time

2024-04-27 14:21:43.324 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 4 of 5 (101 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:43.326 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:43.326 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:49.247 
📍<+40.72273235,-73.98931120> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:21:49 PM Eastern Daylight Time

2024-04-27 14:21:49.247 🔴-[LocationManager stopUpdatingLocation] OFF

2024-04-27 14:21:49.247 
╔═══════════════════════════════════════════════════════════
║ -[LocationManager locationManager:didUpdateLocations:] Sample 5 of 5 (15 ms old)
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:49.248 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:21:49.249 
📍<+40.72273235,-73.98931120> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 2:21:49 PM Eastern Daylight Time

2024-04-27 14:21:49.249 
╔═══════════════════════════════════════════════════════════
║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:49.253 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 23.6

2024-04-27 14:21:49.253 ℹ️-[PolygonGeofencingService setLocation:] Already updating location <IGNORED>

2024-04-27 14:21:49.255 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:49.255 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary

2024-04-27 14:21:49.262 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: D9F305EF-8721-4560-8883-DA40086CD79B

2024-04-27 14:21:49.262 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:49.262 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:49.616 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:49.617 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 103/900 s

2024-04-27 14:21:51.854 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:51.855 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 105/900 s

2024-04-27 14:21:53.451 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:53.451 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 107/900 s

2024-04-27 14:21:54.736 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:21:54.737 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 108/900 s

2024-04-27 14:22:01.497 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 20 | Total tasks: 1

2024-04-27 14:22:01.497 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 14:22:01.500 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:22:02.411 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:02.413 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 116/900 s

2024-04-27 14:22:05.718 🔵-[BackgroundTaskManager onResume:] Current preventSuspend tasks: 1

2024-04-27 14:22:05.718 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 14:22:05.720 ℹ️-[LocationDAO purge:] 1

2024-04-27 14:22:05.726 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:22:05.729 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:05.729 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:08.444 🔵-[BackgroundTaskManager startPreventSuspendTimer:] BG time remaining: 20 | Total tasks: 1

2024-04-27 14:22:08.444 🔵-[TSLocationManager onSuspend:] enabled? 1)

2024-04-27 14:22:08.449 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:22:09.447 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:09.447 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 123/900 s

2024-04-27 14:22:11.371 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:11.372 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 125/900 s

2024-04-27 14:22:12.650 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:12.651 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 126/900 s

2024-04-27 14:22:18.090 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:18.091 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 131/900 s

2024-04-27 14:22:21.296 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:21.297 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 135/900 s

2024-04-27 14:22:21.929 
╔═══════════════════════════════════════════════════════════
║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:21.931 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 135/900 s

2024-04-27 14:22:31.402 🔵-[BackgroundTaskManager onResume:] Current preventSuspend tasks: 1

2024-04-27 14:22:31.402 🔵-[TSLocationManager onResume:] enabled? 1

2024-04-27 14:22:31.404 ℹ️-[LocationDAO purge:] 1

2024-04-27 14:22:31.413 ℹ️-[TSDBLogger db_save] Log committed

2024-04-27 14:22:31.416 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService flush:] 
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:31.416 
╔═══════════════════════════════════════════════════════════
║ -[TSHttpService finish:error:] Success: 0
╚═══════════════════════════════════════════════════════════

2024-04-27 14:22:32.617 🔵-[TSLocationManager getCurrentPosition:] 

2024-04-27 14:22:32.617 🎾-[LocationManager startUpdatingLocation] ON

christocracy commented 2 weeks ago

2024-04-27 13:58:15.614 🔵-[TSLocationManager beginStopDetection] ⏲Stop-timeout engaged: 900 s...

You didn’t show any logs after 13:58.

sirusbaladi commented 2 weeks ago

2024-04-27 13:58:15.614 🔵-[TSLocationManager beginStopDetection] ⏲Stop-timeout engaged: 900 s...

You didn’t show any logs after 13:58.

Added complete logs. I ended the logs there because then I manually triggered the notification through a button. If you see there's a hole from 13:34 to 13:57.

christocracy commented 2 weeks ago

2024-04-27 13:34:22.684 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════

the last report from the motion api was “on_foot”. In the eyes of the plug-in, that device is moving.

the motion api is handled by the OS.

sirusbaladi commented 2 weeks ago

2024-04-27 13:34:22.684 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════

the last report from the motion api was “on_foot”. In the eyes of the plug-in, that device is moving.

the motion api is handled by the OS.

But isn't it weird that it stops checking? During that time I sat on a bench for 15 minutes. Before that the logs kept updating every few minutes.
Also, when I usually open the app and close it I receive the notification "continue stationary" or "is moving". When I opened the app to manually trigger the button and the close it, I didn't. It took a while to wake up again.

This has happened a few other times that it misses the stationary mode completely.

christocracy commented 2 weeks ago

The plug-in is not responsible for the performance of the motion api. The plug-in only turns it on or off. Once on, the motion api fires events.

sirusbaladi commented 2 weeks ago

If that's the case, then why when I open the app while in stationary mode and close it, the plugin sends a notification "continuing in stationary mode" even if the motion API did not change? It means that when you open and close the app the plug-in does a check anyway.

When I was sitting at the bench and I opened and closed the app, the plugin sent no notification. It was like freezed.

christocracy commented 2 weeks ago

The plug-in responds to whatever the motion api reports.

the plug-in has no control over when the motion api reports information.

sirusbaladi commented 2 weeks ago

The plug-in responds to whatever the motion api reports.

the plug-in has no control over when the motion api reports information.

okay, I went out again for further testing and there's definitely an issue regarding the plugin.

  1. the plugin tracks the motion api for the first 10/15 minutes then it stops tracking it
  2. [this is key] when the plugin stops tracking the device motion, let's say there's a hold of 20 minutes, if I manually open the app with the plugin, the plugin catches up and IMMEDIATELY triggers the onMotionChange Stationary leading my local debug notification to fire. In other words, when I open the app, the plugin reads back the motion changes and realizes then more than 15 minutes passed (15 set by stopTimeout) and fires the onmotionchange. It doesn't wait 15 minutes from me opening the app to trigger the stationary state.

The expected behavior would be, me not needing to open the app for the plugin to update the motion change.

I attached some logs. The end are when I manually open the app. Please ask me questions if needed.

Debug logs

Logs ``` ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 17:53:46.944 🔵-[TSLocationManager onSuspend:] enabled? 1) 2024-04-27 17:53:46.955 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:17:05.781 🔵-[TSHttpService init]_block_invoke Network: Cellular | Flags: WR -t----- 2024-04-27 18:17:05.792 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:17:05.792 ℹ️-[TSDBLogger db_delete] maxAge: 172800 2024-04-27 18:17:05.799 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:05.799 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Query location-state will trigger in 10 seconds... 2024-04-27 18:17:05.805 🔴-[TSGeofenceManager locationManager:didExitRegion:] Home 2024-04-27 18:17:05.806 🎾-[TSGeofenceManager requestLocation] 2024-04-27 18:17:05.819 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-04-27 18:17:07.914 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:13.081 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:14.994 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:15.863 🎾-[LocationManager requestLocation] ONESHOT 2024-04-27 18:17:15.865 🔵-[TSGeofenceManager locationManager:didUpdateLocations:] <+40.72245777,-73.98790188> +/- 25.86m (speed 0.98 mps / course 201.33) @ 4/27/24, 6:17:14 PM Eastern Daylight Time 2024-04-27 18:17:15.868 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager fireGeofenceEvent:] 📢EXIT Geofence: Home ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:15.875 ✅-[TSGeofenceManager fireGeofenceEvent:] INSERT: B1C03807-9228-447B-8410-0DC088703EE5 2024-04-27 18:17:15.875 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:15.875 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:15.877 ✅-[BackgroundTaskManager createBackgroundTask] 246 2024-04-27 18:17:16.881 📍<+40.72245777,-73.98790188> +/- 25.86m (speed 0.98 mps / course 201.33) @ 4/27/24, 6:17:14 PM Eastern Daylight Time 2024-04-27 18:17:16.881 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:16.885 🔵-[TSGeofenceManager evaluateProximity:delay:]_block_invoke Re-evaluation timer fired 2024-04-27 18:17:16.885 ✅-[BackgroundTaskManager stopBackgroundTask:]_block_invoke 246 OF ( 246 ) 2024-04-27 18:17:18.212 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:18.517 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:23.338 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:24.288 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:25.884 📍<+40.72244581,-73.98755997> +/- 23.80m (speed 1.21 mps / course 106.17) @ 4/27/24, 6:17:24 PM Eastern Daylight Time 2024-04-27 18:17:25.884 🔴-[LocationManager stopUpdatingLocation] OFF 2024-04-27 18:17:25.884 ╔═══════════════════════════════════════════════════════════ ║ -[LocationManager locationManager:didUpdateLocations:] Sample 1 of 1 (900 ms old) ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:25.885 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:17:25.891 📍<+40.72244581,-73.98755997> +/- 23.80m (speed 1.21 mps / course 106.17) @ 4/27/24, 6:17:24 PM Eastern Daylight Time 2024-04-27 18:17:25.891 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:25.985 🔵-[TSLocationManager setPace:] 1 2024-04-27 18:17:25.985 ℹ️-[TSConfig persist] 2024-04-27 18:17:25.995 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON 2024-04-27 18:17:25.996 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:26.002 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:17:26.016 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-04-27 18:17:26.017 📍<+40.72244581,-73.98755997> +/- 23.80m (speed 1.21 mps / course 106.17) @ 4/27/24, 6:17:24 PM Eastern Daylight Time 2024-04-27 18:17:26.017 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: -1.0m | age: 1033 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:26.017 ✅-[TSLocationManager locationManager:didUpdateLocations:] Acquired motionchange position: <+40.72244581,-73.98755997> +/- 23.80m (speed 1.21 mps / course 106.17) @ 4/27/24, 6:17:24 PM Eastern Daylight Time 2024-04-27 18:17:26.018 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON 2024-04-27 18:17:26.018 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 29.4 2024-04-27 18:17:26.018 ℹ️-[TSConfig persist] 2024-04-27 18:17:26.020 🔵-[TSConfig incrementOdometer:] 13688.2 2024-04-27 18:17:26.020 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:17:26.021 📍<+40.72244581,-73.98755997> +/- 23.80m (speed 1.21 mps / course 106.17) @ 4/27/24, 6:17:24 PM Eastern Daylight Time 2024-04-27 18:17:26.021 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:26.093 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-04-27 18:17:26.094 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 5151B1B2-1C5B-4D9D-88CA-4865CD056FCF 2024-04-27 18:17:26.095 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:26.095 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:26.096 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:17:26.096 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:17:36.456 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:48.943 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:49.255 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:49.255 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds... 2024-04-27 18:17:49.576 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:49.576 ℹ️-[TSLocationManager resetMotionTriggerTimer] 2024-04-27 18:17:51.175 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:17:54.064 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:18:06.866 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:18:14.741 📍<+40.72197061,-73.98739267> +/- 46.57m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:18:14 PM Eastern Daylight Time 2024-04-27 18:18:14.741 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 32 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:18:14.741 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:18:14.741 ℹ️-[TSConfig persist] 2024-04-27 18:18:14.743 🔵-[TSConfig incrementOdometer:] 13742.9 2024-04-27 18:18:14.743 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:18:14.744 📍<+40.72197061,-73.98739267> +/- 46.57m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:18:14 PM Eastern Daylight Time 2024-04-27 18:18:14.744 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:18:14.750 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:18:14.750 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:18:14.756 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 5146A324-FA53-43A1-A431-811D29F5B569 2024-04-27 18:18:14.756 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:18:14.756 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:18:48.119 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:07.014 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:19:07.183 📍<+40.72154015,-73.98766009> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:19:07 PM Eastern Daylight Time 2024-04-27 18:19:07.183 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 25 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:07.183 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:19:07.183 ℹ️-[TSConfig persist] 2024-04-27 18:19:07.185 🔵-[TSConfig incrementOdometer:] 13795.7 2024-04-27 18:19:07.186 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:19:07.187 📍<+40.72154015,-73.98766009> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:19:07 PM Eastern Daylight Time 2024-04-27 18:19:07.187 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:07.193 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:19:07.193 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:19:07.194 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 754D60B0-FC4D-4100-8D4E-2B2283DE893C 2024-04-27 18:19:07.199 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:07.199 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:17.869 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:21.074 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:39.297 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:41.548 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:46.014 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:46.977 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:53.693 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:56.900 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:59.034 📍<+40.72111715,-73.98786967> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:19:58 PM Eastern Daylight Time 2024-04-27 18:19:59.034 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 69 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:59.034 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:19:59.035 ℹ️-[TSConfig persist] 2024-04-27 18:19:59.036 🔵-[TSConfig incrementOdometer:] 13845.9 2024-04-27 18:19:59.037 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:19:59.037 📍<+40.72111715,-73.98786967> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:19:58 PM Eastern Daylight Time 2024-04-27 18:19:59.037 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:59.042 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:19:59.043 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:19:59.048 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: C1242069-4CDD-4222-A0E4-E37093AE9167 2024-04-27 18:19:59.048 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:19:59.048 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:08.015 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:20:31.549 📍<+40.72064348,-73.98804597> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:20:31 PM Eastern Daylight Time 2024-04-27 18:20:31.549 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 29 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:31.549 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:20:31.549 ℹ️-[TSConfig persist] 2024-04-27 18:20:31.551 🔵-[TSConfig incrementOdometer:] 13900.6 2024-04-27 18:20:31.552 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:20:31.552 📍<+40.72064348,-73.98804597> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:20:31 PM Eastern Daylight Time 2024-04-27 18:20:31.552 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:31.558 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:20:31.558 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:20:31.561 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 5652C4B3-B79D-4515-81E0-458F46E69A24 2024-04-27 18:20:31.564 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:31.564 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:50.778 ℹ️-[TSDBLogger db_delete] maxAge: 172800 2024-04-27 18:20:50.946 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:55.759 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:20:57.667 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:00.873 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:08.441 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:21:11.778 📍<+40.72023449,-73.98834735> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:21:11 PM Eastern Daylight Time 2024-04-27 18:21:11.778 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 77 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:11.778 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:21:11.778 ℹ️-[TSConfig persist] 2024-04-27 18:21:11.780 🔵-[TSConfig incrementOdometer:] 13952.7 2024-04-27 18:21:11.781 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:21:11.781 📍<+40.72023449,-73.98834735> +/- 35.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:21:11 PM Eastern Daylight Time 2024-04-27 18:21:11.782 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:11.787 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:21:11.787 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:21:11.793 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: F0AA52F3-E5EC-4BB5-85C4-D5A98E80A57A 2024-04-27 18:21:11.793 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:11.793 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:16.539 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:21.348 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:43.731 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:46.936 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:52.687 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:52.687 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds... 2024-04-27 18:21:53.007 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:21:53.007 ℹ️-[TSLocationManager resetMotionTriggerTimer] 2024-04-27 18:22:09.391 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:22:10.024 📍<+40.71971593,-73.98857023> +/- 40.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:22:09 PM Eastern Daylight Time 2024-04-27 18:22:10.024 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 44 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:10.024 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:22:10.024 ℹ️-[TSConfig persist] 2024-04-27 18:22:10.026 🔵-[TSConfig incrementOdometer:] 14013.2 2024-04-27 18:22:10.027 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:22:10.028 📍<+40.71971593,-73.98857023> +/- 40.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:22:09 PM Eastern Daylight Time 2024-04-27 18:22:10.028 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:10.035 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:22:10.035 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:22:10.037 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: F44B07FA-73A4-41F9-AE27-4101EC408F5B 2024-04-27 18:22:10.040 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:10.041 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:17.962 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:22.767 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:26.278 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:27.883 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:40.993 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:43.242 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:47.710 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:50.917 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:58.028 📍<+40.71937536,-73.98896174> +/- 14.30m (speed 1.29 mps / course 194.28) @ 4/27/24, 6:22:58 PM Eastern Daylight Time 2024-04-27 18:22:58.028 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 27 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:58.028 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:22:58.028 ℹ️-[TSConfig persist] 2024-04-27 18:22:58.032 🔵-[TSConfig incrementOdometer:] 14063.5 2024-04-27 18:22:58.034 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:22:58.034 📍<+40.71937536,-73.98896174> +/- 14.30m (speed 1.29 mps / course 194.28) @ 4/27/24, 6:22:58 PM Eastern Daylight Time 2024-04-27 18:22:58.034 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:58.039 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:22:58.039 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:22:58.040 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: 742D677A-4F84-4F85-BE73-DD6CEDB47687 2024-04-27 18:22:58.042 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:22:58.042 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:09.760 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:23:16.817 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:17.947 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:23:17.948 📍<+40.71913038,-73.98899114> +/- 40.00m (speed -1.00 mps / course -1.00) @ 4/27/24, 6:23:17 PM Eastern Daylight Time 2024-04-27 18:23:17.948 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:21.625 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:23.532 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:24.488 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:29.297 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:33.768 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:36.973 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:39.530 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:39.531 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds... 2024-04-27 18:23:40.486 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:40.486 ℹ️-[TSLocationManager resetMotionTriggerTimer] 2024-04-27 18:23:40.805 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:40.805 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds... 2024-04-27 18:23:42.404 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:42.404 ℹ️-[TSLocationManager resetMotionTriggerTimer] 2024-04-27 18:23:42.724 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:42.724 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds... 2024-04-27 18:23:45.923 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:47.207 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/100 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:23:52.725 🔵-[TSLocationManager beginStopDetection] ⏲Stop-timeout engaged: 900 s... 2024-04-27 18:24:09.776 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:24:15.360 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | on_foot/100 | isMoving: 1 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:24:15.360 🎾-[TSLocationManager startUpdatingLocation] Location-services: ON 2024-04-27 18:24:15.360 ℹ️-[TSLocationManager resetStopTimeoutTimer] 2024-04-27 18:24:15.371 ℹ️+[LocationAuthorization run:onCancel:] status: 3 2024-04-27 18:54:32.052 🔵-[TSLocationManager onResume:] enabled? 1 2024-04-27 18:54:32.055 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:54:32.055 ℹ️-[TSDBLogger db_delete] maxAge: 172800 2024-04-27 18:54:32.060 ℹ️-[LocationDAO purge:] 1 2024-04-27 18:54:32.062 ℹ️-[LocationDAO purge:]_block_invoke Found 3 stale records older than 1 days 2024-04-27 18:54:32.072 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:32.072 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:32.076 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:54:32.161 📍<+40.71895398,-73.99012213> +/- 30.26m (speed 1.96 mps / course 210.59) @ 4/27/24, 6:54:31 PM Eastern Daylight Time 2024-04-27 18:54:32.161 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager locationManager:didUpdateLocations:] Enabled: 1 | isMoving: 1 | df: 50.0m | age: 161 ms ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:32.161 🔵-[TSLocationManager calculateMedianLocationAccuracy:] Median location accuracy: 35.0 2024-04-27 18:54:32.162 ℹ️-[TSConfig persist] 2024-04-27 18:54:32.165 🔵-[TSConfig incrementOdometer:] 14172.1 2024-04-27 18:54:32.165 ℹ️-[PolygonGeofencingService setLocation:] Already updating location 2024-04-27 18:54:32.165 📍<+40.71895398,-73.99012213> +/- 30.26m (speed 1.96 mps / course 210.59) @ 4/27/24, 6:54:31 PM Eastern Daylight Time 2024-04-27 18:54:32.165 ╔═══════════════════════════════════════════════════════════ ║ -[TSGeofenceManager evaluateProximity:] Found 1 / 1 within 2000 m ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:32.216 ✅-[TSLocationManager persistLocation:]_block_invoke INSERT: B2CB98D7-A7D2-450A-8E7D-EF3404AE1472 2024-04-27 18:54:32.216 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:54:32.216 ℹ️-[TSLocationManager log:message:] At home or duplicated, not sending notification for being stationary 2024-04-27 18:54:32.218 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:32.218 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:35.303 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:35.303 🔵-[TSLocationManager startMotionTriggerTimer] Motion-trigger timer engaged: Stop-detection will trigger in 10 seconds... 2024-04-27 18:54:36.885 🔵-[TSLocationManager onSuspend:] enabled? 1) 2024-04-27 18:54:36.895 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:54:37.546 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:38.183 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:45.306 🔵-[TSLocationManager beginStopDetection] ⏲Stop-timeout engaged: 900 s... 2024-04-27 18:54:46.179 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:46.179 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 0/900 s 2024-04-27 18:54:48.101 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:48.101 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 2/900 s 2024-04-27 18:54:50.973 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:50.973 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 5/900 s 2024-04-27 18:54:52.580 ╔═══════════════════════════════════════════════════════════ ║ -[TSLocationManager createMotionTypeChangedHandler]_block_invoke | still/33 | isMoving: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:52.580 🔵-[TSLocationManager detectStopMotion:shakeCount:] Stationary-time: 7/900 s 2024-04-27 18:54:58.231 🔵-[TSLocationManager onResume:] enabled? 1 2024-04-27 18:54:58.233 ℹ️-[LocationDAO purge:] 1 2024-04-27 18:54:58.240 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService flush:] ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:58.241 ╔═══════════════════════════════════════════════════════════ ║ -[TSHttpService finish:error:] Success: 0 ╚═══════════════════════════════════════════════════════════ 2024-04-27 18:54:58.245 ℹ️-[TSDBLogger db_save] Log committed 2024-04-27 18:54:59.964 🔵-[TSLocationManager getCurrentPosition:] 2024-04-27 18:54:59.964 🎾-[LocationManager startUpdatingLocation] ON ```
christocracy commented 2 weeks ago

Create for me a simple “hellow-world” app which reproduces the issue. Share it with me in a public GitHub repo.

definitely an issue regarding the plugin.

I disagree.

christocracy commented 2 weeks ago

I don’t see anything unusual in this image. IMG_0793

sirusbaladi commented 2 weeks ago

I don’t see anything unusual in this image. IMG_0793

326297648-08cf8076-7a45-40ba-81c6-abcc9e9854be

Here's what's wrong:

  1. if you see in section 1 (approximated by the orange circle) it correctly updates the location each 50 meters (given by the repeated blue indicators) in section 2 the update is only 1.
  2. The path in section two is complexly wrong, the plugin freezes. It stops updating the location each 50 meters and stops checking the motion API. The red path is the correct one.
  3. Section 3 is also missing updates each 50 meters. and the path is wrong.
  4. Stop detection did no trigger until I opened the app in the park. As mentioned above, the plugin works for the first 10 minutes then it seems it stop working for some reason.
christocracy commented 2 weeks ago

Do you understand what the green polyline means? See api docs Config.stationaryRadius for more info.

sirusbaladi commented 2 weeks ago

Do you understand what the green polyline means? See api docs Config.stationaryRadius for more info.

Okay that's only one of the points I brought forward. Section 2 is still off and missing the updates. The blue line on the way to the park should not jump buildings like that.

image

Look how consisted it is here and with regular updates!

christocracy commented 2 weeks ago

desiredAccuracy = 100;

See API docs Config.desiredAccuracy

sirusbaladi commented 2 weeks ago

desiredAccuracy = 100;

See API docs Config.desiredAccuracy

I already saw that. the desired accuracy is 50. those were old settings. In fact, at the beginning (first 10 minutes) the updates are regular (section 1), then they are not (section 2). each time I test, the same happens.

christocracy commented 2 weeks ago

Also be aware that GPS is affected by tall buildings, such as those found in Manhattan.

when you don’t use a desiredAccuracy the includes GPS, you’re not using GPS.

christocracy commented 2 weeks ago

the desired accuracy is 50

A value of “50” is not a recognized setting for desiredAccuracy. See the api docs and first test with highest possible accuracy.

sirusbaladi commented 2 weeks ago

the desired accuracy is 50

A value of “50” is not a recognized setting for desiredAccuracy. See the api docs and first test with highest possible accuracy.

I misspoke, I meant distanceFilter = 50. I'm changing the desired accuracy to BackgroundGeolocation.DESIRED_ACCURACY_HIGH and testing again. Hopefully that will fix also the motion API issue. Will get back to you soon.

christocracy commented 2 weeks ago

Hopefully that will fix also the motion API issue.

The motion api is not affected by the Location API.

sirusbaladi commented 2 weeks ago

Also be aware that GPS is affected by tall buildings, such as those found in Manhattan.

when you don’t use a desiredAccuracy the includes GPS, you’re not using GPS.

that area of Manhattan doesn't have tall buildings.

sirusbaladi commented 2 weeks ago

Gy4fj1714354279

1) on the way to go to the park, there's a jump in location. The only reason why the plugin caught up is because I manually opened the app. 2) If you see the app on the way back stopped tracking both position and motion. Hours later is still not updated. Phone is being used but I'm not opening the app.

This behavior is consistent with all my tests: At the beginning the plugin works flawlessly, after 10/15 minutes for no apparent reason it stops tracking location and motion. It freezes, unless I manually open the app. It is as if the plugin is being killed after 10/15 min of background execution.

christocracy commented 2 weeks ago

Go on a much longer test.

sirusbaladi commented 2 weeks ago

Go on a much longer test.

Sure, will do that tomorrow and report back but I doubt anything will change. The behavior is too consistent, always stops at 10/15 minutes. Moreover yesterday I had the plugin on and went on a long trip and same thing happened.

Update: I just refreshed the tracker website and the plugin still did not update the location. My guess is that it will never update it until I open the app.

Update2: I finally decided to open the app, and as expected, the path got updated with a jump and the motion changed to stationary. This proves that the problem is not localized to the motion API as you suggested before but also to the location API and makes it more plausible for it to be a plugin issue. image

christocracy commented 2 weeks ago

I’ve been field-testing this plugin almost daily for nearly 10 years. It tracks me everywhere I go without issue.

sirusbaladi commented 2 weeks ago

I wonder if it could be about the expo plugin? I'm using eas build.

To double check, in the documentation it is written to add the following:

      "BGTaskSchedulerPermittedIdentifiers": [
+         "com.transistorsoft.fetch",
+         "com.transistorsoft.customtask"
+       ]

I substituted the bundle Identifiers there, with the one of my app. Is that correct?

and at the end of the documentation I notice:

You must build ALL platforms, both iOS and Android: eas build --profile development

I've done that the first time, but now I only do: eas build --profile preview --platform ios

christocracy commented 2 weeks ago

background-fetch does not affect location-tracking performance.

christocracy commented 2 weeks ago

Here is today’s walk.

IMG_0796

sirusbaladi commented 2 weeks ago

I believe it works. Is that android or IOS?

Here's my experiment today, I took out both the android and iphone device at the same time. On android is flawless: image

on IOS a mess: image

On android I used your test app, on ios my implementation, it's very simple and basic, you can find it below. https://github.com/sirusbaladi/geolocationDebug

christocracy commented 2 weeks ago

My screenshot is iOS. I never have a problem with either.

sirusbaladi commented 2 weeks ago

I sent you the hello world app above, is there anything wrong with it?

christocracy commented 2 weeks ago

I suggest you install my demo app (linked in the readme).

sirusbaladi commented 2 weeks ago

I suggest you install my demo app (linked in the readme).

I already did as mentioned above for android, will try for ios. But I'm not sure how does that help.

sirusbaladi commented 1 week ago

The issues seems to be fixed now. I rewrote everything again following the Hello World example. I'm yet not sure where the issues was as I don't have time to properly investigate it, I suspect it might has to do with the way I was using async in some plugin's functions.