transistorsoft / cordova-background-geolocation-lt

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.
http://www.transistorsoft.com/shop/products/cordova-background-geolocation
Other
655 stars 277 forks source link

Locations not logged through out traveled distance. #912

Closed Gurjit-ONEBCG closed 5 years ago

Gurjit-ONEBCG commented 5 years ago

service stopped to capturing location after 7 miles But actual distance was traveled of 25 miles

Actual Behavior

Location not logged throughout route or till I called the stop method

Steps to Reproduce

1.Call the start method 2.Terminate/kill the app 3.turn of the internet 4.travel 25 miles

  1. Turn on the internet
  2. Call the stop method

Context

I wanted to log all locations in plugin storage until I call getlocation method

christocracy commented 5 years ago

Logs.

Gurjit-ONEBCG commented 5 years ago

Logs.

Sorry I didn't implemented getLog method yet. I will come back with another try and log.

image

This was the route I traveled, as I see initially location logged perfectly but later no location logged. The end location captured is with getcurrentlocation method of gelocation plugin.

Same time I also used iPhone 6, and the location were logged correct in iOS

christocracy commented 5 years ago

emailLog is convenient.

Gurjit-ONEBCG commented 5 years ago

I tried another route and again service stopped after some interval of time. This time I used Nokia 6

Steps I followed. 1) Started the service. 2) Turned off the internet 3) Traveled <1 miles 4) stayed for 30 mins at least 5) Traveled another 4 miles 6) Turned on the internet 7) Called stop method

Logs length is too big to put them here. Please find them here https://docs.google.com/document/d/1R7rvgu9My8gBtXOs3YVM0h3W3hfgL7wUVkRO8qnS854/edit?usp=sharing

Gurjit-ONEBCG commented 5 years ago

image

Gurjit-ONEBCG commented 5 years ago

Another case locations not logged until I put the app in background. Please find logs here https://docs.google.com/document/d/1gNGuUV4AK5h0bJE8Ph-RPXrPoKIhph2lgAndTzDQmHA/edit

christocracy commented 5 years ago
Gurjit-ONEBCG commented 5 years ago
  • You need to tell me timestamps in the logs that you're interested in.

  • I see you've configured enableHeadless: true. Have you implemented the BackgroundGeolocationHeadlessTask.java?

  • BackgroundGeolocationHeadlessTask.java

No I haven't implemented BackgroundGeolocationHeadlessTask.java, I supposed to this will help to trigger event BackgroundGeolocation.onHeartbeat
even when the app is terminated. Because its definition states

Set to true to enable "Headless" mode when the user terminates the application. In this mode, you

can respond to all the plugin's events in the native Android environment

Gurjit-ONEBCG commented 5 years ago

Another case locations not logged until I put the app in background. Please find logs here https://docs.google.com/document/d/1gNGuUV4AK5h0bJE8Ph-RPXrPoKIhph2lgAndTzDQmHA/edit

These all logs are of single start and stop

christocracy commented 5 years ago

If you haven't configured the headless-task, DO NOT enableHeadless: true.

Gurjit-ONEBCG commented 5 years ago

I tried another route and again service stopped after some interval of time. This time I used Nokia 6

Steps I followed.

  1. Started the service.
  2. Turned off the internet
  3. Traveled <1 miles
  4. stayed for 30 mins at least
  5. Traveled another 4 miles
  6. Turned on the internet
  7. Called stop method

Logs length is too big to put them here. Please find them here https://docs.google.com/document/d/1R7rvgu9My8gBtXOs3YVM0h3W3hfgL7wUVkRO8qnS854/edit?usp=sharing

Thanks for reply Chris!

I have removed the unwanted timestamp log from top. Please see the url again https://docs.google.com/document/d/1R7rvgu9My8gBtXOs3YVM0h3W3hfgL7wUVkRO8qnS854/edit

Gurjit-ONEBCG commented 5 years ago

If you haven't configured the headless-task, DO NOT enableHeadless: true.

Okey, I will remove this property in my case, Was this the reason service not logged locations?

christocracy commented 5 years ago

Was this the reason service not logged locations?

I have no idea. Try it and see.

Gurjit-ONEBCG commented 5 years ago

Was this the reason service not logged locations?

I have no idea. Try it and see.

In logs all the errors are of headless mode. Can you please suggest anything if you have checked logs. Thanks

christocracy commented 5 years ago

I see nothing wrong in your logs. You need to tell me the exact time interval where you expected locations but didn't receive them.

Gurjit-ONEBCG commented 5 years ago

I see nothing wrong in your logs. You need to tell me the exact time interval where you expected locations but didn't receive them. I started 8:13 and ended 9:4

Hi Chris, I have removed the enableheadless property and tried another route.

No location logged between 8:18 to 8:45 No locaiton logged between 8:47 to 9:04

Here are the latest logs

