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.62k stars 428 forks source link

Activity type isn't updated with `WhenInUse` config #1902

Closed vonkanehoffen closed 8 months ago

vonkanehoffen commented 9 months ago

Your Environment

Expected Behavior

I expect to see activity.type change from still to in_vehicle, walking etc. while tracking is active and locationAuthorizationRequest = 'WhenInUse' and stopTimeout = 10000

Actual Behavior

I only see still for activity.type and see no 'Motion Transition Result' events in the log.

Steps to Reproduce

  1. App with the above config calls start() then changePace(true)
  2. Note activity never changes in reported data when on a journey that involves periods of walking, driving etc
  3. Now amend the config to locationAuthorizationRequest: 'Always' and leave stopTimeout as default
  4. Note activity changes as expected between walking, in_vehicle etc

Context

Following on from your answer to my ticket https://github.com/transistorsoft/react-native-background-geolocation/issues/1889 I want location tracking to work as well as it can without users granting Always permission. I get location services have to stay enabled throughout with WhenInUse, as they can't be restarted in the background, hence the stopTimeout and changePace fired when app is in the foreground, but once tracking is enabled, I'd still like to see the activity type updates as well as location. Am I missing some better config for this or is it a bug?

In the logs I also see "activityRecognitionInterval": 10000, although that prop is marked depreciated.

Debug logs

Logs are massive but here's a sample:

