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

Duplicate or more calls to onLocation event #1366

Closed PabloAltia closed 2 weeks ago

PabloAltia commented 1 year ago

Your Environment

Expected Behavior

One position every 30 seconds

Actual Behavior

Duplicate, triple the onLocation event with the same latitude, longitude and timestamp with the allowIdenticalLocations parameter set to false.

Steps to Reproduce

1. 2. 3. 4.

Context

Debug logs

Logs ``` Microsoft Windows [Versión 10.0.19044.1949] (c) Microsoft Corporation. Todos los derechos reservados. C:\Users\pablo.rey.docampo> adb logcat *:S TSLocationManager:V --------- beginning of system --------- beginning of main 09-12 16:06:54.271 6220 6442 E TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:06:54.271 6220 6442 E TSLocationManager: ║ LICENSE VALIDATION FAILURE: es.altia.appictower 09-12 16:06:54.271 6220 6442 E TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:06:54.271 6220 6442 E TSLocationManager: ╟─ Failed to find license key in AndroidManifest. Ensure you've added the key within 09-12 16:06:54.271 6220 6442 E TSLocationManager: ╟─ BackgroundGeolocation is fully functional in DEBUG builds without a license. 09-12 16:06:54.271 6220 6442 E TSLocationManager: ╚═════════════════════════════════════════════ 09-12 16:06:54.358 6220 6551 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ℹ️ Persist config, dirty: [] 09-12 16:06:54.387 6220 6442 D TSLocationManager: $ addLocationListener() 09-12 16:06:54.391 6220 6442 D TSLocationManager: $ addMotionChangeListener() 09-12 16:06:54.394 6220 6442 D TSLocationManager: $ ready() 09-12 16:06:54.400 6220 6442 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [autoSync, backgroundPermissionRationale, backgroundPermissionRationale.message, debug, desiredAccuracy, disableElasticity, disableStopDetection, distanceFilter, fastestLocationUpdateInterval, isMoving, logLevel, maxRecordsToPersist, motionTriggerDelay, startOnBoot, stopOnTerminate] 09-12 16:06:54.407 6220 6551 D TSLocationManager: [c.t.l.data.sqlite.a onCreate] CREATE TABLE IF NOT EXISTS locations (id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL DEFAULT '', timestamp TEXT, json TEXT, data BLOB, encrypted BOOLEAN NOT NULL DEFAULT 0, locked BOOLEAN NOT NULL DEFAULT 0); 09-12 16:06:54.408 6220 6551 D TSLocationManager: [c.t.l.data.sqlite.a onCreate] CREATE TABLE IF NOT EXISTS geofences (id INTEGER PRIMARY KEY AUTOINCREMENT, identifier TEXT NOT NULL UNIQUE, latitude DOUBLE NOT NULL, sin_latitude DOUBLE NOT NULL, cos_latitude DOUBLE NOT NULL, longitude DOUBLE NOT NULL, sin_longitude DOUBLE NOT NULL, cos_longitude DOUBLE NOT NULL, radius DOUBLE NOT NULL, notifyOnEntry BOOLEAN NOT NULL DEFAULT 0, notifyOnExit BOOLEAN NOT NULL DEFAULT 0, notifyOnDwell BOOLEAN NOT NULL DEFAULT 0, loiteringDelay INTEGER NOT NULL DEFAULT 0, extras TEXT); 09-12 16:06:54.410 6220 6551 D TSLocationManager: [c.t.l.data.sqlite.b prune] 09-12 16:06:54.410 6220 6551 D TSLocationManager: ℹ️ PRUNE -1 days 09-12 16:06:54.416 6220 6442 D TSLocationManager: $ start() 09-12 16:06:54.420 6220 6442 I TSLocationManager: [c.t.locationmanager.util.c g] 09-12 16:06:54.420 6220 6442 I TSLocationManager: 🔵 LocationAuthorization: Requesting Background permission 09-12 16:06:55.315 6220 6220 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 09-12 16:07:01.851 6220 6220 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 09-12 16:07:01.851 6220 6220 I TSLocationManager: ✅ LocationAuthorization: Permission granted 09-12 16:07:01.877 6220 6220 I TSLocationManager: [c.t.locationmanager.util.c e] 09-12 16:07:01.877 6220 6220 I TSLocationManager: 🔵 Should show backgroundPermissionRationale? true 09-12 16:07:01.886 6220 6220 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 09-12 16:07:02.124 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] android.permission.ACCESS_BACKGROUND_LOCATION 09-12 16:07:03.282 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 09-12 16:07:03.364 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 09-12 16:07:04.137 6220 6220 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 09-12 16:07:04.205 6220 6220 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 09-12 16:07:06.017 6220 6220 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️ onStart 09-12 16:07:06.106 6220 6220 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 09-12 16:07:06.106 6220 6220 I TSLocationManager: ✅ LocationAuthorization: Permission granted 09-12 16:07:06.112 6220 6551 I TSLocationManager: - Enable: false → true, trackingMode: 1 09-12 16:07:06.120 6220 6551 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 09-12 16:07:06.120 6220 6551 D TSLocationManager: 🎾 Start monitoring connectivity changes 09-12 16:07:06.126 6220 6551 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 09-12 16:07:06.126 6220 6551 D TSLocationManager: 🎾 Start monitoring powersave changes 09-12 16:07:06.132 6220 6551 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 09-12 16:07:06.132 6220 6551 I TSLocationManager: 🔴 Stop heartbeat 09-12 16:07:06.146 6220 6618 D TSLocationManager: [c.t.l.service.TrackingService changePace] 09-12 16:07:06.146 6220 6618 D TSLocationManager: ⚠️ Waiting for existing motionchange request #1 to complete 09-12 16:07:06.148 6220 6220 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 09-12 16:07:06.148 6220 6551 D TSLocationManager: [c.t.locationmanager.util.c h] 09-12 16:07:06.148 6220 6551 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 09-12 16:07:06.149 6220 6551 I TSLocationManager: [c.t.l.service.TrackingService changePace] 09-12 16:07:06.149 6220 6551 I TSLocationManager: 🔵 setPace: true → true 09-12 16:07:06.157 6220 6618 D TSLocationManager: [c.t.locationmanager.util.c h] 09-12 16:07:06.157 6220 6618 D TSLocationManager: ℹ️ LocationAuthorization: Permission granted 09-12 16:07:06.158 6220 6618 I TSLocationManager: [c.t.l.p.TSProviderManager handleProviderChangeEvent] 09-12 16:07:06.158 6220 6618 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:06.158 6220 6618 I TSLocationManager: ║ Location-provider change: true 09-12 16:07:06.158 6220 6618 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:06.158 6220 6618 I TSLocationManager: ╟─ GPS: true 09-12 16:07:06.158 6220 6618 I TSLocationManager: ╟─ Network: true 09-12 16:07:06.158 6220 6618 I TSLocationManager: ╟─ AP Mode: false 09-12 16:07:06.161 6220 6618 D TSLocationManager: [c.t.l.http.HttpService a] 09-12 16:07:06.161 6220 6618 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:06.161 6220 6618 D TSLocationManager: ║ 📶 Connectivity change: connected? true 09-12 16:07:06.161 6220 6618 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:06.178 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:06.178 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:06.180 6220 6220 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 09-12 16:07:06.180 6220 6220 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:06.180 6220 6220 I TSLocationManager: ║ TrackingService motionchange: true 09-12 16:07:06.180 6220 6220 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:06.180 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:06.237 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:06.237 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 09-12 16:07:06.240 6220 6551 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 09-12 16:07:06.240 6220 6551 I TSLocationManager: 🔵 [SingleLocationRequest start, action: 1, requestId: 1] 09-12 16:07:06.246 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:06.246 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 09-12 16:07:06.249 6220 6554 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 09-12 16:07:06.249 6220 6554 I TSLocationManager: 🔵 [SingleLocationRequest start, action: 3, requestId: 2] 09-12 16:07:06.255 6220 6554 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 09-12 16:07:06.259 6220 6551 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 09-12 16:07:06.259 6220 6551 I TSLocationManager: 🎾 Start motion-activity updates 09-12 16:07:06.267 6220 6551 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 09-12 16:07:06.357 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 09-12 16:07:06.358 6220 6220 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 09-12 16:07:06.404 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 09-12 16:07:06.431 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 09-12 16:07:06.432 6220 6220 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 09-12 16:07:06.451 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:06.451 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 09-12 16:07:06.454 6220 6551 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 09-12 16:07:06.454 6220 6551 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:06.454 6220 6551 I TSLocationManager: ║ providerchange LocationResult: 2 09-12 16:07:06.454 6220 6551 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:06.454 6220 6551 I TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m22s881ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}], age: 89ms, time: 1662991626364 09-12 16:07:06.464 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:06.464 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 09-12 16:07:06.468 6220 6554 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 09-12 16:07:06.468 6220 6554 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:06.468 6220 6554 I TSLocationManager: ║ motionchange LocationResult: 1 09-12 16:07:06.468 6220 6554 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:06.468 6220 6554 I TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m22s881ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}], age: 103ms, time: 1662991626364 09-12 16:07:06.472 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 09-12 16:07:06.486 6220 6220 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 09-12 16:07:06.639 6220 6551 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 1100.0 09-12 16:07:06.657 6220 6551 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? false 09-12 16:07:06.657 6220 6551 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 09-12 16:07:06.658 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 1100.0 09-12 16:07:06.663 6220 6554 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? false 09-12 16:07:06.663 6220 6554 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 09-12 16:07:12.824 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:12.824 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 09-12 16:07:12.827 6220 6554 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 09-12 16:07:12.827 6220 6554 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:12.827 6220 6554 I TSLocationManager: ║ providerchange LocationResult: 2 09-12 16:07:12.827 6220 6554 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:12.827 6220 6554 I TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m27s887ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}], age: 1456ms, time: 1662991631369 09-12 16:07:12.835 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:12.835 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 09-12 16:07:12.837 6220 6551 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 09-12 16:07:12.837 6220 6551 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:12.837 6220 6551 I TSLocationManager: ║ motionchange LocationResult: 1 09-12 16:07:12.837 6220 6551 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:12.837 6220 6551 I TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m27s887ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}], age: 1467ms, time: 1662991631369 09-12 16:07:12.847 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 1100.0 09-12 16:07:12.852 6220 6554 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? false 09-12 16:07:12.853 6220 6554 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 09-12 16:07:12.853 6220 6551 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 1100.0 09-12 16:07:12.857 6220 6551 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? false 09-12 16:07:12.857 6220 6551 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 09-12 16:07:16.439 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:16.439 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 09-12 16:07:16.442 6220 6551 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 09-12 16:07:16.442 6220 6551 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:16.442 6220 6551 I TSLocationManager: ║ providerchange LocationResult: 2 09-12 16:07:16.442 6220 6551 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:16.442 6220 6551 I TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m32s896ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}], age: 62ms, time: 1662991636379 09-12 16:07:16.448 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:16.448 6220 6220 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 09-12 16:07:16.450 6220 6554 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 09-12 16:07:16.450 6220 6554 I TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:16.450 6220 6554 I TSLocationManager: ║ motionchange LocationResult: 1 09-12 16:07:16.450 6220 6554 I TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:16.450 6220 6554 I TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m32s896ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}], age: 71ms, time: 1662991636379 09-12 16:07:16.455 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 09-12 16:07:16.457 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 09-12 16:07:16.457 6220 6220 D TSLocationManager: 🔴 LocationRequestService stopped 09-12 16:07:16.466 6220 6551 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 09-12 16:07:16.466 6220 6551 I TSLocationManager: 🔵 Acquired providerchange position 09-12 16:07:16.470 6220 6551 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true 09-12 16:07:16.470 6220 6220 D TSLocationManager: [c.t.l.l.TSLocationManager$b onLocation] 09-12 16:07:16.470 6220 6220 D TSLocationManager: ℹ️ Distance from last location: 4872162.5 09-12 16:07:16.471 6220 6554 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 09-12 16:07:16.471 6220 6554 I TSLocationManager: 🔵 Acquired motionchange position, isMoving: true 09-12 16:07:16.471 6220 6220 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 09-12 16:07:16.471 6220 6220 I TSLocationManager: 🎾 Location-services: ON 09-12 16:07:16.472 6220 6220 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 09-12 16:07:16.473 6220 6551 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 09-12 16:07:16.476 6220 6554 I TSLocationManager: [c.t.l.l.TSLocationManager removeLocationUpdates] 09-12 16:07:16.476 6220 6554 I TSLocationManager: 🔴 Location-services: OFF 09-12 16:07:16.478 6220 6554 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates] 09-12 16:07:16.478 6220 6554 I TSLocationManager: 🎾 Location-services: ON 09-12 16:07:16.479 6220 6554 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 09-12 16:07:16.480 6220 6554 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? true 09-12 16:07:16.483 6220 6554 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 09-12 16:07:16.483 6220 6554 I TSLocationManager: 🎾 Start motion-activity updates 09-12 16:07:16.485 6220 6554 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 09-12 16:07:16.518 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:16.518 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:16.520 6220 6220 D TSLocationManager: [c.t.l.service.TrackingService handleLocationResult] 09-12 16:07:16.520 6220 6220 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:16.520 6220 6220 D TSLocationManager: ║ TrackingService: LocationResult 09-12 16:07:16.520 6220 6220 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:16.520 6220 6220 D TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m32s896ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}] 09-12 16:07:16.520 6220 6220 D TSLocationManager: ╟─ Age: 140ms, time: 1662991636379 09-12 16:07:16.521 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:16.521 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:16.521 6220 6554 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:16.521 6220 6554 D TSLocationManager: ║ Process LocationResult 09-12 16:07:16.521 6220 6554 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:16.521 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:16.521 6220 6554 D TSLocationManager: ℹ️ IGNORED: same as last location 09-12 16:07:16.538 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:16.538 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:16.540 6220 6220 D TSLocationManager: [c.t.l.service.TrackingService handleLocationResult] 09-12 16:07:16.540 6220 6220 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:16.540 6220 6220 D TSLocationManager: ║ TrackingService: LocationResult 09-12 16:07:16.540 6220 6220 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:16.540 6220 6220 D TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m32s896ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}] 09-12 16:07:16.540 6220 6220 D TSLocationManager: ╟─ Age: 161ms, time: 1662991636379 09-12 16:07:16.541 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:16.541 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:16.541 6220 6554 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:16.541 6220 6554 D TSLocationManager: ║ Process LocationResult 09-12 16:07:16.541 6220 6554 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:16.542 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:16.542 6220 6554 D TSLocationManager: ℹ️ IGNORED: same as last location 09-12 16:07:21.602 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:21.602 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:21.605 6220 6220 D TSLocationManager: [c.t.l.service.TrackingService handleLocationResult] 09-12 16:07:21.605 6220 6220 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:21.605 6220 6220 D TSLocationManager: ║ TrackingService: LocationResult 09-12 16:07:21.605 6220 6220 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:21.605 6220 6220 D TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m38s68ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}] 09-12 16:07:21.605 6220 6220 D TSLocationManager: ╟─ Age: 53ms, time: 1662991641550 09-12 16:07:21.606 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:21.606 6220 6554 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:21.606 6220 6554 D TSLocationManager: ║ Process LocationResult 09-12 16:07:21.606 6220 6554 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:21.606 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:21.606 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:21.606 6220 6554 D TSLocationManager: ℹ️ IGNORED: same as last location 09-12 16:07:27.966 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:27.966 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:27.970 6220 6220 D TSLocationManager: [c.t.l.service.TrackingService handleLocationResult] 09-12 16:07:27.970 6220 6220 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:27.970 6220 6220 D TSLocationManager: ║ TrackingService: LocationResult 09-12 16:07:27.970 6220 6220 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:27.970 6220 6220 D TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m43s76ms vel=0.0 bear=90.0 vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}] 09-12 16:07:27.970 6220 6220 D TSLocationManager: ╟─ Age: 1409ms, time: 1662991646559 09-12 16:07:27.971 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:27.971 6220 6554 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:27.971 6220 6554 D TSLocationManager: ║ Process LocationResult 09-12 16:07:27.971 6220 6554 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:27.971 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:27.971 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:27.971 6220 6554 D TSLocationManager: ℹ️ IGNORED: same as last location 09-12 16:07:31.975 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:31.975 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:31.979 6220 6220 D TSLocationManager: [c.t.l.service.TrackingService handleLocationResult] 09-12 16:07:31.979 6220 6220 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:31.979 6220 6220 D TSLocationManager: ║ TrackingService: LocationResult 09-12 16:07:31.979 6220 6220 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:31.979 6220 6220 D TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1400 et=+6d4h13m48s441ms vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}] 09-12 16:07:31.979 6220 6220 D TSLocationManager: ╟─ Age: 53ms, time: 1662991651923 09-12 16:07:31.979 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:31.979 6220 6554 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:31.979 6220 6554 D TSLocationManager: ║ Process LocationResult 09-12 16:07:31.979 6220 6554 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:31.979 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:31.980 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 1100.0 09-12 16:07:38.161 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService start] 09-12 16:07:38.161 6220 6220 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 09-12 16:07:38.164 6220 6220 D TSLocationManager: [c.t.l.service.TrackingService handleLocationResult] 09-12 16:07:38.164 6220 6220 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:38.164 6220 6220 D TSLocationManager: ║ TrackingService: LocationResult 09-12 16:07:38.164 6220 6220 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:38.164 6220 6220 D TSLocationManager: ╟─ 📍 Location[fused 43****** -8****** hAcc=1100 et=+6d4h13m53s449ms vAcc=??? sAcc=??? bAcc=??? {Bundle[EMPTY_PARCEL]}] 09-12 16:07:38.164 6220 6220 D TSLocationManager: ╟─ Age: 1231ms, time: 1662991656931 09-12 16:07:38.165 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 09-12 16:07:38.165 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager onLocationResult] 09-12 16:07:38.165 6220 6554 D TSLocationManager: ╔═════════════════════════════════════════════ 09-12 16:07:38.165 6220 6554 D TSLocationManager: ║ Process LocationResult 09-12 16:07:38.165 6220 6554 D TSLocationManager: ╠═════════════════════════════════════════════ 09-12 16:07:38.166 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 1100.0 09-12 16:07:41.369 6220 6442 D TSLocationManager: $ stop() 09-12 16:07:41.374 6220 6554 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving] 09-12 16:07:41.384 6220 6554 I TSLocationManager: [c.t.l.l.TSLocationManager removeLocationUpdates] 09-12 16:07:41.384 6220 6554 I TSLocationManager: 🔴 Location-services: OFF 09-12 16:07:41.385 6220 6554 D TSLocationManager: [c.t.l.l.TSLocationManager clearLastOdometerLocation] 09-12 16:07:41.385 6220 6554 D TSLocationManager: ℹ️ Clear last odometer location 09-12 16:07:41.391 6220 6554 I TSLocationManager: [c.t.l.s.ActivityRecognitionService stop] 09-12 16:07:41.391 6220 6554 I TSLocationManager: 🔴 Stop motion-activity updates 09-12 16:07:41.391 6220 6551 D TSLocationManager: [c.t.l.g.TSGeofenceManager d] ℹ️ Persist monitored geofences: [] 09-12 16:07:41.392 6220 6551 D TSLocationManager: [c.t.l.g.TSGeofenceManager f] 09-12 16:07:41.392 6220 6551 D TSLocationManager: 🔴 Stop monitoring geofences 09-12 16:07:41.396 6220 6554 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 09-12 16:07:41.396 6220 6554 I TSLocationManager: 🔴 Stop heartbeat 09-12 16:07:41.402 6220 6554 D TSLocationManager: [c.t.l.http.HttpService stopMonitoringConnectivityChanges] 09-12 16:07:41.402 6220 6554 D TSLocationManager: 🔴 Stop monitoring connectivity changes 09-12 16:07:41.405 6220 6554 D TSLocationManager: [c.t.l.device.DeviceSettings stopMonitoringPowerSaveChanges] 09-12 16:07:41.405 6220 6554 D TSLocationManager: 🔴 Stop monitoring powersave changes 09-12 16:07:41.407 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 09-12 16:07:41.425 6220 6220 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 09-12 16:07:41.425 6220 6220 D TSLocationManager: 🔴 TrackingService stopped ```
christocracy commented 1 year ago

See api docs onLocation and learn about location.sample flag.

Every location the plugin is provided from the native api ends up at onLocation.

Eg: onMotionChange, onProviderChange.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.