║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": true, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": {}, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": false, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "", "useSignificantChangesOnly": false, "enabled": false, "schedulerEnabled": false, "trackingMode": 1, "odometer": 0, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="BMA2X2 Accelerometer/Temperature/Double-tap", vendor="BOSCH", version=1, type=1, maxRange=156.9064, resolution=0.01914978, power=0.13, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="BMG160 Gyroscope", vendor="BOSCH", version=1, type=4, maxRange=34.906586, resolution=0.0010681152, power=5.0, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="BMM150 Magnetometer", vendor="BOSCH", version=1, type=2, maxRange=0.0, resolution=0.0, power=0.5, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.12998962, minDelay=-1} ╚═════════════════════════════════════════════ 04-24 08:13:28.933 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-24 08:13:28.970 DEBUG [c a] ✅ Opened database 04-24 08:13:28.978 DEBUG [c prune] ℹ️ PRUNE -14 days 04-24 08:13:29.051 DEBUG [a g] ✅ Opened database 04-24 08:13:29.098 DEBUG [TSConfig c] ℹ️ Persist config 04-24 08:13:29.160 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-24 08:13:29.175 DEBUG [b a] ℹ️ LocationAuthorization: Permission granted 04-24 08:13:29.231 INFO [TSGeofenceManager stopMonitoringSignificantLocationChanges] 🔴 Stop monitoring significant location changes 04-24 08:13:29.368 INFO [HeartbeatService b] 🎾 Start heartbeat (5s) 04-24 08:13:29.385 INFO [TrackingService a] 🔵 setPace: false → false 04-24 08:13:29.449 DEBUG [b a] ℹ️ LocationAuthorization: Permission granted 04-24 08:13:29.483 INFO [ActivityRecognitionService a] 🎾 Start motion-activity updates 04-24 08:13:29.502 INFO [TSGeofenceManager start] 🎾 Start monitoring geofences 04-24 08:13:29.663 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-24 08:13:29.734 DEBUG [a c] 🎾 Start monitoring powersave changes 04-24 08:13:29.775 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-24 08:13:29.803 DEBUG [ActivityRecognitionService a] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-24 08:13:29.817 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-24 08:13:29.891 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-24 08:13:29.929 DEBUG [TSConfig c] ℹ️ Persist config 04-24 08:13:30.002 INFO [HeartbeatService a] 🔴 Stop heartbeat 04-24 08:13:30.033 INFO [TrackingService a] 🔵 setPace: false → true 04-24 08:13:30.054 DEBUG [b a] ℹ️ LocationAuthorization: Permission granted 04-24 08:13:30.099 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 08:13:30.975 DEBUG [TrackingService b] ╔═════════════════════════════════════════════ ║ TrackingService: MotionChangeRequest #2 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714077,76.749768 hAcc=16 et=+7d12h56m43s134ms vAcc=??? sAcc=??? bAcc=???], age: 85ms, time: 1556073810884 04-24 08:13:30.987 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: true 04-24 08:13:30.996 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 15.711 04-24 08:13:31.204 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-24 08:13:31.215 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-24 08:13:31.232 INFO [c persist] ✅ INSERT: 424b84c7-8fe9-4c96-87d4-7afd732d9805 04-24 08:13:31.233 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-24 08:13:31.247 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:13:31.269 INFO [TSLocationManager removeLocationUpdates] 🔴 Location-services: OFF 04-24 08:13:31.275 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-24 08:13:31.285 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-24 08:13:31.321 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714077,76.749768 hAcc=16 et=+7d12h56m43s134ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 430ms, time: 1556073810884 04-24 08:13:31.330 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:13:31.336 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-24 08:13:31.342 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-24 08:13:31.359 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -31.422 04-24 08:13:31.383 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 1 04-24 08:13:31.397 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:13:31.402 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:13:31.446 INFO [TrackingService c] ℹ️ Location availability: true 04-24 08:13:32.507 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:13:32.517 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:13:32.529 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:13:32.535 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 1 04-24 08:13:32.543 DEBUG [BackgroundTaskService onDestroy] 04-24 08:13:32.746 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714076,76.749769 hAcc=15 et=+7d12h56m44s835ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 156ms, time: 1556073812584 04-24 08:13:32.762 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:13:32.768 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 15.4945 04-24 08:13:32.830 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -30.938263 04-24 08:13:32.834 INFO [c persist] ✅ INSERT: 2040f56f-8a5f-4ec2-b2fc-181f0414de31 04-24 08:13:32.848 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:13:32.877 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 2 04-24 08:13:32.893 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:13:32.900 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:13:33.113 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:13:33.123 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:13:33.137 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:13:33.143 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2 04-24 08:13:33.151 DEBUG [BackgroundTaskService onDestroy] 04-24 08:13:40.509 DEBUG [BackgroundGeolocation c] 🔴 Cleared callbacks 04-24 08:13:40.534 INFO [BackgroundGeolocation onActivityDestroy] ╔═════════════════════════════════════════════ ║ MainActivity was destroyed ╠═════════════════════════════════════════════ ╟─ stopOnTerminate: false ╟─ enabled: true 04-24 08:17:08.912 INFO [TrackingService c] ℹ️ Location availability: false 04-24 08:17:10.185 INFO [TrackingService c] ℹ️ Location availability: true 04-24 08:17:16.305 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714210,76.749800 hAcc=32 et=+7d13h0m28s464ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 84ms, time: 1556074036214 04-24 08:17:16.313 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:17:16.318 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 15.278 04-24 08:17:16.350 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:16.421 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -32.203926 04-24 08:17:16.429 INFO [c persist] ✅ INSERT: 6523276f-198f-4128-8ea1-91a2b031267e 04-24 08:17:16.443 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:17:16.469 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 3 04-24 08:17:16.482 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:17:16.488 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:17:17.277 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:17:17.289 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:17:17.289 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:17.308 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:17:17.314 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 3 04-24 08:17:17.321 DEBUG [BackgroundTaskService onDestroy] 04-24 08:17:25.696 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714071,76.749811 hAcc=25 et=+7d13h0m37s889ms alt=259.65234375 vel=0.18 bear=201.0 vAcc=64 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 53ms, time: 1556074048000 04-24 08:17:25.701 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:17:25.706 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 20.369 04-24 08:17:25.724 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:25.770 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -37.07042 04-24 08:17:25.775 INFO [c persist] ✅ INSERT: a5aebd53-18c9-4fe8-8611-f92ec7605d14 04-24 08:17:25.789 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:17:25.827 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 4 04-24 08:17:25.841 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:17:26.272 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:17:26.530 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:17:26.540 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:26.540 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:17:26.557 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:17:26.563 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 4 04-24 08:17:26.571 DEBUG [BackgroundTaskService onDestroy] 04-24 08:17:27.712 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713968,76.749807 hAcc=26 et=+7d13h0m39s892ms alt=258.85302734375 vel=0.53 bear=143.0 vAcc=48 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 63ms, time: 1556074050000 04-24 08:17:27.721 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:17:27.728 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 25.46 04-24 08:17:27.753 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:27.803 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -29.258558 04-24 08:17:27.809 INFO [c persist] ✅ INSERT: e21ed5d1-28fa-4341-8927-fd5980797222 04-24 08:17:27.822 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:17:27.858 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 5 04-24 08:17:27.875 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:17:27.881 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:17:28.143 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:17:28.151 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:17:28.153 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:28.473 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:17:28.502 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 5 04-24 08:17:28.520 DEBUG [BackgroundTaskService onDestroy] 04-24 08:17:37.735 INFO [TrackingService c] ℹ️ Location availability: false 04-24 08:17:38.959 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713874,76.749817 hAcc=42 et=+7d13h0m51s90ms alt=259.1019287109375 vAcc=64 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 110ms, time: 1556074058840 04-24 08:17:38.968 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:17:38.974 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 25.8185 04-24 08:17:38.995 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:39.040 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -35.225967 04-24 08:17:39.045 INFO [c persist] ✅ INSERT: 6ede889c-2e03-4ae5-b59b-41573ef1b500 04-24 08:17:39.065 INFO [TrackingService c] ℹ️ Location availability: true 04-24 08:17:39.069 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:17:39.102 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 6 04-24 08:17:39.117 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:17:39.124 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:17:39.351 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:17:39.358 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:17:39.360 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:17:39.370 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:17:39.375 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 6 04-24 08:17:39.383 DEBUG [BackgroundTaskService onDestroy] 04-24 08:18:02.292 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714139,76.749770 hAcc=23 et=+7d13h1m14s423ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 113ms, time: 1556074082172 04-24 08:18:02.300 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:18:02.305 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 29.62343, apparent speed: 1.2879752 04-24 08:18:02.313 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 25.46 04-24 08:18:02.332 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:02.387 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -31.525455 04-24 08:18:02.393 INFO [c persist] ✅ INSERT: 161c540d-1965-4936-b218-26642bc3390b 04-24 08:18:02.407 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:18:02.445 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 7 04-24 08:18:02.459 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:18:02.466 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:18:02.715 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:18:02.723 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:18:02.725 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:02.736 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:18:02.741 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 7 04-24 08:18:02.749 DEBUG [BackgroundTaskService onDestroy] 04-24 08:18:28.733 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714171,76.750077 hAcc=12 et=+7d13h1m40s899ms alt=304.40863037109375 vel=1.93 bear=69.0 vAcc=24 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 76ms, time: 1556074111000 04-24 08:18:28.741 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:18:28.746 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 29.54538, apparent speed: 1.1363608 04-24 08:18:28.751 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 24.0755 04-24 08:18:28.773 DEBUG [TSLocationManager incrementOdometer] Odometer: 31.319956 04-24 08:18:28.792 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:28.835 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: 3.1399555 04-24 08:18:28.840 INFO [c persist] ✅ INSERT: 4313f99d-63e5-4478-8d6b-bcf7337b1737 04-24 08:18:28.850 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:18:28.873 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 8 04-24 08:18:28.886 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:18:28.891 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:18:29.101 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:18:29.109 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:18:29.110 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:29.121 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:18:29.126 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 8 04-24 08:18:29.135 DEBUG [BackgroundTaskService onDestroy] 04-24 08:18:29.720 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714227,76.750162 hAcc=10 et=+7d13h1m41s892ms alt=281.184326171875 vel=2.26 bear=114.0 vAcc=16 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 72ms, time: 1556074112000 04-24 08:18:29.727 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:18:29.734 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 10.331745, apparent speed: Infinity 04-24 08:18:29.739 WARN [TSLocationManager locationIsInvalid] ⚠️ Detected invalid location (teleport) with apparent speed of Infinity meters/s (distance from last location: 10.331745 meters, dt: 992.0) 04-24 08:18:29.744 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: 15.958909 04-24 08:18:31.368 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: STOP_TIMEOUT ╠═════════════════════════════════════════════ 04-24 08:18:31.387 DEBUG [TSConfig c] ℹ️ Persist config 04-24 08:18:31.407 INFO [TSLocationManager removeLocationUpdates] 🔴 Location-services: OFF 04-24 08:18:31.420 INFO [TSGeofenceManager stopMonitoringSignificantLocationChanges] 🔴 Stop monitoring significant location changes 04-24 08:18:31.428 INFO [HeartbeatService b] 🎾 Start heartbeat (5s) 04-24 08:18:31.439 INFO [TrackingService a] 🔵 setPace: true → false 04-24 08:18:31.451 DEBUG [b a] ℹ️ LocationAuthorization: Permission granted 04-24 08:18:32.748 DEBUG [TrackingService b] ╔═════════════════════════════════════════════ ║ TrackingService: MotionChangeRequest #3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714239,76.750265 hAcc=4 et=+7d13h1m44s930ms alt=286.69732666015625 vel=2.8 bear=59.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 57ms, time: 1556074114536 04-24 08:18:32.756 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-24 08:18:32.760 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 22.691 04-24 08:18:32.781 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:32.789 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:32.841 INFO [c persist] ✅ INSERT: b180908e-fd92-4ea8-83e7-ed17fa2bf227 04-24 08:18:32.842 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0 meters) 04-24 08:18:32.852 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 08:18:32.866 INFO [ActivityRecognitionService a] 🎾 Start motion-activity updates 04-24 08:18:32.912 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 9 04-24 08:18:32.921 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 08:18:32.924 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 08:18:32.931 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 08:18:33.022 DEBUG [ActivityRecognitionService a] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-24 08:18:33.036 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:33.113 DEBUG [ActivityRecognitionService a] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-24 08:18:33.126 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:33.146 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-24 08:18:33.338 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 08:18:33.345 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 08:18:33.346 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:18:33.357 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 08:18:33.362 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 9 04-24 08:18:33.372 DEBUG [BackgroundTaskService onDestroy] 04-24 08:18:47.426 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:18:47.500 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:23:55.935 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:23:56.043 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:31:50.936 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? false ╠═════════════════════════════════════════════ 04-24 08:31:50.981 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:33:08.090 INFO [TSConfig print] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": true, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": { "guid": "a654cf78-6120-4891-ab57-98e8dd765677" }, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": false, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "https:\/\/dcipreprodapi.onebcg.com\/\/api\/Common\/LogHttpLocationsData", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": false, "trackingMode": 1, "odometer": 31.319955825805664, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="BMA2X2 Accelerometer/Temperature/Double-tap", vendor="BOSCH", version=1, type=1, maxRange=156.9064, resolution=0.01914978, power=0.13, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="BMG160 Gyroscope", vendor="BOSCH", version=1, type=4, maxRange=34.906586, resolution=0.0010681152, power=5.0, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="BMM150 Magnetometer", vendor="BOSCH", version=1, type=2, maxRange=0.0, resolution=0.0, power=0.5, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.12998962, minDelay=-1} ╚═════════════════════════════════════════════ 04-24 08:33:08.157 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:33:08.246 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@37fd84f 04-24 08:33:08.285 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-24 08:33:08.326 DEBUG [c a] ✅ Opened database 04-24 08:33:08.337 DEBUG [c prune] ℹ️ PRUNE -14 days 04-24 08:33:08.413 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-24 08:33:08.444 DEBUG [a g] ✅ Opened database 04-24 08:33:08.467 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-24 08:33:08.476 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:33:08.488 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-24 08:33:08.509 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:33:55.919 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:33:56.023 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@b8c5772 04-24 08:33:56.047 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:34:41.781 INFO [TSConfig print] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": true, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": { "guid": "a654cf78-6120-4891-ab57-98e8dd765677" }, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": false, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "https:\/\/dcipreprodapi.onebcg.com\/\/api\/Common\/LogHttpLocationsData", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": false, "trackingMode": 1, "odometer": 31.319955825805664, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="BMA2X2 Accelerometer/Temperature/Double-tap", vendor="BOSCH", version=1, type=1, maxRange=156.9064, resolution=0.01914978, power=0.13, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="BMG160 Gyroscope", vendor="BOSCH", version=1, type=4, maxRange=34.906586, resolution=0.0010681152, power=5.0, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="BMM150 Magnetometer", vendor="BOSCH", version=1, type=2, maxRange=0.0, resolution=0.0, power=0.5, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.12998962, minDelay=-1} ╚═════════════════════════════════════════════ 04-24 08:34:41.852 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:34:41.998 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@37fd84f 04-24 08:34:42.048 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-24 08:34:42.075 DEBUG [c a] ✅ Opened database 04-24 08:34:42.084 DEBUG [c prune] ℹ️ PRUNE -14 days 04-24 08:34:42.162 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-24 08:34:42.192 DEBUG [a g] ✅ Opened database 04-24 08:34:42.209 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-24 08:34:42.223 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:34:42.237 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-24 08:34:42.289 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:35:37.788 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:35:37.893 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@12512d4 04-24 08:35:37.910 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:36:36.508 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:36:36.643 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@b657d1f 04-24 08:36:36.666 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:38:03.610 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:38:03.675 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@ba4e196 04-24 08:38:03.689 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:38:48.205 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:38:48.267 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@4176ce9 04-24 08:38:48.285 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:39:43.122 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:39:43.188 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@aaf0e88 04-24 08:39:43.206 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:40:58.339 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:40:58.400 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@ff6c3a3 04-24 08:40:58.413 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:41:58.369 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:41:58.446 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@1ac0e2a 04-24 08:41:58.459 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:43:10.160 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:43:10.251 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@c5347cd 04-24 08:43:10.285 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:43:52.435 INFO [TSConfig print] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": true, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": { "guid": "a654cf78-6120-4891-ab57-98e8dd765677" }, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": false, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "https:\/\/dcipreprodapi.onebcg.com\/\/api\/Common\/LogHttpLocationsData", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": false, "trackingMode": 1, "odometer": 31.319955825805664, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="BMA2X2 Accelerometer/Temperature/Double-tap", vendor="BOSCH", version=1, type=1, maxRange=156.9064, resolution=0.01914978, power=0.13, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="BMG160 Gyroscope", vendor="BOSCH", version=1, type=4, maxRange=34.906586, resolution=0.0010681152, power=5.0, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="BMM150 Magnetometer", vendor="BOSCH", version=1, type=2, maxRange=0.0, resolution=0.0, power=0.5, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.12998962, minDelay=-1} ╚═════════════════════════════════════════════ 04-24 08:43:52.518 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:43:52.615 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@37fd84f 04-24 08:43:52.712 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-24 08:43:52.742 DEBUG [c a] ✅ Opened database 04-24 08:43:52.752 DEBUG [c prune] ℹ️ PRUNE -14 days 04-24 08:43:52.850 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:43:52.859 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-24 08:43:52.914 DEBUG [a g] ✅ Opened database 04-24 08:43:52.941 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:45:18.162 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:45:18.280 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@a03f2e6 04-24 08:45:18.300 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:45:37.558 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:45:37.644 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@41fb379 04-24 08:45:37.668 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:36.485 DEBUG [HeartbeatService onStartCommand] ❤️ 04-24 08:46:36.551 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@5891f58 04-24 08:46:36.568 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:53.275 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:53.295 DEBUG [TSConfig c] ℹ️ Persist config 04-24 08:46:53.311 INFO [HeartbeatService a] 🔴 Stop heartbeat 04-24 08:46:53.335 INFO [TrackingService a] 🔵 setPace: false → true 04-24 08:46:53.351 DEBUG [b a] ℹ️ LocationAuthorization: Permission granted 04-24 08:46:53.402 INFO [ActivityRecognitionService a] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🔴 EXIT: still ╟─ 🎾 ENTER: in_vehicle ╚═════════════════════════════════════════════ 04-24 08:46:53.518 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-24 08:46:53.623 DEBUG [TrackingService b] ╔═════════════════════════════════════════════ ║ TrackingService: MotionChangeRequest #1 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714134,76.749742 hAcc=6 et=+7d13h29m3s893ms alt=297.06402587890625 vel=1.33 bear=51.0 vAcc=12 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 61961ms, time: 1556075754000 04-24 08:46:53.639 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: true 04-24 08:46:53.647 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.546 04-24 08:46:53.739 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:53.751 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:53.831 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-24 08:46:53.839 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-24 08:46:53.866 INFO [c persist] ✅ INSERT: 385d25cb-8b4b-43b9-bdba-15adfd119de8 04-24 08:46:53.876 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-24 08:46:53.892 INFO [TSLocationManager removeLocationUpdates] 🔴 Location-services: OFF 04-24 08:46:53.899 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-24 08:46:53.936 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-24 08:46:54.009 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.714134,76.749742 hAcc=6 et=+7d13h29m3s893ms alt=297.06402587890625 vel=1.33 bear=51.0 vAcc=12 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 62356ms, time: 1556075754000 04-24 08:46:54.017 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:46:54.024 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-24 08:46:54.050 INFO [TrackingService c] ℹ️ Location availability: true 04-24 08:46:54.684 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713134,76.747900 hAcc=1200 et=+7d13h30m6s391ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 537ms, time: 1556075814140 04-24 08:46:54.692 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:46:54.699 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 602.773 04-24 08:46:54.719 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:54.734 INFO [c persist] ✅ INSERT: 6dd17f1e-a705-4bcc-b212-26f161bca4a2 04-24 08:46:56.731 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713284,76.750868 hAcc=15 et=+7d13h30m8s893ms alt=306.50335693359375 vel=4.45 bear=147.0 vAcc=24 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 73ms, time: 1556075819000 04-24 08:46:56.739 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:46:56.746 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 284.75998, apparent speed: 142.37999 04-24 08:46:56.753 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 15.008 04-24 08:46:56.761 DEBUG [TSLocationManager incrementOdometer] Odometer: 174.5963 04-24 08:46:56.781 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:56.843 INFO [c persist] ✅ INSERT: e22d4980-d48c-428d-96c6-28635a49976d 04-24 08:46:59.702 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713204,76.750973 hAcc=8 et=+7d13h30m11s898ms alt=301.225830078125 vel=4.9 bear=143.0 vAcc=12 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 47ms, time: 1556075822000 04-24 08:46:59.709 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:46:59.735 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 13.4459915, apparent speed: 4.481997 04-24 08:46:59.742 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 11.2560005 04-24 08:46:59.749 DEBUG [TSLocationManager incrementOdometer] Odometer: 188.0423 04-24 08:46:59.770 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:46:59.843 INFO [c persist] ✅ INSERT: 70bf9619-2bc2-4bbc-8999-a82a91efabdd 04-24 08:47:03.732 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713129,76.751052 hAcc=3 et=+7d13h30m15s893ms alt=293.377197265625 vel=1.55 bear=157.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 80ms, time: 1556075826000 04-24 08:47:03.739 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:03.747 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 11.190365, apparent speed: 3.7301216 04-24 08:47:03.754 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 7.504 04-24 08:47:03.763 DEBUG [TSLocationManager incrementOdometer] Odometer: 199.23267 04-24 08:47:03.783 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:03.844 INFO [c persist] ✅ INSERT: bffd668e-6573-4ab1-9462-fafa70a81629 04-24 08:47:08.708 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713063,76.750848 hAcc=4 et=+7d13h30m20s896ms alt=283.7181396484375 vel=6.43 bear=237.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 54ms, time: 1556075831000 04-24 08:47:08.715 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:08.720 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 20.919071, apparent speed: 4.183814 04-24 08:47:08.726 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.525 04-24 08:47:08.733 DEBUG [TSLocationManager incrementOdometer] Odometer: 220.15173 04-24 08:47:08.752 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:08.808 INFO [c persist] ✅ INSERT: 74ed4d50-932f-4c15-b793-9d5061e1ece3 04-24 08:47:09.726 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.713010,76.750762 hAcc=5 et=+7d13h30m21s892ms alt=284.2674560546875 vel=8.0 bear=239.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 75ms, time: 1556075832000 04-24 08:47:09.733 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:09.758 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 10.122372, apparent speed: Infinity 04-24 08:47:09.768 WARN [TSLocationManager locationIsInvalid] ⚠️ Detected invalid location (teleport) with apparent speed of Infinity meters/s (distance from last location: 10.122372 meters, dt: 996.0) 04-24 08:47:11.701 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712895,76.750597 hAcc=6 et=+7d13h30m23s891ms alt=284.0325927734375 vel=9.46 bear=234.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 53ms, time: 1556075834000 04-24 08:47:11.708 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:11.714 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 30.389418, apparent speed: 15.194709 04-24 08:47:11.719 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.432 04-24 08:47:11.725 DEBUG [TSLocationManager incrementOdometer] Odometer: 250.54115 04-24 08:47:11.754 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:11.817 INFO [c persist] ✅ INSERT: 4cbdbeb1-1367-451b-9736-12515de9cb70 04-24 08:47:13.711 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712782,76.750456 hAcc=5 et=+7d13h30m25s895ms alt=283.97808837890625 vel=8.6 bear=228.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 60ms, time: 1556075836000 04-24 08:47:13.717 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:13.721 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 18.460665, apparent speed: 9.230332 04-24 08:47:13.726 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.896 04-24 08:47:13.731 DEBUG [TSLocationManager incrementOdometer] Odometer: 269.00183 04-24 08:47:13.748 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:13.811 INFO [c persist] ✅ INSERT: 619979fc-40ed-49f4-9f16-eccbef3b0dfb 04-24 08:47:15.714 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712692,76.750311 hAcc=6 et=+7d13h30m27s897ms alt=283.3302001953125 vel=8.32 bear=235.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 60ms, time: 1556075838000 04-24 08:47:15.721 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:15.727 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 17.077375, apparent speed: 8.538688 04-24 08:47:15.733 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.432 04-24 08:47:15.741 DEBUG [TSLocationManager incrementOdometer] Odometer: 286.0792 04-24 08:47:15.782 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:15.850 INFO [c persist] ✅ INSERT: 6bdb80ab-509e-4bd0-becf-2bc1aac697af 04-24 08:47:17.705 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712594,76.750166 hAcc=8 et=+7d13h30m29s894ms alt=284.10198974609375 vel=8.69 bear=233.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 53ms, time: 1556075840000 04-24 08:47:17.712 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:17.718 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 17.668253, apparent speed: 17.668253 04-24 08:47:17.724 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.432 04-24 08:47:17.731 DEBUG [TSLocationManager incrementOdometer] Odometer: 303.74744 04-24 08:47:17.754 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:17.835 INFO [c persist] ✅ INSERT: 414a60c1-0be3-4d09-8c03-186259790a80 04-24 08:47:18.697 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712533,76.750071 hAcc=6 et=+7d13h30m30s893ms alt=284.7918701171875 vel=8.76 bear=235.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 46ms, time: 1556075841000 04-24 08:47:18.703 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:18.709 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 11.279475, apparent speed: Infinity 04-24 08:47:18.715 WARN [TSLocationManager locationIsInvalid] ⚠️ Detected invalid location (teleport) with apparent speed of Infinity meters/s (distance from last location: 11.279475 meters, dt: 999.0) 04-24 08:47:20.698 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712400,76.749963 hAcc=6 et=+7d13h30m32s896ms alt=284.3778076171875 vel=8.23 bear=212.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 44ms, time: 1556075843000 04-24 08:47:20.703 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:20.708 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 28.922682, apparent speed: 9.640894 04-24 08:47:20.714 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.432 04-24 08:47:20.720 DEBUG [TSLocationManager incrementOdometer] Odometer: 332.6701 04-24 08:47:20.738 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:20.828 INFO [c persist] ✅ INSERT: af2345ea-780f-4cca-9be9-e14a868724af 04-24 08:47:22.703 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712232,76.749923 hAcc=5 et=+7d13h30m34s893ms alt=285.0819091796875 vel=8.54 bear=191.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 52ms, time: 1556075845000 04-24 08:47:22.709 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:22.715 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 19.10408, apparent speed: 19.10408 04-24 08:47:22.720 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.432 04-24 08:47:22.726 DEBUG [TSLocationManager incrementOdometer] Odometer: 351.77417 04-24 08:47:22.745 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:22.811 INFO [c persist] ✅ INSERT: 66a6ecaa-04d0-42e5-832c-92d43c03cce2 04-24 08:47:24.696 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.712109,76.749928 hAcc=4 et=+7d13h30m36s894ms alt=281.26019287109375 vel=7.85 bear=182.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 46ms, time: 1556075847000 04-24 08:47:24.701 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:24.706 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 13.6340065, apparent speed: 6.8170033 04-24 08:47:24.710 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 6.432 04-24 08:47:24.715 DEBUG [TSLocationManager incrementOdometer] Odometer: 365.40817 04-24 08:47:24.734 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:24.792 INFO [c persist] ✅ INSERT: 852148f9-9f6c-4ee2-9fa2-135b5c0c2879 04-24 08:47:26.708 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.711962,76.750014 hAcc=4 et=+7d13h30m38s895ms alt=280.35107421875 vel=8.87 bear=153.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 52ms, time: 1556075849000 04-24 08:47:26.714 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:26.719 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 18.223795, apparent speed: 9.111897 04-24 08:47:26.724 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.36 04-24 08:47:26.731 DEBUG [TSLocationManager incrementOdometer] Odometer: 383.63196 04-24 08:47:26.750 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:26.815 INFO [c persist] ✅ INSERT: 3daf4c51-aeda-432e-b917-ec517c5f37ea 04-24 08:47:28.717 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.711821,76.750134 hAcc=4 et=+7d13h30m40s913ms alt=280.0823974609375 vel=9.75 bear=143.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 45ms, time: 1556075851000 04-24 08:47:28.724 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 08:47:28.728 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 19.37003, apparent speed: 9.685015 04-24 08:47:28.733 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.36 04-24 08:47:28.739 DEBUG [TSLocationManager incrementOdometer] Odometer: 403.00198 04-24 08:47:28.756 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-24 08:47:28.803 INFO [c persist] ✅ INSERT: 07987359-795c-4395-a340-d5330207598b 04-24 08:48:29.786 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:00:28.702 INFO [TSConfig print] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": true, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": { "guid": "a654cf78-6120-4891-ab57-98e8dd765677" }, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": true, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "https:\/\/dcipreprodapi.onebcg.com\/\/api\/Common\/LogHttpLocationsData", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": false, "trackingMode": 1, "odometer": 403.0019836425781, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="BMA2X2 Accelerometer/Temperature/Double-tap", vendor="BOSCH", version=1, type=1, maxRange=156.9064, resolution=0.01914978, power=0.13, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="BMG160 Gyroscope", vendor="BOSCH", version=1, type=4, maxRange=34.906586, resolution=0.0010681152, power=5.0, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="BMM150 Magnetometer", vendor="BOSCH", version=1, type=2, maxRange=0.0, resolution=0.0, power=0.5, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="Significant Motion Detector", vendor="QTI", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.12998962, minDelay=-1} ╚═════════════════════════════════════════════ 04-24 09:00:28.815 INFO [ActivityRecognitionService a] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🔴 EXIT: walking ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-24 09:00:29.261 ERROR [TSLocationManager getLastLocation] ‼️ Failed to get last location: com.google.android.gms.tasks.zzu@e57538f 04-24 09:00:29.288 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-24 09:00:29.495 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-24 09:00:29.669 DEBUG [TrackingService f] ⏰ Reset stopTimeout timer 04-24 09:00:29.696 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:00:33.009 INFO [TrackingService c] ℹ️ Location availability: false 04-24 09:00:33.274 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:00:34.583 INFO [TrackingService c] ℹ️ Location availability: true 04-24 09:00:34.884 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:00:35.726 DEBUG [a g] ✅ Opened database 04-24 09:00:35.750 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.692777,76.735275 hAcc=1200 et=+7d13h38m46s692ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 301305ms, time: 1556076334441 04-24 09:00:35.755 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 09:00:35.759 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 1200.0 04-24 09:00:35.820 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-24 09:00:35.827 DEBUG [c a] ✅ Opened database 04-24 09:00:35.831 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -2400.0 04-24 09:00:35.851 INFO [c persist] ✅ INSERT: 321da6d4-99a4-4ff3-bc65-f27c7f1bea6f 04-24 09:00:35.973 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-24 09:00:36.248 DEBUG [TrackingService f] ⏰ Reset stopTimeout timer 04-24 09:00:36.268 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:04:15.771 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.684462,76.728256 hAcc=1275 et=+7d13h47m26s688ms vAcc=??? sAcc=??? bAcc=??? {Bundle[{}]}], age: 228ms, time: 1556076855528 04-24 09:04:15.796 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 09:04:15.810 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 1237.5 04-24 09:04:15.829 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-24 09:04:15.850 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -2550.0 04-24 09:04:15.868 INFO [c persist] ✅ INSERT: 9311f916-8964-42f1-9c05-dbc60711be8f 04-24 09:04:16.177 DEBUG [TrackingService f] ⏰ Reset stopTimeout timer 04-24 09:04:16.233 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:04:19.036 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-24 09:04:19.090 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 17) ╠═════════════════════════════════════════════ 04-24 09:04:19.307 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 1 04-24 09:04:19.443 DEBUG [c allWithLocking] ✅ Locked 17 records 04-24 09:04:19.456 INFO [HttpService a] 🔵 HTTP POST batch (17) 04-24 09:04:21.305 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 09:04:21.325 DEBUG [c destroyAll] ✅ DELETED: (17) 04-24 09:04:21.841 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 09:04:21.851 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 1 04-24 09:04:21.868 DEBUG [BackgroundTaskService onDestroy] 04-24 09:04:27.426 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-24 09:04:27.436 DEBUG [c prune] ℹ️ PRUNE -14 days 04-24 09:04:28.509 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.681293,76.727921 hAcc=25 et=+7d13h47m37s167ms alt=282.5 vAcc=2 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 2498ms, time: 1556076866006 04-24 09:04:28.515 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-24 09:04:28.520 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 352.85248, apparent speed: 35.285248 04-24 09:04:28.524 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 1200.0 04-24 09:04:28.530 DEBUG [TSLocationManager incrementOdometer] Odometer: 1858.148 04-24 09:04:28.643 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-24 09:04:28.649 INFO [c persist] ✅ INSERT: bb9fbf30-246c-4b60-88ee-59263c2a55e1 04-24 09:04:28.665 INFO [TrackingService a] ℹ️ Distance from stoppedAtLocation: -49.11 04-24 09:04:28.693 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-24 09:04:28.959 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 2 04-24 09:04:29.002 DEBUG [c allWithLocking] ✅ Locked 1 records 04-24 09:04:29.070 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-24 09:04:29.332 INFO [HttpService$b onResponse] 🔵 Response: 200 04-24 09:04:29.341 DEBUG [c destroyAll] ✅ DELETED: (1) 04-24 09:04:29.377 DEBUG [c allWithLocking] ✅ Locked 0 records 04-24 09:04:29.394 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2 04-24 09:04:29.469 DEBUG [BackgroundTaskService onDestroy] 04-24 09:04:29.726 DEBUG [TrackingService f] ⏰ Reset stopTimeout timer 04-24 09:04:29.747 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:04:32.787 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-24 09:04:32.818 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-24 09:04:39.194 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? false ╠═════════════════════════════════════════════ 04-24 09:04:53.042 DEBUG [TSConfig c] ℹ️ Persist config 04-24 09:04:53.165 DEBUG [TSConfig c] ℹ️ Persist config 04-24 09:04:53.234 DEBUG [TSGeofenceManager b] 🔴 Stop monitoring geofences 04-24 09:04:53.248 INFO [TSGeofenceManager stopMonitoringSignificantLocationChanges] 🔴 Stop monitoring significant location changes 04-24 09:04:53.277 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-24 09:04:53.281 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:04:53.288 INFO [ActivityRecognitionService b] 🔴 Stop motion-activity updates 04-24 09:04:53.317 INFO [HeartbeatService a] 🔴 Stop heartbeat 04-24 09:04:53.341 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-24 09:04:53.349 DEBUG [HttpService stopMonitoringConnectivityChanges] 🔴 Stop monitoring connectivity changes 04-24 09:04:58.807 WARN [AbstractService a] ⚠️ Refusing to start service, enabled: false 04-24 09:04:58.822 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-24 09:05:30.983 WARN [AbstractService a] ⚠️ Refusing to start service, enabled: false 04-24 09:05:31.003 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed
Gurjit-ONEBCG commented 5 years ago