Logs ``` ╔═════════════════════════════════════════════ ║ TSLocationManager3.5.2 (431) ╠═════════════════════════════════════════════ ╟─ Google Pixel 6 @ 13 (react) { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "authorization": {}, "autoSync": true, "autoSyncThreshold": 0, "backgroundPermissionRationale": { "title": "Allow {applicationName} to access this device's location even when closed or not in use?", "message": "[CHANGEME] This app collects location data for FEATURE X and FEATURE Y.", "positiveAction": "Change to \"{backgroundPermissionOptionLabel}\"", "negativeAction": "" }, "batchSync": false, "configUrl": "", "debug": false, "deferTime": 0, "desiredAccuracy": -1, "desiredOdometerAccuracy": 100, "disableAutoSyncOnCellular": false, "disableElasticity": false, "disableLocationAuthorizationAlert": false, "disableMotionActivityUpdates": false, "disableProviderChangeRecord": false, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": { "org": "mobilityways" }, "fastestLocationUpdateInterval": -1, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": { "authorization": "Bearer __" }, "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask", "heartbeatInterval": -1, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": true, "locationAuthorizationRequest": "WhenInUse", "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": -1, "maxDaysToPersist": 1, "maxMonitoredGeofences": 97, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "motionTriggerDelay": 0, "notification": { "layout": "", "title": "Mobilityways POC tracking", "text": "Location tracking on", "color": "", "channelName": "TSLocationManager", "channelId": "", "smallIcon": "", "largeIcon": "", "priority": -1, "sticky": false, "strings": {}, "actions": [] }, "params": {}, "persist": true, "persistMode": 2, "schedule": [], "scheduleUseAlarmManager": false, "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 10000, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "https:\/\/[interface-dev.liftshare.com](http://interface-dev.liftshare.com/)\/v2\/liftshare\/location-data", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": false, "trackingMode": 1, "odometer": 384507, "isFirstBoot": false, "didLaunchInBackground": false, "didDeviceReboot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="LSM6DSR Accelerometer", vendor="STMicro", version=1, type=1, maxRange=156.9064, resolution=0.0047856453, power=0.001, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="LSM6DSR Gyroscope", vendor="STMicro", version=1, type=4, maxRange=34.906063, resolution=0.0012217305, power=0.001, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="MMC56X3X Magnetometer", vendor="MEMSIC", version=1, type=2, maxRange=3198.1567, resolution=0.0976, power=0.001, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion (wake-up)", vendor="Google", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.001, minDelay=-1} ╚═════════════════════════════════════════════ ...... ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397309,0.276610 hAcc=5.339 et=+26d18h10m58s41ms alt=48.859497549190124 vAcc=5.35719 vel=4.6526303 sAcc=0.2609681 bear=48.037277 bAcc=10.0] ╟─ Age: 249ms, time: 1702556453759 12-14 12:20:54.009 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:20:54.010 DEBUG [TSLocationManager d] Distance from last location: 20.554804, apparent speed: 4.110961 12-14 12:20:54.010 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:20:54.010 DEBUG [TSLocationManager a] Median accuracy: 5.339 12-14 12:20:54.011 DEBUG [TSLocationManager c] Odometer: 297601.25 12-14 12:20:54.012 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:20:54.014 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:20:54.015 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:20:54.015 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:20:54.015 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7340, eventCount: 0, sticky: true] 12-14 12:20:54.017 INFO [SQLiteLocationDAO persist] ✅ INSERT: ff4da3be-6a51-42d6-b10f-057f8f525485 12-14 12:20:54.031 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3006) ╠═════════════════════════════════════════════ 12-14 12:20:54.081 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7341, eventCount: 1] 12-14 12:20:54.081 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397309,0.276610 hAcc=5.339 et=+26d18h10m58s41ms alt=48.859497549190124 vAcc=5.35719 vel=4.6526303 sAcc=0.2609681 bear=48.037277 bAcc=10.0] ╟─ Age: 322ms, time: 1702556453759 12-14 12:20:54.082 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:20:54.082 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:20:54.082 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->20.0) 12-14 12:20:54.082 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.678 12-14 12:20:54.083 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:20:54.084 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7341, eventCount: 0, sticky: true] 12-14 12:20:54.097 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2959 12-14 12:20:54.099 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:20:54.099 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:20:54.171 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7342, eventCount: 1] 12-14 12:20:54.171 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397309,0.276610 hAcc=5.339 et=+26d18h10m58s41ms alt=48.859497549190124 vAcc=5.35719 vel=4.6526303 sAcc=0.2609681 bear=48.037277 bAcc=10.0] ╟─ Age: 412ms, time: 1702556453759 12-14 12:20:54.172 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:20:54.172 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:20:54.173 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.678 12-14 12:20:54.173 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7342, eventCount: 0, sticky: true] 12-14 12:20:54.935 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:20:54.943 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:20:54.945 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2959 12-14 12:20:57.976 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7343, eventCount: 1] 12-14 12:20:57.976 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397448,0.276866 hAcc=5.813 et=+26d18h11m2s41ms alt=47.850341279442596 vAcc=5.409996 vel=6.388048 sAcc=0.26895645 bear=49.015057 bAcc=10.0] ╟─ Age: 217ms, time: 1702556457760 12-14 12:20:57.977 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:20:57.977 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 12.135342 12-14 12:20:57.977 DEBUG [TSLocationManager d] Distance from last location: 23.287342, apparent speed: 5.8218355 12-14 12:20:57.977 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7343, eventCount: 0, sticky: true] 12-14 12:20:57.977 DEBUG [TSLocationManager a] Median accuracy: 5.813 12-14 12:20:57.977 DEBUG [TSLocationManager c] Odometer: 297624.53 12-14 12:20:57.982 INFO [SQLiteLocationDAO persist] ✅ INSERT: fbaad510-89d3-4064-acd0-55c5772e9717 12-14 12:20:57.984 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3007) ╠═════════════════════════════════════════════ 12-14 12:20:58.016 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2960 12-14 12:20:58.017 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:20:58.017 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:20:58.588 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:20:58.590 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:20:58.590 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2960 12-14 12:21:00.996 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7344, eventCount: 1] 12-14 12:21:00.997 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397577,0.277116 hAcc=4.363 et=+26d18h11m5s41ms alt=47.89756225583614 vAcc=5.5924315 vel=7.71888 sAcc=0.2703272 bear=49.01455 bAcc=10.0] ╟─ Age: 237ms, time: 1702556460759 12-14 12:21:00.997 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 35.936665 12-14 12:21:00.998 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:00.998 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:00.999 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:00.999 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:00.999 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 20.0->30.0) 12-14 12:21:01.000 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7344, eventCount: 0, sticky: true] 12-14 12:21:01.002 DEBUG [TSLocationManager d] Distance from last location: 22.35459, apparent speed: 7.4515295 12-14 12:21:01.003 DEBUG [TSLocationManager a] Median accuracy: 5.339 12-14 12:21:01.003 DEBUG [TSLocationManager c] Odometer: 297646.88 12-14 12:21:01.011 INFO [SQLiteLocationDAO persist] ✅ INSERT: 38650bc2-70f6-41e5-a457-a03d4141a2f1 12-14 12:21:01.015 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3008) ╠═════════════════════════════════════════════ 12-14 12:21:01.066 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7345, eventCount: 1] 12-14 12:21:01.066 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397577,0.277116 hAcc=4.363 et=+26d18h11m5s41ms alt=47.89756225583614 vAcc=5.5924315 vel=7.71888 sAcc=0.2703272 bear=49.01455 bAcc=10.0] ╟─ Age: 307ms, time: 1702556460759 12-14 12:21:01.068 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:01.068 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:01.071 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:01.077 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:01.078 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:01.078 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:01.079 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:01.079 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7345, eventCount: 0, sticky: true] 12-14 12:21:01.152 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7346, eventCount: 1] 12-14 12:21:01.153 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397577,0.277116 hAcc=4.363 et=+26d18h11m5s41ms alt=47.89756225583614 vAcc=5.5924315 vel=7.71888 sAcc=0.2703272 bear=49.01455 bAcc=10.0] ╟─ Age: 393ms, time: 1702556460759 12-14 12:21:01.153 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:01.153 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -8.726 12-14 12:21:01.153 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7346, eventCount: 0, sticky: true] 12-14 12:21:01.153 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2961 12-14 12:21:01.154 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:01.154 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->30.0) 12-14 12:21:01.155 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:01.155 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:01.155 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:01.176 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7347, eventCount: 1] 12-14 12:21:01.177 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397577,0.277116 hAcc=4.363 et=+26d18h11m5s41ms alt=47.89756225583614 vAcc=5.5924315 vel=7.71888 sAcc=0.2703272 bear=49.01455 bAcc=10.0] ╟─ Age: 417ms, time: 1702556460759 12-14 12:21:01.177 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -8.726 12-14 12:21:01.177 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7347, eventCount: 0, sticky: true] 12-14 12:21:01.177 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:01.177 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:02.562 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:02.566 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:02.567 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2961 12-14 12:21:05.002 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7348, eventCount: 1] 12-14 12:21:05.003 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397768,0.277491 hAcc=4.535 et=+26d18h11m9s41ms alt=47.08991737495407 vAcc=5.373768 vel=8.691396 sAcc=0.46464458 bear=50.000008 bAcc=2.954599] ╟─ Age: 243ms, time: 1702556464759 12-14 12:21:05.004 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:05.004 DEBUG [TSLocationManager d] Distance from last location: 33.18875, apparent speed: 8.299262 12-14 12:21:05.004 DEBUG [TSLocationManager a] Median accuracy: 5.427 12-14 12:21:05.005 DEBUG [TSLocationManager c] Odometer: 297680.06 12-14 12:21:05.006 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 24.290752 12-14 12:21:05.006 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7348, eventCount: 0, sticky: true] 12-14 12:21:05.013 INFO [SQLiteLocationDAO persist] ✅ INSERT: 9732a92c-8ceb-4bec-9717-db8c483a9abe 12-14 12:21:05.016 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3009) ╠═════════════════════════════════════════════ 12-14 12:21:05.050 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2962 12-14 12:21:05.053 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:05.053 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:05.607 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:05.616 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:05.617 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2962 12-14 12:21:07.996 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7349, eventCount: 1] 12-14 12:21:07.997 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.397948,0.277845 hAcc=5.036 et=+26d18h11m12s41ms alt=48.0082255488626 vAcc=5.488451 vel=10.62221 sAcc=0.3000685 bear=48.999977 bAcc=1.5322329] ╟─ Age: 237ms, time: 1702556467759 12-14 12:21:07.997 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:07.998 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 55.11997 12-14 12:21:07.998 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:07.998 DEBUG [TSLocationManager d] Distance from last location: 31.330215, apparent speed: 10.443405 12-14 12:21:07.998 DEBUG [TSLocationManager a] Median accuracy: 5.036 12-14 12:21:07.998 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:07.998 DEBUG [TSLocationManager c] Odometer: 297711.4 12-14 12:21:08.000 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:08.001 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7349, eventCount: 0, sticky: true] 12-14 12:21:08.007 INFO [SQLiteLocationDAO persist] ✅ INSERT: cd866a81-1b75-445c-bed9-c356107b6a81 12-14 12:21:08.012 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3010) ╠═════════════════════════════════════════════ 12-14 12:21:08.065 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2963 12-14 12:21:08.068 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:08.068 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:08.655 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:08.661 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:08.662 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2963 12-14 12:21:10.939 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7350, eventCount: 1] 12-14 12:21:10.939 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398150,0.278236 hAcc=4.756 et=+26d18h11m15s41ms alt=48.07371661324621 vAcc=5.7735953 vel=11.187338 sAcc=0.5193164 bear=49.987804 bAcc=2.532972] ╟─ Age: 180ms, time: 1702556470759 12-14 12:21:10.940 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:10.940 DEBUG [TSLocationManager d] Distance from last location: 34.844135, apparent speed: 11.614712 12-14 12:21:10.940 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:10.941 DEBUG [TSLocationManager a] Median accuracy: 4.756 12-14 12:21:10.941 DEBUG [TSLocationManager c] Odometer: 297746.25 12-14 12:21:10.943 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:10.944 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:10.945 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:10.945 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:10.946 INFO [SQLiteLocationDAO persist] ✅ INSERT: 6dc3a89e-dad7-4fdc-ad07-4d7ea988e2c0 12-14 12:21:10.946 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7350, eventCount: 0, sticky: true] 12-14 12:21:10.956 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3011) ╠═════════════════════════════════════════════ 12-14 12:21:10.986 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398150,0.278236 hAcc=4.756 et=+26d18h11m15s41ms alt=48.07371661324621 vAcc=5.7735953 vel=11.187338 sAcc=0.5193164 bear=49.987804 bAcc=2.532972] ╟─ Age: 227ms, time: 1702556470759 12-14 12:21:10.986 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7351, eventCount: 1] 12-14 12:21:10.987 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:10.987 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:10.987 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->30.0) 12-14 12:21:10.987 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -9.512 12-14 12:21:10.987 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7351, eventCount: 0, sticky: true] 12-14 12:21:10.988 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:11.010 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2964 12-14 12:21:11.011 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:11.012 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:11.064 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7352, eventCount: 1] 12-14 12:21:11.064 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398150,0.278236 hAcc=4.756 et=+26d18h11m15s41ms alt=48.07371661324621 vAcc=5.7735953 vel=11.187338 sAcc=0.5193164 bear=49.987804 bAcc=2.532972] ╟─ Age: 304ms, time: 1702556470759 12-14 12:21:11.064 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:11.064 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:11.064 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -9.512 12-14 12:21:11.064 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7352, eventCount: 0, sticky: true] 12-14 12:21:11.647 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:11.652 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:11.652 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2964 12-14 12:21:13.980 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7353, eventCount: 1] 12-14 12:21:13.981 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398368,0.278649 hAcc=5.164 et=+26d18h11m18s41ms alt=47.7186854939979 vAcc=5.5869236 vel=12.244951 sAcc=0.546765 bear=49.98706 bAcc=2.4345896] ╟─ Age: 221ms, time: 1702556473759 12-14 12:21:13.981 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:13.982 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 27.24708 12-14 12:21:13.982 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:13.982 DEBUG [TSLocationManager d] Distance from last location: 37.16708, apparent speed: 12.389027 12-14 12:21:13.982 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:13.982 DEBUG [TSLocationManager a] Median accuracy: 6.141 12-14 12:21:13.983 DEBUG [TSLocationManager c] Odometer: 297783.4 12-14 12:21:13.984 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:13.985 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7353, eventCount: 0, sticky: true] 12-14 12:21:13.990 INFO [SQLiteLocationDAO persist] ✅ INSERT: 1b0c671e-63fa-4798-8878-23030a2b52cc 12-14 12:21:13.996 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3012) ╠═════════════════════════════════════════════ 12-14 12:21:14.037 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2965 12-14 12:21:14.039 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:14.040 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:14.646 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:14.649 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:14.650 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2965 12-14 12:21:16.919 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7354, eventCount: 1] 12-14 12:21:16.920 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398597,0.279096 hAcc=5.479 et=+26d18h11m21s41ms alt=48.22949121465008 vAcc=5.5430083 vel=12.817211 sAcc=0.46946746 bear=50.999825 bAcc=2.0360641] ╟─ Age: 160ms, time: 1702556476759 12-14 12:21:16.920 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:16.920 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 30.0->40.0) 12-14 12:21:16.920 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:16.921 DEBUG [TSLocationManager d] Distance from last location: 39.61089, apparent speed: 13.208033 12-14 12:21:16.921 DEBUG [TSLocationManager a] Median accuracy: 6.141 12-14 12:21:16.921 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:16.921 DEBUG [TSLocationManager c] Odometer: 297823.03 12-14 12:21:16.923 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:16.923 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:16.923 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:16.924 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7354, eventCount: 0, sticky: true] 12-14 12:21:16.926 INFO [SQLiteLocationDAO persist] ✅ INSERT: 7a002597-6f7c-4f15-be53-14d935836204 12-14 12:21:16.928 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3013) ╠═════════════════════════════════════════════ 12-14 12:21:16.979 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7355, eventCount: 1] 12-14 12:21:16.980 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398597,0.279096 hAcc=5.479 et=+26d18h11m21s41ms alt=48.22949121465008 vAcc=5.5430083 vel=12.817211 sAcc=0.46946746 bear=50.999825 bAcc=2.0360641] ╟─ Age: 220ms, time: 1702556476759 12-14 12:21:16.980 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:16.980 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:16.980 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->40.0) 12-14 12:21:16.981 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.958 12-14 12:21:16.981 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7355, eventCount: 0, sticky: true] 12-14 12:21:16.981 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:17.027 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7356, eventCount: 1] 12-14 12:21:17.027 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398597,0.279096 hAcc=5.479 et=+26d18h11m21s41ms alt=48.22949121465008 vAcc=5.5430083 vel=12.817211 sAcc=0.46946746 bear=50.999825 bAcc=2.0360641] ╟─ Age: 267ms, time: 1702556476759 12-14 12:21:17.027 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.958 12-14 12:21:17.027 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:17.028 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7356, eventCount: 0, sticky: true] 12-14 12:21:17.028 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2966 12-14 12:21:17.028 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:17.029 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7357, eventCount: 1] 12-14 12:21:17.029 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398597,0.279096 hAcc=5.479 et=+26d18h11m21s41ms alt=48.22949121465008 vAcc=5.5430083 vel=12.817211 sAcc=0.46946746 bear=50.999825 bAcc=2.0360641] ╟─ Age: 269ms, time: 1702556476759 12-14 12:21:17.029 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.958 12-14 12:21:17.029 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7357, eventCount: 0, sticky: true] 12-14 12:21:17.029 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:17.029 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:17.034 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:17.034 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:17.567 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:17.571 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:17.572 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2966 12-14 12:21:19.921 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7358, eventCount: 1] 12-14 12:21:19.921 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.398846,0.279565 hAcc=5.329 et=+26d18h11m24s41ms alt=48.18925867674752 vAcc=5.492458 vel=14.012626 sAcc=0.47299743 bear=48.00013 bAcc=1.8809524] ╟─ Age: 162ms, time: 1702556479759 12-14 12:21:19.922 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 31.499662 12-14 12:21:19.922 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:19.922 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:19.922 DEBUG [TSLocationManager d] Distance from last location: 42.307663, apparent speed: 14.102554 12-14 12:21:19.923 DEBUG [TSLocationManager a] Median accuracy: 4.756 12-14 12:21:19.923 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:19.923 DEBUG [TSLocationManager c] Odometer: 297865.34 12-14 12:21:19.924 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:19.925 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7358, eventCount: 0, sticky: true] 12-14 12:21:19.937 INFO [SQLiteLocationDAO persist] ✅ INSERT: 6090dd8e-4bd8-45cb-9817-282eb784a095 12-14 12:21:19.940 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3014) ╠═════════════════════════════════════════════ 12-14 12:21:19.981 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2967 12-14 12:21:19.984 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:19.985 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:20.566 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:20.569 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:20.569 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2967 12-14 12:21:22.936 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7359, eventCount: 1] 12-14 12:21:22.936 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399134,0.280074 hAcc=5.238 et=+26d18h11m27s41ms alt=48.93748218379127 vAcc=5.2718735 vel=14.66311 sAcc=0.4598339 bear=48.99044 bAcc=1.7400866] ╟─ Age: 176ms, time: 1702556482759 12-14 12:21:22.937 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:22.937 DEBUG [TSLocationManager d] Distance from last location: 47.18205, apparent speed: 15.72735 12-14 12:21:22.937 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:22.938 DEBUG [TSLocationManager a] Median accuracy: 5.036 12-14 12:21:22.939 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:22.939 DEBUG [TSLocationManager c] Odometer: 297912.53 12-14 12:21:22.939 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:22.940 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:22.940 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:22.940 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7359, eventCount: 0, sticky: true] 12-14 12:21:22.946 INFO [SQLiteLocationDAO persist] ✅ INSERT: affc86e4-690d-4d82-85e4-6edfcadb5d82 12-14 12:21:22.948 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3015) ╠═════════════════════════════════════════════ 12-14 12:21:22.975 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7360, eventCount: 1] 12-14 12:21:22.975 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399134,0.280074 hAcc=5.238 et=+26d18h11m27s41ms alt=48.93748218379127 vAcc=5.2718735 vel=14.66311 sAcc=0.4598339 bear=48.99044 bAcc=1.7400866] ╟─ Age: 216ms, time: 1702556482759 12-14 12:21:22.976 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:22.976 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->40.0) 12-14 12:21:22.976 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:22.976 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.476 12-14 12:21:22.976 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7360, eventCount: 0, sticky: true] 12-14 12:21:22.977 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:23.059 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2968 12-14 12:21:23.063 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7361, eventCount: 1] 12-14 12:21:23.063 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399134,0.280074 hAcc=5.238 et=+26d18h11m27s41ms alt=48.93748218379127 vAcc=5.2718735 vel=14.66311 sAcc=0.4598339 bear=48.99044 bAcc=1.7400866] ╟─ Age: 303ms, time: 1702556482759 12-14 12:21:23.063 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:23.063 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:23.063 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.476 12-14 12:21:23.063 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7361, eventCount: 0, sticky: true] 12-14 12:21:23.066 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:23.067 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:23.650 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:23.658 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:23.660 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2968 12-14 12:21:25.942 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7362, eventCount: 1] 12-14 12:21:25.943 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399419,0.280634 hAcc=5.19 et=+26d18h11m30s41ms alt=48.37155035007406 vAcc=5.0326 vel=15.72522 sAcc=0.46021912 bear=48.00965 bAcc=1.6249609] ╟─ Age: 183ms, time: 1702556485759 12-14 12:21:25.943 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 39.165386 12-14 12:21:25.943 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:25.943 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:25.944 DEBUG [TSLocationManager d] Distance from last location: 49.593384, apparent speed: 16.531128 12-14 12:21:25.944 DEBUG [TSLocationManager a] Median accuracy: 4.756 12-14 12:21:25.944 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:25.944 DEBUG [TSLocationManager c] Odometer: 297962.12 12-14 12:21:25.947 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:25.948 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7362, eventCount: 0, sticky: true] 12-14 12:21:25.952 INFO [SQLiteLocationDAO persist] ✅ INSERT: ed0457f8-f34d-4cbe-a416-c446dc34ad08 12-14 12:21:25.955 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3016) ╠═════════════════════════════════════════════ 12-14 12:21:26.005 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2969 12-14 12:21:26.008 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:26.008 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:26.532 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:26.540 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:26.541 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2969 12-14 12:21:28.907 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7363, eventCount: 1] 12-14 12:21:28.908 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399709,0.281210 hAcc=5.136 et=+26d18h11m33s41ms alt=48.89685618571087 vAcc=5.6650186 vel=16.366793 sAcc=0.4318247 bear=49.0001 bAcc=1.4738266] ╟─ Age: 148ms, time: 1702556488759 12-14 12:21:28.908 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:28.908 DEBUG [TSLocationManager d] Distance from last location: 50.79894, apparent speed: 16.93298 12-14 12:21:28.908 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:28.909 DEBUG [TSLocationManager a] Median accuracy: 5.164 12-14 12:21:28.909 DEBUG [TSLocationManager c] Odometer: 298012.94 12-14 12:21:28.910 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:28.911 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:28.912 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:28.912 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:28.912 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7363, eventCount: 0, sticky: true] 12-14 12:21:28.915 INFO [SQLiteLocationDAO persist] ✅ INSERT: 5df56eb2-f1aa-4e1f-a801-12929e73f53e 12-14 12:21:28.918 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3017) ╠═════════════════════════════════════════════ 12-14 12:21:28.976 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7364, eventCount: 1] 12-14 12:21:28.976 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399709,0.281210 hAcc=5.136 et=+26d18h11m33s41ms alt=48.89685618571087 vAcc=5.6650186 vel=16.366793 sAcc=0.4318247 bear=49.0001 bAcc=1.4738266] ╟─ Age: 216ms, time: 1702556488759 12-14 12:21:28.976 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:28.976 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.272 12-14 12:21:28.977 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7364, eventCount: 0, sticky: true] 12-14 12:21:28.978 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:28.978 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->40.0) 12-14 12:21:28.979 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:29.034 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2970 12-14 12:21:29.035 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7365, eventCount: 1] 12-14 12:21:29.036 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.399709,0.281210 hAcc=5.136 et=+26d18h11m33s41ms alt=48.89685618571087 vAcc=5.6650186 vel=16.366793 sAcc=0.4318247 bear=49.0001 bAcc=1.4738266] ╟─ Age: 276ms, time: 1702556488759 12-14 12:21:29.036 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.272 12-14 12:21:29.036 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:29.036 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7365, eventCount: 0, sticky: true] 12-14 12:21:29.036 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:29.037 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:29.037 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:29.649 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:29.655 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:29.657 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2970 12-14 12:21:31.960 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7366, eventCount: 1] 12-14 12:21:31.961 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400010,0.281821 hAcc=5.015 et=+26d18h11m36s41ms alt=48.40745006193551 vAcc=5.5839334 vel=17.225473 sAcc=0.4522853 bear=49.999985 bAcc=1.4461081] ╟─ Age: 201ms, time: 1702556491759 12-14 12:21:31.961 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:31.961 DEBUG [TSLocationManager d] Distance from last location: 53.402996, apparent speed: 17.800999 12-14 12:21:31.961 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 43.251995 12-14 12:21:31.962 DEBUG [TSLocationManager a] Median accuracy: 5.479 12-14 12:21:31.962 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:31.962 DEBUG [TSLocationManager c] Odometer: 298066.34 12-14 12:21:31.962 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:31.965 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:31.966 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7366, eventCount: 0, sticky: true] 12-14 12:21:31.968 INFO [SQLiteLocationDAO persist] ✅ INSERT: 40d1f971-539e-4320-a919-d4399ce516ba 12-14 12:21:31.971 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3018) ╠═════════════════════════════════════════════ 12-14 12:21:32.009 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2971 12-14 12:21:32.012 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:32.012 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:32.652 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:32.656 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:32.658 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2971 12-14 12:21:34.933 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7367, eventCount: 1] 12-14 12:21:34.934 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400319,0.282430 hAcc=5.05 et=+26d18h11m39s41ms alt=47.93265726084765 vAcc=5.159879 vel=17.85273 sAcc=0.4494071 bear=50.990845 bAcc=1.4054513] ╟─ Age: 174ms, time: 1702556494759 12-14 12:21:34.935 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:34.935 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 40.0->50.0) 12-14 12:21:34.937 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:34.940 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:34.941 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:34.942 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:34.943 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:34.943 DEBUG [TSLocationManager d] Distance from last location: 53.807564, apparent speed: 17.935856 12-14 12:21:34.944 DEBUG [TSLocationManager a] Median accuracy: 5.329 12-14 12:21:34.944 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7367, eventCount: 0, sticky: true] 12-14 12:21:34.944 DEBUG [TSLocationManager c] Odometer: 298120.16 12-14 12:21:34.952 INFO [SQLiteLocationDAO persist] ✅ INSERT: 27d08e69-4c5a-49a0-8e02-7c6719a0e1b1 12-14 12:21:34.955 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3019) ╠═════════════════════════════════════════════ 12-14 12:21:35.017 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2972 12-14 12:21:35.019 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:35.019 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:35.030 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7368, eventCount: 1] 12-14 12:21:35.030 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400319,0.282430 hAcc=5.05 et=+26d18h11m39s41ms alt=47.93265726084765 vAcc=5.159879 vel=17.85273 sAcc=0.4494071 bear=50.990845 bAcc=1.4054513] ╟─ Age: 270ms, time: 1702556494759 12-14 12:21:35.031 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:35.031 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.1 12-14 12:21:35.031 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7368, eventCount: 0, sticky: true] 12-14 12:21:35.032 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:35.032 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->50.0) 12-14 12:21:35.032 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:35.084 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7369, eventCount: 1] 12-14 12:21:35.084 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400319,0.282430 hAcc=5.05 et=+26d18h11m39s41ms alt=47.93265726084765 vAcc=5.159879 vel=17.85273 sAcc=0.4494071 bear=50.990845 bAcc=1.4054513] ╟─ Age: 324ms, time: 1702556494759 12-14 12:21:35.084 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -10.1 12-14 12:21:35.084 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7369, eventCount: 0, sticky: true] 12-14 12:21:35.084 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:35.084 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:36.015 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:36.022 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:36.023 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2972 12-14 12:21:38.002 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7370, eventCount: 1] 12-14 12:21:38.003 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400637,0.283056 hAcc=5.417 et=+26d18h11m42s41ms alt=48.90168322021438 vAcc=5.75178 vel=18.277779 sAcc=0.4951661 bear=49.01097 bAcc=1.4895725] ╟─ Age: 243ms, time: 1702556497759 12-14 12:21:38.004 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: 44.88892 12-14 12:21:38.004 DEBUG [TrackingService b] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 12-14 12:21:38.004 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 12-14 12:21:38.006 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63000ms (jobID: -18513055) 12-14 12:21:38.007 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7370, eventCount: 0, sticky: true] 12-14 12:21:38.007 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:38.007 DEBUG [TSLocationManager d] Distance from last location: 55.35592, apparent speed: 18.451973 12-14 12:21:38.007 DEBUG [TSLocationManager c] Odometer: 298175.5 12-14 12:21:38.007 DEBUG [TSLocationManager a] Median accuracy: 5.238 12-14 12:21:38.016 INFO [SQLiteLocationDAO persist] ✅ INSERT: 0b3f1ceb-e9bf-4106-b559-44e209f9207e 12-14 12:21:38.023 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3020) ╠═════════════════════════════════════════════ 12-14 12:21:38.072 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2973 12-14 12:21:38.076 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:38.076 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:38.757 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:38.764 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:38.765 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2973 12-14 12:21:41.004 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7371, eventCount: 1] 12-14 12:21:41.005 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400962,0.283691 hAcc=6.143 et=+26d18h11m45s41ms alt=48.72307483564094 vAcc=5.6776013 vel=19.086813 sAcc=0.54280597 bear=49.000057 bAcc=1.5701022] ╟─ Age: 245ms, time: 1702556500759 12-14 12:21:41.005 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:41.006 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 600000000ms (jobID: 2059034116) 12-14 12:21:41.006 DEBUG [TSLocationManager d] Distance from last location: 56.41301, apparent speed: 18.804337 12-14 12:21:41.007 DEBUG [TSLocationManager a] Median accuracy: 5.19 12-14 12:21:41.007 DEBUG [TSLocationManager c] Odometer: 298231.9 12-14 12:21:41.008 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 12-14 12:21:41.009 INFO [TSLocationManager d] 🔴 Location-services: OFF 12-14 12:21:41.010 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 12-14 12:21:41.011 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 12-14 12:21:41.012 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7371, eventCount: 0, sticky: true] 12-14 12:21:41.015 INFO [SQLiteLocationDAO persist] ✅ INSERT: fd52be94-7f63-4674-a8cf-4f484e242d47 12-14 12:21:41.025 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 3021) ╠═════════════════════════════════════════════ 12-14 12:21:41.128 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7372, eventCount: 1] 12-14 12:21:41.129 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400962,0.283691 hAcc=6.143 et=+26d18h11m45s41ms alt=48.72307483564094 vAcc=5.6776013 vel=19.086813 sAcc=0.54280597 bear=49.000057 bAcc=1.5701022] ╟─ Age: 368ms, time: 1702556500759 12-14 12:21:41.129 DEBUG [TrackingService b] Received stoppedAt location 12-14 12:21:41.129 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:41.129 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -12.286 12-14 12:21:41.129 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7372, eventCount: 0, sticky: true] 12-14 12:21:41.129 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->50.0) 12-14 12:21:41.129 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2974 12-14 12:21:41.129 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:41.131 DEBUG [SQLiteLocationDAO first] ✅ Locked 1 records 12-14 12:21:41.131 INFO [HttpService a] 🔵 HTTP POST: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:41.153 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7373, eventCount: 1] 12-14 12:21:41.154 DEBUG [TrackingService c] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 52.400962,0.283691 hAcc=6.143 et=+26d18h11m45s41ms alt=48.72307483564094 vAcc=5.6776013 vel=19.086813 sAcc=0.54280597 bear=49.000057 bAcc=1.5701022] ╟─ Age: 394ms, time: 1702556500759 12-14 12:21:41.154 INFO [TrackingService b] ℹ️ Distance from stoppedAtLocation: -12.286 12-14 12:21:41.154 DEBUG [AbstractService a] ⚙️︎ FINISH [TrackingService startId: 7373, eventCount: 0, sticky: true] 12-14 12:21:41.154 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 12-14 12:21:41.156 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 12-14 12:21:41.668 WARN [HttpService$f onResponse] ⚠️ Response: 500, 12-14 12:21:41.674 DEBUG [SQLiteLocationDAO unlock] ✅ UNLOCKED: 0448f7f6-6964-40e2-a6e1-5094151b0666 12-14 12:21:41.674 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2974 12-14 12:21:44.013 DEBUG [AbstractService a] 🎾 start [TrackingService startId: 7374, eventCount: 1] 12-14 12:21:44.014 DEBUG [TrackingService c] ```
christocracy commented 9 months ago

