transistorsoft / react-native-background-geolocation

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

Android app not tracking location when app is terminated #1308

Closed Coala1010 closed 2 years ago

Coala1010 commented 3 years ago

Your Environment


## Expected Behavior
the android app should track location when it is terminated

## Actual Behavior
When the app is in the background or foreground it tracks well. But when the app is killed it stops tracking. Even debug sound stops coming after the app is killed. We are not using a mock location app and doing a real ride

## Steps to Reproduce
<!--- reproduce this issue; include code to reproduce, if relevant -->
1. Open the app
2. Start tracking
3. Close the app
4. You will see the app has stopped tracking

## Context
<!--- What were you trying to do? -->

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

``` <!-- Syntax highlighting:  DO NOT REMOVE -->
--------- beginning of system
--------- beginning of main
05-31 18:50:12.420  8225  8283 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️   Persist config, dirty: [allowIdenticalLocations, backgroundPermissionRationale, backgroundPermissionRationale.title, backgroundPermissionRationale.message, backgroundPermissionRationale.positiveAction, backgroundPermissionRationale.negativeAction, debug, desiredAccuracy, enableHeadless, headlessJobService, heartbeatInterval, logLevel, startOnBoot, stopOnTerminate, stopTimeout]
05-31 18:50:12.422  8225  8283 I TSLocationManager: [c.t.l.service.HeartbeatService b]
05-31 18:50:12.422  8225  8283 I TSLocationManager:   🎾  Start heartbeat (60s)
05-31 18:50:12.426  8225  8283 D TSLocationManager: [c.t.locationmanager.util.c e]
05-31 18:50:12.426  8225  8283 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 18:50:12.435  8225  8285 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1
05-31 18:50:12.461  8225  8285 I TSLocationManager: [c.t.l.s.ActivityRecognitionService b]
05-31 18:50:12.461  8225  8285 I TSLocationManager:   🎾  Start motion-activity updates
05-31 18:50:12.463  8225  8225 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot]
05-31 18:50:12.463  8225  8225 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
05-31 18:50:12.466  8225  8285 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges]
05-31 18:50:12.466  8225  8285 D TSLocationManager:   🎾  Start monitoring connectivity changes
05-31 18:50:12.469  8225  8285 D TSLocationManager: [c.t.locationmanager.device.a c]
05-31 18:50:12.469  8225  8285 D TSLocationManager:   🎾  Start monitoring powersave changes
05-31 18:50:12.471  8225  8285 D TSLocationManager: [c.t.locationmanager.util.c f]
05-31 18:50:12.471  8225  8285 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 18:50:12.471  8225  8285 I TSLocationManager: [c.t.l.service.HeartbeatService b]
05-31 18:50:12.471  8225  8285 I TSLocationManager:   🎾  Start heartbeat (60s)
05-31 18:50:12.490  8225  8225 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings
05-31 18:50:12.490  8225  8225 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
05-31 18:50:12.537  8225  8225 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0
05-31 18:50:12.577  8225  8225 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy]
05-31 18:50:12.606  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 18:50:12.606  8225  8225 D TSLocationManager:   🎾  ActivityRecognitionService [eventCount: 1]
05-31 18:50:12.608  8225  8285 D TSLocationManager: [c.t.l.s.ActivityRecognitionService a]
05-31 18:50:12.608  8225  8285 D TSLocationManager:   🚘 ️DetectedActivity [type=STILL, confidence=100]
05-31 18:50:12.637  8225  8285 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish ActivityRecognitionService [eventCount: 0, sticky: false]
05-31 18:50:12.761  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 18:50:12.761  8225  8225 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 18:50:12.765  8225  8285 I TSLocationManager: [c.t.l.s.LocationRequestService a]
05-31 18:50:12.765  8225  8285 I TSLocationManager:   ℹ️  Location availability: true
05-31 18:50:12.765  8225  8285 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 18:50:13.018  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 18:50:13.018  8225  8225 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 18:50:13.643  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 18:50:13.643  8225  8225 D TSLocationManager:   πŸ”΄  ActivityRecognitionService destroyed
05-31 18:50:20.517  8225  8311 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️   Persist config, dirty: [isMoving]
05-31 18:50:20.523  8225  8311 I TSLocationManager: [c.t.l.service.HeartbeatService c]
05-31 18:50:20.523  8225  8311 I TSLocationManager:   πŸ”΄  Stop heartbeat
05-31 18:50:20.535  8225  8311 D TSLocationManager: [c.t.locationmanager.util.c f]
05-31 18:50:20.535  8225  8311 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 18:50:20.536  8225  8311 I TSLocationManager: [c.t.l.service.TrackingService a]
05-31 18:50:20.536  8225  8311 I TSLocationManager:   πŸ”΅  setPace: false β†’ true
05-31 18:50:20.558  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 18:50:20.558  8225  8225 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 18:50:20.559  8225  8225 I TSLocationManager: [c.t.l.service.TrackingService h]
05-31 18:50:20.559  8225  8225 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 18:50:20.559  8225  8225 I TSLocationManager: β•‘ TrackingService motionchange: true
05-31 18:50:20.559  8225  8225 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 18:50:20.559  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 18:50:20.820  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 18:50:20.820  8225  8225 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 18:50:20.825  8225  8311 I TSLocationManager: [c.t.l.s.LocationRequestService a]
05-31 18:50:20.825  8225  8311 I TSLocationManager:   ℹ️  Location availability: true
05-31 18:50:20.826  8225  8311 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 18:50:21.078  8225  8225 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 18:50:21.078  8225  8225 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 18:50:22.480  8225  8398 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot]
05-31 18:50:22.480  8225  8398 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 18:50:22.480  8225  8398 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT
05-31 18:50:22.480  8225  8398 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 18:50:22.483  8225  8398 D TSLocationManager: [c.t.l.event.TerminateEvent <init>]
05-31 18:50:22.483  8225  8398 D TSLocationManager:   ℹ️  TERMINATE_EVENT ignored (MainActivity is still active).
05-31 18:50:25.568  8225  8225 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot]
05-31 18:50:25.568  8225  8225 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)

christocracy commented 3 years ago

You're not showing enough logs, as I said in previous issue.

christocracy commented 3 years ago

Try on a non-Huawei device. Huawei are the worst possible devices to test on.

Coala1010 commented 3 years ago

my log level is BackgroundGeolocation.LOG_LEVEL_VERBOSE

C:\Users\coala>adb logcat -s TSLocationManager
--------- beginning of system
--------- beginning of main
05-31 20:44:52.209 22800 22916 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️   Persist config, dirty: [isMoving]
05-31 20:44:52.212 22800 22916 I TSLocationManager: [c.t.l.service.HeartbeatService c]
05-31 20:44:52.212 22800 22916 I TSLocationManager:   πŸ”΄  Stop heartbeat
05-31 20:44:52.224 22800 22916 D TSLocationManager: [c.t.locationmanager.util.c f]
05-31 20:44:52.224 22800 22916 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 20:44:52.224 22800 22916 I TSLocationManager: [c.t.l.service.TrackingService a]
05-31 20:44:52.224 22800 22916 I TSLocationManager:   πŸ”΅  setPace: false β†’ true
05-31 20:44:52.255 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:44:52.255 22800 22800 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:44:52.257 22800 22800 I TSLocationManager: [c.t.l.service.TrackingService h]
05-31 20:44:52.257 22800 22800 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:44:52.257 22800 22800 I TSLocationManager: β•‘ TrackingService motionchange: true
05-31 20:44:52.257 22800 22800 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:44:52.257 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 20:44:52.469 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:44:52.469 22800 22800 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:44:52.470 22800 22864 I TSLocationManager: [c.t.l.s.LocationRequestService a]
05-31 20:44:52.470 22800 22864 I TSLocationManager:   ℹ️  Location availability: true
05-31 20:44:52.472 22800 22864 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:44:52.723 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:44:52.723 22800 22800 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 20:44:54.286 22800 22866 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot]
05-31 20:44:54.286 22800 22866 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:44:54.286 22800 22866 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT
05-31 20:44:54.286 22800 22866 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:44:54.289 22800 22866 D TSLocationManager: [c.t.l.event.TerminateEvent <init>]
05-31 20:44:54.289 22800 22866 D TSLocationManager:   ℹ️  TERMINATE_EVENT ignored (MainActivity is still active).
05-31 20:45:01.654 22800 22800 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot]
05-31 20:45:01.654 22800 22800 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
05-31 20:45:05.940 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:45:05.940 22800 22800 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:45:05.947 22800 22866 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:45:05.947 22800 22866 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:45:05.947 22800 22866 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 1
05-31 20:45:05.947 22800 22866 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:45:05.947 22800 22866 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h19m52s397ms alt=82.68600280562444 vel=0.0 bear=90.0 vAcc=137 sAcc=??? bAcc=???], age: 1655ms, time: 1622465104291
05-31 20:45:06.054 22800 22866 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 2299.999
05-31 20:45:06.082 22800 22866 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 1 isFinished? false
05-31 20:45:06.083 22800 22866 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: true]
05-31 20:45:11.751 22800 22888 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot]
05-31 20:45:11.751 22800 22888 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:45:11.751 22800 22888 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT
05-31 20:45:11.751 22800 22888 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:45:11.768 22800 22888 D TSLocationManager: [c.t.l.event.TerminateEvent <init>]
05-31 20:45:11.768 22800 22888 D TSLocationManager:   ℹ️  TERMINATE_EVENT ignored (MainActivity is still active).
05-31 20:45:12.536 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:45:12.536 22800 22800 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:45:12.553 22800 22888 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:45:12.553 22800 22888 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:45:12.553 22800 22888 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 1
05-31 20:45:12.553 22800 22888 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:45:12.553 22800 22888 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h19m58s996ms alt=82.74325545109035 vel=0.0 bear=90.0 vAcc=137 sAcc=??? bAcc=???], age: 1652ms, time: 1622465110890
05-31 20:45:12.560 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:45:12.560 22800 22800 D TSLocationManager:   🎾  LocationRequestService [eventCount: 2]
05-31 20:45:12.566 22800 22864 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:45:12.566 22800 22864 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:45:12.566 22800 22864 I TSLocationManager: β•‘ motionchange LocationResult: 2
05-31 20:45:12.566 22800 22864 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:45:12.566 22800 22864 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h19m58s996ms alt=82.74325545109035 vel=0.0 bear=90.0 vAcc=137 sAcc=??? bAcc=???], age: 1675ms, time: 1622465110890
05-31 20:45:12.619 22800 22888 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 2299.999
05-31 20:45:12.625 22800 22888 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 1 isFinished? false
05-31 20:45:12.626 22800 22888 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 1, sticky: true]
05-31 20:45:12.630 22800 22864 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-31 20:45:12.630 22800 22864 I TSLocationManager:   πŸ”΅  Acquired motionchange position, isMoving: true
05-31 20:45:12.630 22800 22864 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 2299.999
05-31 20:45:12.637 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:45:12.638 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:45:12.638 22800 22800 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 20:45:12.642 22800 22864 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
05-31 20:45:12.642 22800 22864 I TSLocationManager:   🎾  Location-services: ON
05-31 20:45:12.648 22800 22864 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
05-31 20:45:12.648 22800 22864 I TSLocationManager:   🎾  Location-services: ON
05-31 20:45:12.649 22800 22864 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
05-31 20:45:12.653 22800 22800 I TSLocationManager: [c.t.l.s.ActivityRecognitionService b]
05-31 20:45:12.653 22800 22800 I TSLocationManager:   🎾  Start motion-activity updates
05-31 20:45:12.653 22800 22864 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 2 isFinished? true
05-31 20:45:12.654 22800 22864 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:45:12.656 22800 22888 I TSLocationManager: [c.t.l.data.sqlite.b persist]
05-31 20:45:12.656 22800 22888 I TSLocationManager:   βœ…  INSERT: a0181dd3-f83e-48ac-88ff-fb9391055296
05-31 20:45:12.658 22800 22800 I TSLocationManager: [c.t.l.l.TSLocationManager removeLocationUpdates]
05-31 20:45:12.658 22800 22800 I TSLocationManager:   πŸ”΄  Location-services: OFF
05-31 20:45:12.661 22800 22800 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
05-31 20:45:12.661 22800 22800 I TSLocationManager:   🎾  Location-services: ON
05-31 20:45:12.661 22800 22800 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
05-31 20:45:12.714 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:45:12.714 22800 22800 D TSLocationManager:   🎾  ActivityRecognitionService [eventCount: 1]
05-31 20:45:12.716 22800 22866 D TSLocationManager: [c.t.l.s.ActivityRecognitionService a]
05-31 20:45:12.716 22800 22866 D TSLocationManager:   🚘 ️DetectedActivity [type=STILL, confidence=100]
05-31 20:45:12.735 22800 22866 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish ActivityRecognitionService [eventCount: 0, sticky: false]
05-31 20:45:12.738 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:45:12.738 22800 22800 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:45:12.739 22800 22800 I TSLocationManager: [c.t.l.service.TrackingService a]
05-31 20:45:12.739 22800 22800 I TSLocationManager:   ℹ️  Location availability: true
05-31 20:45:12.740 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 20:45:12.782 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:45:12.782 22800 22800 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:45:12.782 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 20:45:13.741 22800 22800 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:45:13.741 22800 22800 D TSLocationManager:   πŸ”΄  ActivityRecognitionService destroyed
05-31 20:46:39.853 23344 23378 I TSLocationManager: [c.t.l.adapter.TSConfig print]
05-31 20:46:39.853 23344 23378 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:46:39.853 23344 23378 I TSLocationManager: β•‘ TSLocationManager version: 3.1.22 (378)
05-31 20:46:39.853 23344 23378 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:46:39.853 23344 23378 I TSLocationManager: β•Ÿβ”€ HUAWEI MHA-AL00 @ 9 (react-native)
05-31 20:46:39.853 23344 23378 I TSLocationManager: {
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "activityRecognitionInterval": 10000,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "allowIdenticalLocations": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "authorization": {},
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "autoSync": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "autoSyncThreshold": 0,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "backgroundPermissionRationale": {
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "title": "Allow veBee to access to this device's location in the background?",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "message": "In order to track your activity in the background, please enable {backgroundPermissionOptionLabel} location permission",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "positiveAction": "Change to {backgroundPermissionOptionLabel}",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "negativeAction": "Cancel"
05-31 20:46:39.853 23344 23378 I TSLocationManager:   },
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "batchSync": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "configUrl": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "debug": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "deferTime": 0,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "desiredAccuracy": -1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "desiredOdometerAccuracy": 100,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "disableAutoSyncOnCellular": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "disableElasticity": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "disableLocationAuthorizationAlert": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "disableMotionActivityUpdates": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "disableStopDetection": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "distanceFilter": 10,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "elasticityMultiplier": 1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "enableHeadless": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "enableTimestampMeta": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "extras": {},
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "fastestLocationUpdateInterval": -1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "foregroundService": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "geofenceInitialTriggerEntry": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "geofenceModeHighAccuracy": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "geofenceProximityRadius": 1000,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "geofenceTemplate": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "headers": {},
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "heartbeatInterval": 60,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "httpRootProperty": "location",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "httpTimeout": 60000,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "isMoving": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "locationAuthorizationRequest": "Always",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "locationTemplate": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "locationTimeout": 60,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "locationUpdateInterval": 1000,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "locationsOrderDirection": "ASC",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "logLevel": 5,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "logMaxDays": 3,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "maxBatchSize": -1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "maxDaysToPersist": 1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "maxRecordsToPersist": -1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "method": "POST",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "minimumActivityRecognitionConfidence": 75,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "motionTriggerDelay": 0,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "notification": {
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "layout": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "title": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "text": "Location Service activated",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "color": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "channelName": "TSLocationManager",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "smallIcon": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "largeIcon": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "priority": 0,
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "sticky": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "strings": {},
05-31 20:46:39.853 23344 23378 I TSLocationManager:     "actions": []
05-31 20:46:39.853 23344 23378 I TSLocationManager:   },
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "params": {},
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "persist": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "persistMode": 2,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "schedule": [],
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "scheduleUseAlarmManager": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "speedJumpFilter": 300,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "startOnBoot": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "stationaryRadius": 25,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "stopAfterElapsedMinutes": 0,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "stopOnStationary": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "stopOnTerminate": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "stopTimeout": 1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "url": "",
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "useSignificantChangesOnly": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "enabled": true,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "schedulerEnabled": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "trackingMode": 1,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "odometer": 5680.03564453125,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "isFirstBoot": false,
05-31 20:46:39.853 23344 23378 I TSLocationManager:   "didLaunchInBackground": false
05-31 20:46:39.853 23344 23378 I TSLocationManager: }
05-31 20:46:39.862 23344 23378 I TSLocationManager: [c.t.l.adapter.TSConfig print]
05-31 20:46:39.862 23344 23378 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:46:39.862 23344 23378 I TSLocationManager: β•‘ DEVICE SENSORS
05-31 20:46:39.862 23344 23378 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:46:39.862 23344 23378 I TSLocationManager: β•Ÿβ”€ βœ…  ACCELEROMETER: {Sensor name="accelerometer-icm20690", vendor="invensense", version=1, type=1, maxRange=78.4532, resolution=0.009576807, power=0.23, minDelay=5000}
05-31 20:46:39.862 23344 23378 I TSLocationManager: β•Ÿβ”€ βœ…  GYROSCOPE: {Sensor name="gyroscope-icm20690", vendor="invensense", version=1, type=4, maxRange=34.906586, resolution=1.7453292E-5, power=6.1, minDelay=5000}
05-31 20:46:39.862 23344 23378 I TSLocationManager: β•Ÿβ”€ βœ…  MAGNETOMETER: {Sensor name="mag-akm09911", vendor="akm", version=1001, type=2, maxRange=2000.0, resolution=0.0625, power=6.8, minDelay=10000}
05-31 20:46:39.862 23344 23378 I TSLocationManager: β•Ÿβ”€ βœ…  SIGNIFICANT_MOTION: {Sensor name="significant Motion", vendor="huawei", version=1, type=17, maxRange=2.14748365E9, resolution=1.0, power=0.23, minDelay=-1}
05-31 20:46:39.862 23344 23378 I TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
05-31 20:46:39.877 23344 23387 I TSLocationManager: [c.t.l.a.BackgroundGeolocation <init>]
05-31 20:46:39.877 23344 23387 I TSLocationManager:   βœ…  Google Play Services: connected (version code:12451000)
05-31 20:46:39.884 23344 23407 D TSLocationManager: [c.t.l.l.TSLocationManager$d run]
05-31 20:46:39.884 23344 23407 D TSLocationManager:   ℹ️  Load last odometer location: Location[TSLocationManager 39******,122****** hAcc=64 t=?!? et=?!? vAcc=??? sAcc=??? bAcc=???]
05-31 20:46:39.887 23344 23387 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges]
05-31 20:46:39.887 23344 23387 D TSLocationManager:   🎾  Start monitoring connectivity changes
05-31 20:46:39.897 23344 23409 D TSLocationManager: [c.t.l.http.HttpService a]
05-31 20:46:39.897 23344 23409 D TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:46:39.897 23344 23409 D TSLocationManager: β•‘ πŸ“Ά  Connectivity change: connected? true
05-31 20:46:39.897 23344 23409 D TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:46:39.898 23344 23387 I TSLocationManager: [c.t.l.a.BackgroundGeolocation d]
05-31 20:46:39.898 23344 23387 I TSLocationManager:   🎾  Start monitoring location-provider changes
05-31 20:46:39.901 23344 23407 D TSLocationManager: [c.t.l.data.sqlite.b prune]
05-31 20:46:39.901 23344 23407 D TSLocationManager:   ℹ️  PRUNE -1 days
05-31 20:46:40.505 23344 23402 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️   Persist config, dirty: [allowIdenticalLocations, backgroundPermissionRationale, backgroundPermissionRationale.title, backgroundPermissionRationale.message, backgroundPermissionRationale.positiveAction, backgroundPermissionRationale.negativeAction, debug, desiredAccuracy, enableHeadless, headlessJobService, heartbeatInterval, logLevel, startOnBoot, stopOnTerminate, stopTimeout]
05-31 20:46:40.507 23344 23402 I TSLocationManager: [c.t.l.service.HeartbeatService b]
05-31 20:46:40.507 23344 23402 I TSLocationManager:   🎾  Start heartbeat (60s)
05-31 20:46:40.510 23344 23402 D TSLocationManager: [c.t.locationmanager.util.c e]
05-31 20:46:40.510 23344 23402 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 20:46:40.514 23344 23404 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1
05-31 20:46:40.536 23344 23404 I TSLocationManager: [c.t.l.s.ActivityRecognitionService b]
05-31 20:46:40.536 23344 23404 I TSLocationManager:   🎾  Start motion-activity updates
05-31 20:46:40.536 23344 23344 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot]
05-31 20:46:40.536 23344 23344 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
05-31 20:46:40.541 23344 23404 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges]
05-31 20:46:40.541 23344 23404 D TSLocationManager:   🎾  Start monitoring connectivity changes
05-31 20:46:40.543 23344 23404 D TSLocationManager: [c.t.locationmanager.device.a c]
05-31 20:46:40.543 23344 23404 D TSLocationManager:   🎾  Start monitoring powersave changes
05-31 20:46:40.549 23344 23404 D TSLocationManager: [c.t.locationmanager.util.c f]
05-31 20:46:40.549 23344 23404 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 20:46:40.550 23344 23404 I TSLocationManager: [c.t.l.service.HeartbeatService b]
05-31 20:46:40.550 23344 23404 I TSLocationManager:   🎾  Start heartbeat (60s)
05-31 20:46:40.573 23344 23344 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings
05-31 20:46:40.573 23344 23344 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
05-31 20:46:40.598 23344 23344 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0
05-31 20:46:40.610 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:46:40.610 23344 23344 D TSLocationManager:   🎾  ActivityRecognitionService [eventCount: 1]
05-31 20:46:40.611 23344 23404 D TSLocationManager: [c.t.l.s.ActivityRecognitionService a]
05-31 20:46:40.611 23344 23404 D TSLocationManager:   🚘 ️DetectedActivity [type=STILL, confidence=100]
05-31 20:46:40.614 23344 23404 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish ActivityRecognitionService [eventCount: 0, sticky: false]
05-31 20:46:40.633 23344 23344 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy]
05-31 20:46:40.700 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:46:40.700 23344 23344 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:46:40.701 23344 23404 I TSLocationManager: [c.t.l.s.LocationRequestService a]
05-31 20:46:40.701 23344 23404 I TSLocationManager:   ℹ️  Location availability: true
05-31 20:46:40.701 23344 23404 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:46:40.954 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:46:40.954 23344 23344 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 20:46:41.619 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:46:41.619 23344 23344 D TSLocationManager:   πŸ”΄  ActivityRecognitionService destroyed
05-31 20:46:48.580 23344 23449 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️   Persist config, dirty: [isMoving]
05-31 20:46:48.587 23344 23449 I TSLocationManager: [c.t.l.service.HeartbeatService c]
05-31 20:46:48.587 23344 23449 I TSLocationManager:   πŸ”΄  Stop heartbeat
05-31 20:46:48.601 23344 23449 D TSLocationManager: [c.t.locationmanager.util.c f]
05-31 20:46:48.601 23344 23449 D TSLocationManager:   ℹ️  LocationAuthorization: Permission granted
05-31 20:46:48.604 23344 23449 I TSLocationManager: [c.t.l.service.TrackingService a]
05-31 20:46:48.604 23344 23449 I TSLocationManager:   πŸ”΅  setPace: false β†’ true
05-31 20:46:48.635 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:46:48.635 23344 23344 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:46:48.637 23344 23344 I TSLocationManager: [c.t.l.service.TrackingService h]
05-31 20:46:48.637 23344 23344 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:46:48.637 23344 23344 I TSLocationManager: β•‘ TrackingService motionchange: true
05-31 20:46:48.637 23344 23344 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:46:48.638 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 20:46:48.831 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:46:48.831 23344 23344 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:46:48.831 23344 23449 I TSLocationManager: [c.t.l.s.LocationRequestService a]
05-31 20:46:48.831 23344 23449 I TSLocationManager:   ℹ️  Location availability: true
05-31 20:46:48.835 23344 23449 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:46:49.136 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:46:49.136 23344 23344 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 20:46:50.583 23344 23407 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot]
05-31 20:46:50.583 23344 23407 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:46:50.583 23344 23407 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT
05-31 20:46:50.583 23344 23407 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:46:50.588 23344 23407 D TSLocationManager: [c.t.l.event.TerminateEvent <init>]
05-31 20:46:50.588 23344 23407 D TSLocationManager:   ℹ️  TERMINATE_EVENT ignored (MainActivity is still active).
05-31 20:47:02.111 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:02.111 23344 23344 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:47:02.122 23344 23407 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:47:02.122 23344 23407 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:47:02.122 23344 23407 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 1
05-31 20:47:02.122 23344 23407 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:47:02.122 23344 23407 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h21m48s598ms alt=82.5429744411664 vel=0.0 bear=90.0 vAcc=142 sAcc=??? bAcc=???], age: 1628ms, time: 1622465220491
05-31 20:47:02.224 23344 23407 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 2299.999
05-31 20:47:02.252 23344 23407 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 1 isFinished? false
05-31 20:47:02.253 23344 23407 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: true]
05-31 20:47:08.699 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:08.699 23344 23344 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:47:08.705 23344 23410 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:47:08.705 23344 23410 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:47:08.705 23344 23410 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 1
05-31 20:47:08.705 23344 23410 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:47:08.705 23344 23410 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h21m55s207ms alt=82.67400240287462 vel=0.0 bear=90.0 vAcc=142 sAcc=??? bAcc=???], age: 1603ms, time: 1622465227101
05-31 20:47:08.717 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:08.717 23344 23344 D TSLocationManager:   🎾  LocationRequestService [eventCount: 2]
05-31 20:47:08.720 23344 23404 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:47:08.720 23344 23404 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:47:08.720 23344 23404 I TSLocationManager: β•‘ motionchange LocationResult: 2
05-31 20:47:08.720 23344 23404 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:47:08.720 23344 23404 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h21m55s207ms alt=82.67400240287462 vel=0.0 bear=90.0 vAcc=142 sAcc=??? bAcc=???], age: 1619ms, time: 1622465227101
05-31 20:47:08.766 23344 23410 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 2299.999
05-31 20:47:08.769 23344 23410 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 1 isFinished? false
05-31 20:47:08.769 23344 23410 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 1, sticky: true]
05-31 20:47:08.773 23344 23404 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-31 20:47:08.773 23344 23404 I TSLocationManager:   πŸ”΅  Acquired motionchange position, isMoving: true
05-31 20:47:08.773 23344 23404 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 2299.999
05-31 20:47:08.776 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:47:08.778 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:47:08.778 23344 23344 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 20:47:08.780 23344 23404 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
05-31 20:47:08.780 23344 23404 I TSLocationManager:   🎾  Location-services: ON
05-31 20:47:08.782 23344 23404 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
05-31 20:47:08.782 23344 23404 I TSLocationManager:   🎾  Location-services: ON
05-31 20:47:08.785 23344 23404 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
05-31 20:47:08.787 23344 23404 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 2 isFinished? true
05-31 20:47:08.787 23344 23344 I TSLocationManager: [c.t.l.s.ActivityRecognitionService b]
05-31 20:47:08.787 23344 23344 I TSLocationManager:   🎾  Start motion-activity updates
05-31 20:47:08.787 23344 23404 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:47:08.787 23344 23407 I TSLocationManager: [c.t.l.data.sqlite.b persist]
05-31 20:47:08.787 23344 23407 I TSLocationManager:   βœ…  INSERT: 3d0c412b-4690-4040-86c1-4be63f2ea451
05-31 20:47:08.787 23344 23344 I TSLocationManager: [c.t.l.l.TSLocationManager removeLocationUpdates]
05-31 20:47:08.787 23344 23344 I TSLocationManager:   πŸ”΄  Location-services: OFF
05-31 20:47:08.788 23344 23344 I TSLocationManager: [c.t.l.l.TSLocationManager requestLocationUpdates]
05-31 20:47:08.788 23344 23344 I TSLocationManager:   🎾  Location-services: ON
05-31 20:47:08.789 23344 23344 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
05-31 20:47:08.815 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:08.815 23344 23344 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:47:08.815 23344 23344 I TSLocationManager: [c.t.l.service.TrackingService a]
05-31 20:47:08.815 23344 23344 I TSLocationManager:   ℹ️  Location availability: true
05-31 20:47:08.815 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 20:47:08.833 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:08.833 23344 23344 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:47:08.833 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
05-31 20:47:11.000 23344 23344 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot]
05-31 20:47:11.000 23344 23344 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
05-31 20:47:15.408 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:15.408 23344 23344 D TSLocationManager:   🎾  LocationRequestService [eventCount: 1]
05-31 20:47:15.424 23344 23404 I TSLocationManager: [c.t.l.s.LocationRequestService b]
05-31 20:47:15.424 23344 23404 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:47:15.424 23344 23404 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 1
05-31 20:47:15.424 23344 23404 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:47:15.424 23344 23404 I TSLocationManager: β•Ÿβ”€ πŸ“  Location[fused 39******,122****** hAcc=2300 et=+28d5h22m1s834ms alt=82.58420600908273 vel=0.0 bear=90.0 vAcc=142 sAcc=??? bAcc=???], age: 1693ms, time: 1622465233727
05-31 20:47:15.464 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:47:15.467 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService onDestroy]
05-31 20:47:15.467 23344 23344 D TSLocationManager:   πŸ”΄  LocationRequestService destroyed
05-31 20:47:15.537 23344 23404 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult]
05-31 20:47:15.537 23344 23404 I TSLocationManager:   πŸ”΅  Acquired current position
05-31 20:47:15.540 23344 23404 D TSLocationManager: [c.t.l.s.LocationRequestService b] SingleLocationRequest 1 isFinished? true
05-31 20:47:15.541 23344 23404 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish LocationRequestService [eventCount: 0, sticky: false]
05-31 20:47:15.551 23344 23344 I TSLocationManager: [c.t.l.s.ActivityRecognitionService b]
05-31 20:47:15.551 23344 23344 I TSLocationManager:   🎾  Start motion-activity updates
05-31 20:47:15.581 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a]
05-31 20:47:15.581 23344 23344 D TSLocationManager:   🎾  TrackingService [eventCount: 1]
05-31 20:47:15.583 23344 23344 I TSLocationManager: [c.t.l.service.TrackingService h]
05-31 20:47:15.583 23344 23344 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 20:47:15.583 23344 23344 I TSLocationManager: β•‘ TrackingService motionchange: true
05-31 20:47:15.583 23344 23344 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 20:47:15.586 23344 23344 D TSLocationManager: [c.t.l.service.AbstractService a] βš™οΈοΈŽ  finish TrackingService [eventCount: 0, sticky: true]
Coala1010 commented 3 years ago

may I test on an emulator of nox player?

christocracy commented 3 years ago

What is supposed to happen is this: After the Scheduled Oneshot: TERMINATE_EVENT in 10000ms:

05-31 08:55:47.881 32553 32553 I TSLocationManager:   ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
.
. 10 seconds elapse...
.
05-31 08:55:58.547   622   693 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 08:55:58.547   622   693 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT
05-31 08:55:58.547   622   693 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 08:55:58.551   622   693 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a]
05-31 08:55:58.551   622   693 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 08:55:58.551   622   693 I TSLocationManager: β•‘ TSLocationManager version: 3.1.28 (384)
05-31 08:55:58.551   622   693 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 08:55:58.551   622   693 I TSLocationManager: β•Ÿβ”€ Google Pixel 3a @ 11 (capacitor)
05-31 08:55:58.551   622   693 I TSLocationManager: {
05-31 08:55:58.551   622   693 I TSLocationManager:   "activityRecognitionInterval": 10000,
                                                      .
                                                      .
                                                      .
05-31 08:55:58.551   622   693 I TSLocationManager: }
05-31 08:55:58.555   622   693 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a]
05-31 08:55:58.555   622   693 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 08:55:58.555   622   693 I TSLocationManager: β•‘ DEVICE SENSORS
05-31 08:55:58.555   622   693 I TSLocationManager: ╠═════════════════════════════════════════════
05-31 08:55:58.555   622   693 I TSLocationManager: β•Ÿβ”€ βœ…  ACCELEROMETER: {Sensor name="BMI160 Accelerometer", vendor="BOSCH", version=1, type=1, maxRange=156.99008, resolution=0.004790957, power=0.18, minDelay=2500}
05-31 08:55:58.555   622   693 I TSLocationManager: β•Ÿβ”€ βœ…  GYROSCOPE: {Sensor name="BMI160 Gyroscope", vendor="BOSCH", version=1, type=4, maxRange=34.906555, resolution=0.0010652635, power=0.9, minDelay=2500}
05-31 08:55:58.555   622   693 I TSLocationManager: β•Ÿβ”€ βœ…  MAGNETOMETER: {Sensor name="AK0991X Magnetometer", vendor="akm", version=20012, type=2, maxRange=4911.994, resolution=0.15, power=0.9, minDelay=10000}
05-31 08:55:58.555   622   693 I TSLocationManager: β•Ÿβ”€ βœ…  SIGNIFICANT_MOTION: {Sensor name="Significant Motion", vendor="Google", version=1, type=17, maxRange=1.0, resolution=1.0, power=0.25, minDelay=-1}
05-31 08:55:58.555   622   693 I TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
.
.
.
05-31 08:55:58.608   622   709 D TSLocationManager: ╔═════════════════════════════════════════════
05-31 08:55:58.608   622   709 D TSLocationManager: β•‘ πŸ“Ά  Connectivity change: connected? true
05-31 08:55:58.608   622   709 D TSLocationManager: ╠═════════════════════════════════════════════
05-31 08:55:58.610   622   687 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
05-31 08:55:58.617   622   622 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
05-31 08:55:58.621   622   622 D TSLocationManager: πŸ’€  event: connectivitychange
05-31 08:55:58.635   622   622 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
05-31 08:55:58.635   622   622 D TSLocationManager: πŸ’€  event: providerchange
05-31 08:55:58.635   622   622 D TSLocationManager: *************** Event: com.transistorsoft.locationmanager.event.LocationProviderChangeEvent@d5d38d
05-31 08:55:58.640   622   706 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
05-31 08:55:58.663   622   687 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
05-31 08:55:58.668   622   694 D TSLocationManager: [c.t.l.a.BackgroundGeolocation isMainActivityActive] NO
05-31 08:55:58.674   622   706 I TSLocationManager: [c.t.l.s.ActivityRecognitionService b]
05-31 08:55:58.674   622   706 I TSLocationManager:   🎾  Start motion-activity updates
05-31 08:55:58.680   622   687 D TSLocationManager: πŸ’€  event: terminate
05-31 08:55:59.669   622   706 I TSLocationManager: [c.t.l.http.HttpService flush]
05-31 08:55:59.669   622   706 I TSLocationManager: ╔═════════════════════════════════════════════
05-31 08:55:59.669   622   706 I TSLocationManager: β•‘ HTTP Service (count: 0)
05-31 08:55:59.669   622   706 I TSLocationManager: ╠═════════════════════════════════════════════
Coala1010 commented 3 years ago

let me test on emulator of nox player

Coala1010 commented 3 years ago

Hello My device is Samsung galaxy j5 android version is 9

when the app is terminated, can the app track the location??

christocracy commented 3 years ago

Yes

Coala1010 commented 3 years ago

I have also Huawei mate 9 When my app is killed, the app can track the location on emulator (android 6)

but on Huawei device, it is not working Of course, I also followed http://dontkillmyapp.com/

Can you please help me how to fix that?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open.

stale[bot] commented 2 years ago

Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you.