image

christocracy commented 5 years ago

Do not spam the thread with large logs, it’s annoying to scroll through. Google “github details tag” and edit your post.

Gurjit-ONEBCG commented 5 years ago

Do not spam the thread with large logs, it’s annoying to scroll through. Google “github details tag” and edit your post.

Done. please check again. Thanks

christocracy commented 5 years ago

You have disabled location-services on that device.

‼️ Failed to get last location: com.google.android.gms.tasks.zzu@12512d4
04-24 08:35:37.910 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:36:36.508 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:36:36.643 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@b657d1f
04-24 08:36:36.666 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:38:03.610 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:38:03.675 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@ba4e196
04-24 08:38:03.689 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:38:48.205 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:38:48.267 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@4176ce9
04-24 08:38:48.285 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:39:43.122 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:39:43.188 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@aaf0e88
04-24 08:39:43.206 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:40:58.339 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:40:58.400 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@ff6c3a3
04-24 08:40:58.413 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:41:58.369 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:41:58.446 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@1ac0e2a
04-24 08:41:58.459 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:43:10.160 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:43:10.251 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@c5347cd
04-24 08:43:10.285 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:43:52.435 INFO [TSConfig print]
Gurjit-ONEBCG commented 5 years ago

You have disabled location-services on that device.

‼️ Failed to get last location: com.google.android.gms.tasks.zzu@12512d4
04-24 08:35:37.910 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:36:36.508 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:36:36.643 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@b657d1f
04-24 08:36:36.666 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:38:03.610 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:38:03.675 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@ba4e196
04-24 08:38:03.689 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:38:48.205 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:38:48.267 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@4176ce9
04-24 08:38:48.285 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:39:43.122 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:39:43.188 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@aaf0e88
04-24 08:39:43.206 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:40:58.339 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:40:58.400 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@ff6c3a3
04-24 08:40:58.413 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:41:58.369 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:41:58.446 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@1ac0e2a
04-24 08:41:58.459 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:43:10.160 DEBUG [HeartbeatService onStartCommand] ❤️
04-24 08:43:10.251 ERROR [TSLocationManager getLastLocation]
‼️ Failed to get last location: com.google.android.gms.tasks.zzu@c5347cd
04-24 08:43:10.285 DEBUG [BackgroundGeolocation isMainActivityActive] NO
04-24 08:43:52.435 INFO [TSConfig print]