Use .emailLog to fetch entire log file then append to this issue (drag drop the file to attach).

Search API docs "Logger" to learn how to use .emailLog.

vonkanehoffen commented 8 months ago

Here's a log :-)

background-geolocation - MCR to Norwich in office.log

Interestingly enough, on this journey I'm now seeing different activity.types and Motion Transition Results so perhaps I was wrong about the original issue. However there are large parts of the journey where I was on a train and RNBG was reporting still with confidence 100 like it was when I originally raised this issue:

Screenshot 2024-01-08 at 16 18 10

Could the problem just be the confidence score? It always shows 100 but surely that can't be what the device is reporting? Can't see any other RN package that would allow me to check that though?

christocracy commented 8 months ago

The Motion api is completely handled by the OS. It is a simple api with nothing more than an "on/off switch".

Once turned ON, the motion api begins firing events. The plug-in merely captures those events and sends them to you exactly as received. There is no way to configure or "tune" the motion api. It completely depends upon the quality of the sensors on the device (accelerometer, gyroscope, magnetometer). The data from those 3 sensors are presumably aggregated and fed into some sort of mathematical model with proprietary code within the OS.

vonkanehoffen commented 8 months ago

Is what's being supplied by the OS being shown correctly in the Location object though? I just tried this on a colleague's iPhone and confidence showed various numbers throughout a journey, whereas on my Android device it's always 100. Some bug just with the Android implementation maybe?

christocracy commented 8 months ago

Android is always 100%. Android doesn't provide confidence so it's hard-coded to 100%.

vonkanehoffen commented 8 months ago

Oh right. I presumed it was this API RNBG would be using? https://developers.google.com/android/reference/com/google/android/gms/location/DetectedActivity#getConfidence()

The detected activity of the device with an an associated confidence.

It's something else?

christocracy commented 8 months ago

That is not the api it uses. It uses the more modern "Activity Transition api"

vonkanehoffen commented 8 months ago

Ah well that explains it then! FYI @Herostwist

Thanks for your help @christocracy :-)