For sure my device location service was on, so that there is a location logged in between route. this time I had nokia 6. I checked dumb phone list , its at top position. I followed there suggestions. I force stopped power save mode and tried again. and now locations are getting logged properly.

any suggestions please?

christocracy commented 5 years ago

That device is failing to return locations when asked. Not even google maps would work during that period.

Gurjit-ONEBCG commented 5 years ago

That device is failing to return locations when asked. Not even google maps would work during that period.

yes , this has happened with me many times with my nokia device, when google map app failed to return my current location even when my location service was on

Gurjit-ONEBCG commented 5 years ago

will try on another devices. and share if issue happens

Thanks for your support.

Gurjit-ONEBCG commented 5 years ago

Hi Chris, Could you please check what happened this time, I don't see any location failure log I expect locations between 8:35 to 8: 48

04-26 08:32:42.935 DEBUG [HeartbeatService onStartCommand] ❤️ 04-26 08:32:43.115 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:37:42.946 DEBUG [HeartbeatService onStartCommand] ❤️ 04-26 08:37:43.052 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:47:52.472 DEBUG [HeartbeatService onStartCommand] ❤️ 04-26 08:47:52.579 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:47:56.444 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:47:56.450 DEBUG [TSConfig c] ℹ️ Persist config 04-26 08:47:56.504 INFO [HeartbeatService a] 🔴 Stop heartbeat 04-26 08:47:56.515 INFO [TrackingService a] 🔵 setPace: false → true 04-26 08:47:56.522 DEBUG [b a] ℹ️ LocationAuthorization: Permission granted 04-26 08:47:56.531 INFO [ActivityRecognitionService a] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🔴 EXIT: still ╟─ 🎾 ENTER: in_vehicle ╚═════════════════════════════════════════════ 04-26 08:47:56.818 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-26 08:47:57.307 DEBUG [TrackingService b] ╔═════════════════════════════════════════════ ║ TrackingService: MotionChangeRequest #3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.684019,76.715434 hAcc=1200 et=+9d13h31m8s175ms vAcc=??? sAcc=??? bAcc=???], age: 1344ms, time: 1556248675959 04-26 08:47:57.397 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.9 04-26 08:47:57.412 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:47:58.116 DEBUG [TrackingService b] ╔═════════════════════════════════════════════ ║ TrackingService: MotionChangeRequest #3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685846,76.716760 hAcc=110 et=+9d13h31m9s84ms vAcc=??? sAcc=??? bAcc=???], age: 1243ms, time: 1556248676868 04-26 08:47:58.237 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.9 04-26 08:47:58.254 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:00.164 DEBUG [TrackingService b] ╔═════════════════════════════════════════════ ║ TrackingService: MotionChangeRequest #3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685369,76.716256 hAcc=17 et=+9d13h31m12s304ms alt=288.2174072265625 vel=0.0 vAcc=48 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 67ms, time: 1556248682000 04-26 08:48:00.178 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: true 04-26 08:48:00.182 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.034 04-26 08:48:00.187 DEBUG [TSLocationManager incrementOdometer] Odometer: 42088.215 04-26 08:48:00.200 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:00.207 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:00.327 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-26 08:48:00.338 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-26 08:48:00.350 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-26 08:48:00.361 INFO [c persist] ✅ INSERT: a2bd8405-681b-4237-96cf-e0a2b037fdd7 04-26 08:48:00.376 INFO [TSLocationManager removeLocationUpdates] 🔴 Location-services: OFF 04-26 08:48:00.380 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-26 08:48:00.387 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): 0 04-26 08:48:00.388 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:00.412 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 124 04-26 08:48:00.419 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:00.422 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:00.460 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685369,76.716256 hAcc=17 et=+9d13h31m12s304ms alt=288.2174072265625 vel=0.0 vAcc=48 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 367ms, time: 1556248682000 04-26 08:48:00.465 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:00.468 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-26 08:48:00.488 INFO [TrackingService c] ℹ️ Location availability: true 04-26 08:48:00.529 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685369,76.716256 hAcc=17 et=+9d13h31m12s304ms alt=288.2174072265625 vel=0.0 vAcc=48 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 431ms, time: 1556248682000 04-26 08:48:00.536 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:00.549 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-26 08:48:01.805 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:01.812 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:01.812 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:01.849 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:01.853 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 124 04-26 08:48:01.858 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:09.775 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685281,76.716308 hAcc=4 et=+9d13h31m21s950ms alt=266.2652587890625 vel=3.88 bear=149.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 38ms, time: 1556248692000 04-26 08:48:09.780 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:09.783 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 10.927419, apparent speed: 1.2141576 04-26 08:48:09.786 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.0 04-26 08:48:09.791 DEBUG [TSLocationManager incrementOdometer] Odometer: 42099.14 04-26 08:48:09.804 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:09.858 INFO [c persist] ✅ INSERT: 3ba206f8-2c7c-4bea-8b2d-0ee4bd0164d6 04-26 08:48:09.870 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:09.895 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 125 04-26 08:48:09.908 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:09.914 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:10.420 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:10.424 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:10.426 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:10.433 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:10.497 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 125 04-26 08:48:10.506 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:11.779 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685207,76.716410 hAcc=4 et=+9d13h31m23s953ms alt=260.88818359375 vel=5.47 bear=139.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 38ms, time: 1556248694000 04-26 08:48:11.784 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:11.788 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 12.767502, apparent speed: 6.383751 04-26 08:48:11.792 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.794 04-26 08:48:11.797 DEBUG [TSLocationManager incrementOdometer] Odometer: 42111.906 04-26 08:48:11.809 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:11.862 INFO [c persist] ✅ INSERT: 8e573e47-3016-4620-a369-758107f020ab 04-26 08:48:11.872 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:11.901 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 126 04-26 08:48:11.914 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:11.920 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:12.362 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:12.368 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:12.369 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:12.376 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:12.380 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 126 04-26 08:48:12.387 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:13.833 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685132,76.716477 hAcc=4 et=+9d13h31m26s16ms alt=260.4085693359375 vel=5.44 bear=148.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 29ms, time: 1556248696000 04-26 08:48:13.838 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:13.841 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 10.4374, apparent speed: 5.2187 04-26 08:48:13.871 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.613 04-26 08:48:13.876 DEBUG [TSLocationManager incrementOdometer] Odometer: 42122.344 04-26 08:48:13.888 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:13.936 INFO [c persist] ✅ INSERT: 694927f8-7d77-48b2-b86c-15daa389681f 04-26 08:48:13.948 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:13.969 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 127 04-26 08:48:13.980 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:13.988 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:14.210 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:14.217 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:14.217 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:14.228 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:14.231 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 127 04-26 08:48:14.257 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:15.783 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.685035,76.716560 hAcc=4 et=+9d13h31m27s961ms alt=260.33868408203125 vel=6.54 bear=146.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 35ms, time: 1556248698000 04-26 08:48:15.788 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:15.791 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 13.427772, apparent speed: 13.427772 04-26 08:48:15.795 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 4.288 04-26 08:48:15.799 DEBUG [TSLocationManager incrementOdometer] Odometer: 42135.773 04-26 08:48:15.811 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:15.862 INFO [c persist] ✅ INSERT: b968ba7e-339b-4b50-bbda-f1ef6b48f31b 04-26 08:48:15.914 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:15.946 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 128 04-26 08:48:15.958 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:15.963 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:16.346 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:16.353 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:16.353 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:16.364 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:16.368 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 128 04-26 08:48:16.375 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:17.785 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.684924,76.716646 hAcc=4 et=+9d13h31m29s962ms alt=261.61065673828125 vel=7.69 bear=145.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 35ms, time: 1556248700000 04-26 08:48:17.790 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:17.794 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 14.815366, apparent speed: 7.407683 04-26 08:48:17.798 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 4.288 04-26 08:48:17.803 DEBUG [TSLocationManager incrementOdometer] Odometer: 42150.59 04-26 08:48:17.817 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:17.871 INFO [c persist] ✅ INSERT: bec32399-0f42-455c-8492-a08ab8c41e6e 04-26 08:48:17.891 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:17.913 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 129 04-26 08:48:17.943 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:17.949 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:18.146 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:18.152 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:18.153 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:18.159 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:18.163 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 129 04-26 08:48:18.168 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:19.796 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.684802,76.716761 hAcc=4 et=+9d13h31m31s978ms alt=263.8250732421875 vel=7.84 bear=144.0 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 30ms, time: 1556248702000 04-26 08:48:19.801 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:19.805 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 17.451797, apparent speed: 8.725899 04-26 08:48:19.809 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.9 04-26 08:48:19.814 DEBUG [TSLocationManager incrementOdometer] Odometer: 42168.043 04-26 08:48:19.827 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:19.877 INFO [c persist] ✅ INSERT: c54db3af-1879-45c1-8957-f006ec92b724 04-26 08:48:19.887 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:19.918 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 130 04-26 08:48:19.932 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:19.938 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:20.150 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:20.157 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:20.159 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:20.459 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:20.487 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 130 04-26 08:48:20.493 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:21.772 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.684686,76.716843 hAcc=4 et=+9d13h31m33s954ms alt=262.35107421875 vel=8.06 bear=148.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 31ms, time: 1556248704000 04-26 08:48:21.778 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 08:48:21.782 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 15.073948, apparent speed: 15.073948 04-26 08:48:21.785 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 3.9 04-26 08:48:21.790 DEBUG [TSLocationManager incrementOdometer] Odometer: 42183.117 04-26 08:48:21.802 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:21.847 INFO [c persist] ✅ INSERT: 1259e84c-6deb-4b4a-9ce7-e3e36c6402d6 04-26 08:48:21.857 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 08:48:22.207 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 131 04-26 08:48:22.219 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 08:48:22.224 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 08:48:22.605 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 08:48:22.612 DEBUG [BackgroundGeolocation isMainActivityActive] NO 04-26 08:48:22.613 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 08:48:22.623 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 08:48:22.627 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 131 04-26 08:48:22.635 DEBUG [BackgroundTaskService onDestroy] 04-26 08:48:23.778 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 30.684559,76.716939 hAcc=4 et=+9d13h31m35s960ms alt=265.1966552734375 vel=7.86 bear=150.0 vAcc=8 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=52]}], age: 31ms, time: 1556248706000 04-26 08:48:24.199 DEBUG [TSLocationManager onLocationResul
Gurjit-ONEBCG commented 5 years ago

Again this time also I used Nokia TA-1021 image

Gurjit-ONEBCG commented 5 years ago

Another try with Honor 9n device I expect location between 16:24 to 16:28

-------- ----- ---- ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 16:24:55.492 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 95 04-26 16:24:55.517 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 16:24:55.523 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 16:24:55.670 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 16:24:55.683 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 16:24:55.692 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 16:24:55.696 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 95 04-26 16:24:55.701 DEBUG [BackgroundTaskService onDestroy] 04-26 16:24:56.413 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 31******,77****** hAcc=12 et=+19d6h32m8s15ms alt=266.60396637767553 vel=10.531887 bear=58.0 vAcc=23 sAcc=??? bAcc=???], age: 82ms, time: 1556276098000 04-26 16:24:56.424 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 16:24:56.428 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 11.824 04-26 16:24:56.445 INFO [c persist] ✅ INSERT: b7fdb057-d9a9-4cc9-8bc1-da3067f5098a 04-26 16:24:56.456 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 16:24:56.495 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 96 04-26 16:24:56.513 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 16:24:56.538 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 16:24:56.737 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 16:24:56.748 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 16:24:56.756 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 16:24:56.761 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 96 04-26 16:24:56.767 DEBUG [BackgroundTaskService onDestroy] 04-26 16:24:57.421 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 31******,77****** hAcc=12 et=+19d6h32m9s34ms alt=266.2306995354593 vel=11.380569 bear=57.0 vAcc=23 sAcc=??? bAcc=???], age: 73ms, time: 1556276099000 04-26 16:24:57.426 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 16:24:57.431 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 11.052 04-26 16:24:57.439 DEBUG [TSLocationManager incrementOdometer] Odometer: 2292.82 04-26 16:24:57.456 INFO [c persist] ✅ INSERT: d75dbcfb-302a-4759-9f98-22f0d6ecefbd 04-26 16:24:57.469 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-26 16:24:57.506 INFO [BackgroundTaskManager onStartJob] ⏳ startBackgroundTask: 97 04-26 16:24:57.542 DEBUG [c allWithLocking] ✅ Locked 1 records 04-26 16:24:57.547 INFO [HttpService a] 🔵 HTTP POST batch (1) 04-26 16:24:57.675 INFO [HttpService$b onResponse] 🔵 Response: 200 04-26 16:24:57.682 DEBUG [c destroyAll] ✅ DELETED: (1) 04-26 16:24:57.691 DEBUG [c allWithLocking] ✅ Locked 0 records 04-26 16:24:57.696 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 97 04-26 16:24:57.702 DEBUG [BackgroundTaskService onDestroy] 04-26 16:24:58.387 DEBUG [TrackingService a] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 31******,77****** hAcc=12 et=+19d6h32m10s1ms alt=265.74561914242804 vel=12.117979 bear=57.0 vAcc=23 sAcc=??? bAcc=???], age: 71ms, time: 1556276100000 04-26 16:24:58.395 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-26 16:28:53.969 INFO [TSConfig print] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": false, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": { "guid": "27e59196-aa31-4a8a-a88b-1aa2546390e5" }, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": true, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "https:\/\/dcipreprodapi.onebcg.com\/\/api\/Common\/LogHttpLocationsData", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": false, "trackingMode": 1, "odometer": 2292.820068359375, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="accelerometer-kx023", vendor="KIONIX", version=1, type=1, maxRange=78.4532, resolution=0.009576807, power=0.23, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="gyroscope", vendor="STMicroelectronics", version=1, type=4, maxRange=34.906586, resolution=1.7453292E-5, power=6.1, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="mag-akm09918", vendor="akm", version=1, type=2, maxRange=2000.0, resolution=0.0625, power=6.8, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="significant Motion", vendor="huawei", version=1, type=17, maxRange=2.14748365E9, resolution=1.0, power=0.23, minDelay=-1} ╚═════════════════════════════════════════════ 04-26 16:28:54.017 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-26 16:28:54.035 DEBUG [c a] ✅ Opened database 04-26 16:28:54.043 DEBUG [c prune] ℹ️ PRUNE -14 days 04-26 16:28:54.068 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-26 16:28:54.085 DEBUG [a g] ✅ Opened database 04-26 16:28:54.087 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-26 16:28:54.100 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-26 16:29:01.287 DEBUG [TSConfig c] ℹ️ Persist config 04-26 16:29:01.391 DEBUG [TSConfig c] ℹ️ Persist config 04-26 16:29:01.431 DEBUG [TSGeofenceManager b] 🔴 Stop monitoring geofences 04-26 16:29:01.445 INFO [TSGeofenceManager stopMonitoringSignificantLocationChanges] 🔴 Stop monitoring significant location changes 04-26 16:29:01.456 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-26 16:29:01.460 DEBUG [TrackingService onDestroy] 🔴 TrackingService destroyed 04-26 16:29:01.469 INFO [ActivityRecognitionService b] 🔴 Stop motion-activity updates 04-26 16:29:01.490 INFO [HeartbeatService a] 🔴 Stop heartbeat 04-26 16:29:01.501 DEBUG [HttpService stopMonitoringConnectivityChanges] 🔴 Stop monitoring connectivity changes 04-26 16:29:01.510 DEBUG [ActivityRecognitionService onDestroy] 🔴 ActivityRecognitionService destroyed 04-26 16:47:20.292 INFO [TSConfig print] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.0.10 (310) ╠═════════════════════════════════════════════ { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "autoSync": true, "autoSyncThreshold": 0, "batchSync": true, "debug": false, "deferTime": 0, "desiredAccuracy": 0, "desiredOdometerAccuracy": 100, "disableElasticity": true, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": {}, "fastestLocationUpdateInterval": -1, "forceReloadOnBoot": false, "forceReloadOnGeofence": false, "forceReloadOnHeartbeat": false, "forceReloadOnLocationChange": false, "forceReloadOnMotionChange": false, "forceReloadOnSchedule": false, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.cordova.bggeo.BackgroundGeolocationHeadlessTask", "heartbeatInterval": 5, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": false, "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": 20, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "notificationColor": "", "notificationLargeIcon": "", "notificationPriority": 0, "notificationSmallIcon": "", "notificationText": "Location Service activated", "notificationTitle": "", "params": {}, "persist": true, "persistMode": 2, "schedule": [], "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "", "useSignificantChangesOnly": false, "enabled": false, "schedulerEnabled": false, "trackingMode": 1, "odometer": 2292.820068359375, "isFirstBoot": false } ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="accelerometer-kx023", vendor="KIONIX", version=1, type=1, maxRange=78.4532, resolution=0.009576807, power=0.23, minDelay=5000} ╟─ ✅ GYROSCOPE: {Sensor name="gyroscope", vendor="STMicroelectronics", version=1, type=4, maxRange=34.906586, resolution=1.7453292E-5, power=6.1, minDelay=5000} ╟─ ✅ MAGNETOMETER: {Sensor name="mag-akm09918", vendor="akm", version=1, type=2, maxRange=2000.0, resolution=0.0625, power=6.8, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="significant Motion", vendor="huawei", version=1, type=17, maxRange=2.14748365E9, resolution=1.0, power=0.23, minDelay=-1} ╚═════════════════════════════════════════════ 04-26 16:47:20.320 INFO [BootReceiver onReceive] ╔═════════════════════════════════════════════ ║ BootReceiver: com.onebcg.dciapp ╠═════════════════════════════════════════════ ╟─ android.intent.action.MY_PACKAGE_REPLACED 04-26 16:47:20.347 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-26 16:47:20.367 DEBUG [c a] ✅ Opened database 04-26 16:47:20.378 DEBUG [c prune] ℹ️ PRUNE -14 days 04-26 16:47:20.411 DEBUG [a g] ✅ Opened database
christocracy commented 5 years ago

I want you to install the demo app on your test-devices and test it in parallel with your app. Install it from Play Store

Gurjit-ONEBCG commented 5 years ago

I want you to install the demo app on your test-devices and test it in parallel with your app. Install it from Play Store Thanks Chris for your reply. Definitely I will check with sample app parrelley. But could you please tell what log says

christocracy commented 5 years ago

when you see this, your app was restarted:

04-26 16:24:58.387 DEBUG [TrackingService a]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 31******,77****** hAcc=12 et=+19d6h32m10s1ms alt=265.74561914242804 vel=12.117979 bear=57.0 vAcc=23 sAcc=??? bAcc=???], age: 71ms, time: 1556276100000

04-26 16:24:58.395 DEBUG [TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
.
. <----------------- Somewhere in here, your app was terminated.
.
04-26 16:28:53.969 INFO [TSConfig print]
╔═════════════════════════════════════════════
║ TSLocationManager version: 3.0.10 (310)  <----------------- app restart
╠═════════════════════════════════════════════
{
Gurjit-ONEBCG commented 5 years ago

when you see this, your app was restarted:

04-26 16:24:58.387 DEBUG [TrackingService a]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 31******,77****** hAcc=12 et=+19d6h32m10s1ms alt=265.74561914242804 vel=12.117979 bear=57.0 vAcc=23 sAcc=??? bAcc=???], age: 71ms, time: 1556276100000

04-26 16:24:58.395 DEBUG [TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
.
. <----------------- Somewhere in here, your app was terminated.
.
04-26 16:28:53.969 INFO [TSConfig print]
╔═════════════════════════════════════════════
║ TSLocationManager version: 3.0.10 (310)  <----------------- app restart
╠═════════════════════════════════════════════
{

But I have set stopOnTerminate to false.. I guess service should not imapcted on termination when this setting is false. please correct me if i am wrong

christocracy commented 5 years ago

Foreground services are not supposed to terminated by the OS. Foreground services are typically used by music players. Imagine if the OS were randomly deciding to terminate the player in the middle of a song or podcast. This is apparently what happened in your log.

Gurjit-ONEBCG commented 5 years ago

Tested parallel with the sample app on same device(Nokia 6), both apps showed same route

image

Seems due to low battery, device OS stopped location service in background.

Gurjit-ONEBCG commented 5 years ago

when you see this, your app was restarted:

04-26 16:24:58.387 DEBUG [TrackingService a]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 31******,77****** hAcc=12 et=+19d6h32m10s1ms alt=265.74561914242804 vel=12.117979 bear=57.0 vAcc=23 sAcc=??? bAcc=???], age: 71ms, time: 1556276100000

04-26 16:24:58.395 DEBUG [TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
.
. <----------------- Somewhere in here, your app was terminated.
.
04-26 16:28:53.969 INFO [TSConfig print]
╔═════════════════════════════════════════════
║ TSLocationManager version: 3.0.10 (310)  <----------------- app restart
╠═════════════════════════════════════════════
{

Tested with Android Sample app (downloaded from playstore) Device: NokiA 6

Hi Chris, I was testing sample app and suddenly location service stopped in between traveling (location icon disappeared from top bar. But location provider was enabled) In logs I see 'TSLocationManager version: 3.0.10 (' Please have look on logs background-geolocation.log.gz

I expect locations between 18:48 and 19:00

image http://tracker.transistorsoft.com/msgs?device=Cordova-TA-1021&end=2019-5-8&start=2019-5-8

christocracy commented 5 years ago

Nokia and Huawei devices are the absolute worst. I regularly test upon a Nokia TA-1027 @8.0.0 and it consistently performs poorly, often rarely initiating tracking. I do not trust Nokia phones at all. You can assume that Nokia phones will perform poorly.

See https://dontkillmyapp.com/

Gurjit-ONEBCG commented 5 years ago

Nokia and Huawei devices are the absolute worst. I regularly test upon a Nokia TA-1027 @8.0.0 and it consistently performs poorly, often rarely initiating tracking. I do not trust Nokia phones at all. You can assume that Nokia phones will perform poorly.

See https://dontkillmyapp.com/

Thanks Chris for your quick reply.

I am agreed those are worst devices.

I was curious because of your this reply

Foreground services are not supposed to terminated by the OS. Foreground services are typically used by music players. Imagine if the OS were randomly deciding to terminate the player in the middle of a song or podcast. This is apparently what happened in your log.

I though its happening only in my app. So in sample app something same happened. Kindly verify so that I can sure about this issue and can close this thread

christocracy commented 5 years ago

3.0.3 is released with the fix for pausesLocationUpdatesAutomatically in addition to many Android bug fixes.

Gurjit-ONEBCG commented 5 years ago

3.0.3 is released with the fix for pausesLocationUpdatesAutomatically in addition to many Android bug fixes.

Thanks Chris, for your quick actions. I will update plugin V to 3.03 and will share results