transistorsoft / react-native-background-geolocation

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

We can't insert any coordinates in the server when the app is terminated (ANDROID) #2120

Closed SMuncal closed 2 weeks ago

SMuncal commented 3 weeks ago

Hi @christocracy

Your Environment

Expected Behavior

When the app is in the background it is not working, the location is stuck up and the coordinates are not saving in the server. Only the IOS platform is working while the ANDROID platform is not working fine.

The goal is for any platform the coordinates must be saved in the server.

Actual Behavior

When the app is in the background it is not working, the location is stuck up and the coordinates are not saving in the server.

Steps to Reproduce

  1. debug:true

Context

Debug logs

Logs ``` [{"lat": 14.7160773, "lng": 121.1318833, "timestamp": "2024-08-20T16:01:18.527Z"}] list of routes LOG App has gone to the background! LOG [{"context": undefined, "emitter": {"_disableCallsIntoModule": false, "_subscriber": [EventSubscriptionVendor]}, "eventType": "location", "key": 2, "listener": [Function handler], "remove": [Function anonymous], "subscriber": {"_currentSubscription": null, "_subscriptionsForType": [Object]}}] ```
christocracy commented 3 weeks ago

See api docs Config.enableHeadless or implement the plug-in’s built-in HTTP service (see api docs Config.url).

SMuncal commented 3 weeks ago

1. So stopOnTerminate:false will work only in IOS and wait for 200 meters to receive new coordinates? 2. Android Platform required HTTP service and config.enableheadless so that we can receive coordinates.


From: Chris Scott @.> Sent: Wednesday, August 21, 2024 12:28 AM To: transistorsoft/react-native-background-geolocation @.> Cc: Sir George Muncal @.>; Author @.> Subject: Re: [transistorsoft/react-native-background-geolocation] We can't insert any coordinates in the server when the app is terminated (ANDROID) (Issue #2120)

See api docs Config.enableHeadless or implement the plug-in’s built-in HTTP service (see api docs Config.url).

β€” Reply to this email directly, view it on GitHubhttps://github.com/transistorsoft/react-native-background-geolocation/issues/2120#issuecomment-2299271350, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A47SSMZYV6I7LQU25SFY3LLZSNVDLAVCNFSM6AAAAABM2IK22SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGI3TCMZVGA. You are receiving this because you authored the thread.Message ID: @.***>

christocracy commented 3 weeks ago

So stopOnTerminate:false will work only in IOS

False.

Android Platform required HTTP service and config.enableheadless so that we can receive coordinates.

No. Read the API docs carefully and learn about what Android Headless Mode means.

Your react App exists within the Android "Main Activity". When the user terminates an Android app, the Activity no longer exists, thus your React Native Javascript App no longer exists.

All events when the Android app is terminated will arrive at your registered HeadlessTask. The standard plugin event-listeners (eg: onLocation) no longer exist.

SMuncal commented 3 weeks ago

Hi @christocracy ,

I already configure the Android Headless Mode, Happens right now the headless is not working.

import { AppRegistry } from 'react-native';
import App from './source';
import { name as appName } from './app.json';
import BackgroundGeolocation from "react-native-background-geolocation";
AppRegistry.registerComponent(appName, () => App);

const headlessTask = async (event) => {
    switch (event.name) {
        case 'location':
        console.log('[HeadlessTask] awts location: ', event.params);
        let location = await getCurrentPosition();
        console.log(JSON.stringify(location, null, 2),"sss")
        // Handle location update
        break;
        case 'terminate':
        console.log('[HeadlessTask] terminate: ', event);
        break;
        case 'heartbeat':
        console.log('[HeadlessTask] heartbeat: ', event);
        break;
        // Handle other events as needed
    }
};

const getCurrentPosition = () => {
    return new Promise((resolve) => {
        BackgroundGeolocation.getCurrentPosition(
            {
                samples: 1,
                persist: false
            },
        (location) => {
            resolve("LOCATIONTNOTNOT", location);
        }, (error) => {
            resolve(error);
        });
    });
};

// Register your HeadlessTask with BackgroundGeolocation
BackgroundGeolocation.registerHeadlessTask(headlessTask);

`

08-21 15:44:44.137 32380 797 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 2, requestId: 3] 08-21 15:44:44.144 32380 797 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 15:44:44.267 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 15:44:44.267 32380 32380 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 15:44:44.271 32380 797 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 15:44:44.271 32380 797 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 4] 08-21 15:44:44.282 32380 797 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 15:44:44.282 32380 797 I TSLocationManager: 🎾 Start motion-activity updates 08-21 15:44:44.287 32380 797 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 15:44:44.399 32380 32380 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 15:44:44.399 32380 32380 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 15:44:44.491 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 15:44:44.491 32380 32380 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 15:44:44.496 32380 797 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 15:44:44.496 32380 797 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 15:44:44.508 32380 797 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 15:44:44.545 32380 32380 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 15:44:44.548 32380 32380 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 15:44:44.713 32380 32380 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 15:44:44.963 32380 32380 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 15:44:45.521 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 15:44:45.521 32380 32380 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 15:44:50.578 32380 797 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 15:44:50.578 32380 797 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 15:44:50.578 32380 797 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 15:44:50.578 32380 797 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 15:44:50.583 32380 797 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 15:44:50.583 32380 797 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 15:44:54.353 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 15:44:54.353 32380 32380 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 15:44:54.364 32380 797 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 15:44:54.364 32380 797 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 15:44:54.364 32380 797 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 3 08-21 15:44:54.364 32380 797 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 15:44:54.364 32380 797 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716076,121.131883 hAcc=28.331 et=+9d0h27m45s41ms alt=60.599998474121094 vAcc=1.0 vel=0.0040737865 sAcc=1.5], age: 140ms, time: 1724226294219 08-21 15:44:54.376 32380 797 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 15:44:54.376 32380 797 I TSLocationManager: πŸ”΅ Acquired current position 08-21 15:44:54.379 32380 797 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 13.068 08-21 15:44:54.390 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 15:44:54.390 32380 32380 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 15:44:54.402 32380 797 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 3 isFinished? true 08-21 15:44:54.405 32380 797 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 1, sticky: false] 08-21 15:44:54.405 32380 1212 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 15:44:54.405 32380 1212 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 15:44:54.405 32380 1212 I TSLocationManager: β•‘ motionchange LocationResult: 4 08-21 15:44:54.405 32380 1212 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 15:44:54.405 32380 1212 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716076,121.131883 hAcc=28.331 et=+9d0h27m45s41ms alt=60.599998474121094 vAcc=1.0 vel=0.0040737865 sAcc=1.5], age: 180ms, time: 1724226294219 08-21 15:44:54.413 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 15:44:54.416 32380 1212 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 15:44:54.416 32380 1212 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 15:44:54.421 32380 1212 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 20.6995 08-21 15:44:54.446 32380 1212 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 4 isFinished? true 08-21 15:44:54.448 32380 1212 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 15:44:54.455 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 15:44:54.458 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 15:44:54.458 32380 32380 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 15:44:54.471 32380 32380 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 15:44:54.471 32380 32380 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 15:44:54.536 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 15:44:54.536 32380 32380 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 15:44:54.541 32380 32380 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 15:44:54.541 32380 32380 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 15:44:54.541 32380 32380 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 15:44:54.541 32380 32380 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 15:44:54.555 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 15:44:54.817 32380 32380 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 15:44:54.817 32380 32380 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 15:44:55.758 32380 32380 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 15:44:55.758 32380 32380 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 15:44:56.442 32380 32380 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 15:44:56.444 32380 32380 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 08-21 15:45:05.823 32380 1212 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 15:45:05.823 32380 1212 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 15:45:05.823 32380 1212 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 15:45:05.823 32380 1212 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 15:45:05.832 32380 1212 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 15:45:05.832 32380 1212 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 16:02:07.163 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] PID: 2 08-21 16:02:07.164 4525 4663 D TSLocationManager: [c.t.l.l.TSSQLiteAppender$c run] 08-21 16:02:07.164 4525 4663 D TSLocationManager: ℹ️ Cleared logs older than 72 hours 08-21 16:02:07.166 4525 4641 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.166 4525 4641 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:07.166 4525 4641 I TSLocationManager: β•‘ TSLocationManager version: 3.4.0 (420) 08-21 16:02:07.166 4525 4641 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:07.166 4525 4641 I TSLocationManager: β•Ÿβ”€ samsung SM-A135F @ 13 (react-native) 08-21 16:02:07.166 4525 4641 I TSLocationManager: { 08-21 16:02:07.166 4525 4641 I TSLocationManager: "activityRecognitionInterval": 10000, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "allowIdenticalLocations": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "authorization": {}, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "autoSync": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "autoSyncThreshold": 0, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "backgroundPermissionRationale": { 08-21 16:02:07.166 4525 4641 I TSLocationManager: "title": "Allow {applicationName} to access this device's location even when closed or not in use?", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "message": "[CHANGEME] This app collects location data for FEATURE X and FEATURE Y.", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "positiveAction": "Change to \"{backgroundPermissionOptionLabel}\"", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "negativeAction": "" 08-21 16:02:07.166 4525 4641 I TSLocationManager: }, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "batchSync": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "configUrl": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "debug": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "deferTime": 0, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "desiredAccuracy": -1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "desiredOdometerAccuracy": 100, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "disableAutoSyncOnCellular": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "disableElasticity": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "disableLocationAuthorizationAlert": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "disableMotionActivityUpdates": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "disableProviderChangeRecord": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "disableStopDetection": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "distanceFilter": 10, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "elasticityMultiplier": 1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "enableHeadless": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "enableTimestampMeta": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "extras": {}, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "fastestLocationUpdateInterval": -1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "foregroundService": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "geofenceInitialTriggerEntry": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "geofenceModeHighAccuracy": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "geofenceProximityRadius": 1000, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "geofenceTemplate": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "headers": {}, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "heartbeatInterval": -1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "httpRootProperty": "location", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "httpTimeout": 60000, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "isMoving": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "locationAuthorizationRequest": "Always", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "locationTemplate": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "locationTimeout": 60, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "locationUpdateInterval": 1000, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "locationsOrderDirection": "ASC", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "logLevel": 5, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "logMaxDays": 3, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "maxBatchSize": -1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "maxDaysToPersist": 1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "maxRecordsToPersist": -1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "method": "POST", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "minimumActivityRecognitionConfidence": 75, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "motionTriggerDelay": 0, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "notification": { 08-21 16:02:07.166 4525 4641 I TSLocationManager: "layout": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "title": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "text": "Location Service activated", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "color": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "channelName": "TSLocationManager", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "channelId": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "smallIcon": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "largeIcon": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "priority": 0, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "sticky": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "strings": {}, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "actions": [] 08-21 16:02:07.166 4525 4641 I TSLocationManager: }, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "params": {}, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "persist": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "persistMode": 2, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "schedule": [], 08-21 16:02:07.166 4525 4641 I TSLocationManager: "scheduleUseAlarmManager": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "speedJumpFilter": 300, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "startOnBoot": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "stationaryRadius": 25, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "stopAfterElapsedMinutes": 0, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "stopOnStationary": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "stopOnTerminate": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "stopTimeout": 5, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "url": "", 08-21 16:02:07.166 4525 4641 I TSLocationManager: "useSignificantChangesOnly": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "enabled": true, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "schedulerEnabled": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "trackingMode": 1, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "odometer": 0, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "isFirstBoot": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "didLaunchInBackground": false, 08-21 16:02:07.166 4525 4641 I TSLocationManager: "didDeviceReboot": false 08-21 16:02:07.166 4525 4641 I TSLocationManager: } 08-21 16:02:07.168 4525 4641 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.168 4525 4641 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:07.168 4525 4641 I TSLocationManager: β•‘ DEVICE SENSORS 08-21 16:02:07.168 4525 4641 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:07.168 4525 4641 I TSLocationManager: β•Ÿβ”€ βœ… ACCELEROMETER: {Sensor name="LIS2DLC12 Accelerometer", vendor="STM", version=1, type=1, maxRange=78.4532, resolution=0.0023942017, power=0.15, minDelay=5000} 08-21 16:02:07.168 4525 4641 I TSLocationManager: β•Ÿβ”€ ⚠️ GYROSCOPE: none. Motion-detection system performance will be degraded 08-21 16:02:07.168 4525 4641 I TSLocationManager: β•Ÿβ”€ βœ… MAGNETOMETER: {Sensor name="AK09918C Magnetometer", vendor="Asahi Kasei Microdevices", version=2, type=2, maxRange=4900.02, resolution=0.06, power=1.1, minDelay=10000} 08-21 16:02:07.168 4525 4641 I TSLocationManager: β•Ÿβ”€ βœ… SIGNIFICANT_MOTION: {Sensor name="Significant Motion", vendor="Samsung Inc.", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.16, minDelay=-1} 08-21 16:02:07.168 4525 4641 I TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• 08-21 16:02:07.170 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ☯️ onCreate 08-21 16:02:07.171 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ☯️ onStart 08-21 16:02:07.173 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ☯️ onResume 08-21 16:02:07.175 4525 4641 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.175 4525 4641 I TSLocationManager: βœ… Google Play Services: connected (version code:12451000) 08-21 16:02:07.176 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.176 4525 4641 D TSLocationManager: ℹ️ Load last odometer location: Location[TSLocationManager 14.716074,121.131877 hAcc=13.068 et=0 {Bundle[{odometer=0.0}]}] 08-21 16:02:07.178 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.178 4525 4641 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 16:02:07.179 4525 4641 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.179 4525 4641 I TSLocationManager: 🎾 Start monitoring location-provider changes 08-21 16:02:07.181 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.181 4525 4641 D TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:07.181 4525 4641 D TSLocationManager: β•‘ πŸ“Ά Connectivity change: connected? true 08-21 16:02:07.181 4525 4641 D TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:07.183 4525 4641 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:02:07.183 4525 4641 D TSLocationManager: ℹ️ PRUNE -1 days 08-21 16:02:11.079 4525 4648 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 16:02:11.079 4525 4648 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 16:02:11.205 4525 4648 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [desiredAccuracy, enableHeadless, headlessJobService, logLevel, startOnBoot, stopOnTerminate] 08-21 16:02:11.237 4525 4648 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 16:02:11.237 4525 4648 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 16:02:12.478 4525 4525 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 16:02:15.075 4525 4525 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 16:02:15.075 4525 4525 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 16:02:15.152 4525 4525 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 16:02:15.152 4525 4525 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 16:02:15.162 4525 4525 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 16:02:15.162 4525 4525 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 16:02:15.194 4525 4525 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 08-21 16:02:15.404 4525 4525 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 16:02:15.404 4525 4525 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 16:02:16.148 4525 4641 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 16:02:16.148 4525 4664 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 16:02:16.168 4525 4664 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 16:02:16.168 4525 4664 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 16:02:16.187 4525 4664 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 16:02:16.187 4525 4664 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 16:02:16.187 4525 4641 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 16:02:16.187 4525 4641 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 16:02:16.189 4525 4641 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 16:02:16.189 4525 4641 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 16:02:16.200 4525 4641 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 16:02:16.200 4525 4641 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 16:02:16.201 4525 4664 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 16:02:16.201 4525 4664 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 16:02:16.203 4525 4641 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 16:02:16.203 4525 4641 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 16:02:16.209 4525 4664 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 16:02:16.209 4525 4664 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 16:02:16.248 4525 4525 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 16:02:16.248 4525 4525 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 16:02:16.508 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:16.508 4525 4525 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 16:02:16.523 4525 4664 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 16:02:16.523 4525 4664 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 1] 08-21 16:02:16.533 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:16.533 4525 4525 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 16:02:16.547 4525 4641 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 16:02:16.547 4525 4641 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 2] 08-21 16:02:16.547 4525 4664 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 16:02:16.547 4525 4664 I TSLocationManager: 🎾 Start motion-activity updates 08-21 16:02:16.570 4525 4664 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 1, sticky: true] 08-21 16:02:16.577 4525 4641 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 16:02:16.577 4525 4641 I TSLocationManager: 🎾 Start motion-activity updates 08-21 16:02:16.587 4525 4641 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 16:02:16.768 4525 4525 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 16:02:16.768 4525 4525 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 16:02:17.747 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:17.747 4525 4525 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 16:02:17.758 4525 4641 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 16:02:17.758 4525 4641 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 16:02:17.775 4525 4641 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 16:02:17.784 4525 4525 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 16:02:17.787 4525 4525 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 16:02:17.867 4525 4525 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 16:02:17.870 4525 4525 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 16:02:18.068 4525 4525 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 1 08-21 16:02:18.072 4525 4525 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 16:02:18.547 4525 4525 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 16:02:18.821 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 16:02:18.821 4525 4525 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 16:02:19.392 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:19.392 4525 4525 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 16:02:19.404 4525 4641 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 16:02:19.404 4525 4641 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:19.404 4525 4641 I TSLocationManager: β•‘ motionchange LocationResult: 1 08-21 16:02:19.404 4525 4641 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:19.404 4525 4641 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716078,121.131873 hAcc=13.037 et=+9d0h45m10s70ms alt=60.599998474121094 vAcc=1.0], age: 150ms, time: 1724227339248 08-21 16:02:19.412 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:19.412 4525 4525 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 16:02:19.420 4525 4641 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 16:02:19.420 4525 4641 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 16:02:19.421 4525 4664 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 16:02:19.421 4525 4664 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:19.421 4525 4664 I TSLocationManager: β•‘ motionchange LocationResult: 2 08-21 16:02:19.421 4525 4664 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:19.421 4525 4664 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716078,121.131873 hAcc=13.037 et=+9d0h45m10s70ms alt=60.599998474121094 vAcc=1.0], age: 167ms, time: 1724227339248 08-21 16:02:19.422 4525 4641 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 13.037 08-21 16:02:19.430 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 16:02:19.445 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 16:02:19.445 4525 4525 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 16:02:19.545 4525 4641 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? true 08-21 16:02:19.549 4525 4641 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 16:02:19.554 4525 4525 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 16:02:19.554 4525 4525 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 16:02:19.555 4525 4664 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 16:02:19.555 4525 4664 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 16:02:19.557 4525 4664 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 13.037 08-21 16:02:19.591 4525 4664 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true 08-21 16:02:19.593 4525 4664 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 16:02:19.608 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:19.608 4525 4525 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 16:02:19.613 4525 4525 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 16:02:19.613 4525 4525 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:19.613 4525 4525 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 16:02:19.613 4525 4525 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:19.624 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 16:02:19.629 4525 4525 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 16:02:19.629 4525 4525 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 16:02:19.664 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:02:19.664 4525 4525 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 16:02:19.668 4525 4525 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 16:02:19.668 4525 4525 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:19.668 4525 4525 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 16:02:19.668 4525 4525 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:19.683 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 16:02:19.943 4525 4525 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 16:02:19.943 4525 4525 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 16:02:21.236 4525 4664 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 16:02:21.236 4525 4664 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:21.236 4525 4664 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 16:02:21.236 4525 4664 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:21.245 4525 4664 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 16:02:21.245 4525 4664 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 16:02:24.495 4525 4525 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 16:02:24.495 4525 4525 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 16:02:25.182 4525 4525 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 16:02:25.186 4525 4525 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 08-21 16:02:42.028 4525 4664 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 16:02:42.028 4525 4664 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:02:42.028 4525 4664 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 16:02:42.028 4525 4664 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:02:42.031 4525 4664 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 16:02:42.031 4525 4664 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 16:28:59.131 4525 4525 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️ onStart 08-21 16:28:59.186 4525 4525 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 08-21 16:52:55.671 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] PID: 2 08-21 16:52:55.671 9322 9480 D TSLocationManager: [c.t.l.l.TSSQLiteAppender$c run] 08-21 16:52:55.671 9322 9480 D TSLocationManager: ℹ️ Cleared logs older than 72 hours 08-21 16:52:55.674 9322 9464 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.674 9322 9464 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:52:55.674 9322 9464 I TSLocationManager: β•‘ TSLocationManager version: 3.4.0 (420) 08-21 16:52:55.674 9322 9464 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:52:55.674 9322 9464 I TSLocationManager: β•Ÿβ”€ samsung SM-A135F @ 13 (react-native) 08-21 16:52:55.674 9322 9464 I TSLocationManager: { 08-21 16:52:55.674 9322 9464 I TSLocationManager: "activityRecognitionInterval": 10000, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "allowIdenticalLocations": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "authorization": {}, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "autoSync": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "autoSyncThreshold": 0, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "backgroundPermissionRationale": { 08-21 16:52:55.674 9322 9464 I TSLocationManager: "title": "Allow {applicationName} to access this device's location even when closed or not in use?", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "message": "[CHANGEME] This app collects location data for FEATURE X and FEATURE Y.", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "positiveAction": "Change to \"{backgroundPermissionOptionLabel}\"", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "negativeAction": "" 08-21 16:52:55.674 9322 9464 I TSLocationManager: }, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "batchSync": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "configUrl": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "debug": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "deferTime": 0, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "desiredAccuracy": -1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "desiredOdometerAccuracy": 100, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "disableAutoSyncOnCellular": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "disableElasticity": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "disableLocationAuthorizationAlert": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "disableMotionActivityUpdates": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "disableProviderChangeRecord": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "disableStopDetection": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "distanceFilter": 10, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "elasticityMultiplier": 1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "enableHeadless": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "enableTimestampMeta": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "extras": {}, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "fastestLocationUpdateInterval": -1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "foregroundService": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "geofenceInitialTriggerEntry": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "geofenceModeHighAccuracy": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "geofenceProximityRadius": 1000, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "geofenceTemplate": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "headers": {}, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "heartbeatInterval": -1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "httpRootProperty": "location", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "httpTimeout": 60000, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "isMoving": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "locationAuthorizationRequest": "Always", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "locationTemplate": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "locationTimeout": 60, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "locationUpdateInterval": 1000, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "locationsOrderDirection": "ASC", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "logLevel": 5, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "logMaxDays": 3, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "maxBatchSize": -1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "maxDaysToPersist": 1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "maxRecordsToPersist": -1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "method": "POST", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "minimumActivityRecognitionConfidence": 75, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "motionTriggerDelay": 0, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "notification": { 08-21 16:52:55.674 9322 9464 I TSLocationManager: "layout": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "title": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "text": "Location Service activated", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "color": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "channelName": "TSLocationManager", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "channelId": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "smallIcon": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "largeIcon": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "priority": 0, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "sticky": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "strings": {}, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "actions": [] 08-21 16:52:55.674 9322 9464 I TSLocationManager: }, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "params": {}, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "persist": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "persistMode": 2, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "schedule": [], 08-21 16:52:55.674 9322 9464 I TSLocationManager: "scheduleUseAlarmManager": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "speedJumpFilter": 300, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "startOnBoot": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "stationaryRadius": 25, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "stopAfterElapsedMinutes": 0, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "stopOnStationary": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "stopOnTerminate": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "stopTimeout": 5, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "url": "", 08-21 16:52:55.674 9322 9464 I TSLocationManager: "useSignificantChangesOnly": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "enabled": true, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "schedulerEnabled": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "trackingMode": 1, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "odometer": 0, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "isFirstBoot": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "didLaunchInBackground": false, 08-21 16:52:55.674 9322 9464 I TSLocationManager: "didDeviceReboot": false 08-21 16:52:55.674 9322 9464 I TSLocationManager: } 08-21 16:52:55.675 9322 9464 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.675 9322 9464 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:52:55.675 9322 9464 I TSLocationManager: β•‘ DEVICE SENSORS 08-21 16:52:55.675 9322 9464 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:52:55.675 9322 9464 I TSLocationManager: β•Ÿβ”€ βœ… ACCELEROMETER: {Sensor name="LIS2DLC12 Accelerometer", vendor="STM", version=1, type=1, maxRange=78.4532, resolution=0.0023942017, power=0.15, minDelay=5000} 08-21 16:52:55.675 9322 9464 I TSLocationManager: β•Ÿβ”€ ⚠️ GYROSCOPE: none. Motion-detection system performance will be degraded 08-21 16:52:55.675 9322 9464 I TSLocationManager: β•Ÿβ”€ βœ… MAGNETOMETER: {Sensor name="AK09918C Magnetometer", vendor="Asahi Kasei Microdevices", version=2, type=2, maxRange=4900.02, resolution=0.06, power=1.1, minDelay=10000} 08-21 16:52:55.675 9322 9464 I TSLocationManager: β•Ÿβ”€ βœ… SIGNIFICANT_MOTION: {Sensor name="Significant Motion", vendor="Samsung Inc.", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.16, minDelay=-1} 08-21 16:52:55.675 9322 9464 I TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• 08-21 16:52:55.676 9322 9464 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.676 9322 9464 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:52:55.676 9322 9464 I TSLocationManager: β•‘ BootReceiver: com.petrafitruckerapp 08-21 16:52:55.676 9322 9464 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:52:55.676 9322 9464 I TSLocationManager: β•Ÿβ”€ android.intent.action.MY_PACKAGE_REPLACED 08-21 16:52:55.677 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ☯️ onCreate 08-21 16:52:55.679 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ☯️ onStart 08-21 16:52:55.680 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ☯️ onResume 08-21 16:52:55.682 9322 9464 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.682 9322 9464 I TSLocationManager: βœ… Google Play Services: connected (version code:12451000) 08-21 16:52:55.683 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.683 9322 9464 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 16:52:55.684 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.684 9322 9464 D TSLocationManager: ℹ️ Load last odometer location: Location[TSLocationManager 14.716078,121.131873 hAcc=13.037 et=0 {Bundle[{odometer=0.0}]}] 08-21 16:52:55.686 9322 9464 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.686 9322 9464 I TSLocationManager: 🎾 Start monitoring location-provider changes 08-21 16:52:55.687 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.687 9322 9464 D TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:52:55.687 9322 9464 D TSLocationManager: β•‘ πŸ“Ά Connectivity change: connected? true 08-21 16:52:55.687 9322 9464 D TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:52:55.689 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] ℹ️ Persist monitored geofences: [] 08-21 16:52:55.690 9322 9464 D TSLocationManager: [c.t.l.logger.LoggerFacade$a a] 08-21 16:52:55.690 9322 9464 D TSLocationManager: ℹ️ PRUNE -1 days 08-21 16:53:01.624 9322 9497 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 16:53:01.624 9322 9497 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 16:53:01.637 9322 9497 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 16:53:01.637 9322 9497 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 16:53:01.770 9322 9497 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [desiredAccuracy, enableHeadless, headlessJobService, logLevel, startOnBoot, stopOnTerminate] 08-21 16:53:01.775 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 16:53:01.775 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 16:53:01.813 9322 9497 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 16:53:01.813 9322 9497 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 16:53:01.821 9322 9497 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 16:53:01.821 9322 9497 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 16:53:02.743 9322 9464 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 16:53:02.745 9322 9455 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 16:53:02.769 9322 9455 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 16:53:02.769 9322 9455 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 16:53:02.771 9322 9464 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 16:53:02.771 9322 9464 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 16:53:02.785 9322 9455 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 16:53:02.785 9322 9455 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 16:53:02.785 9322 9464 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 16:53:02.785 9322 9464 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 16:53:02.805 9322 9455 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 16:53:02.805 9322 9455 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 16:53:02.808 9322 9455 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 16:53:02.808 9322 9455 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 16:53:02.816 9322 9464 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 16:53:02.816 9322 9464 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 16:53:02.818 9322 9464 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 16:53:02.818 9322 9464 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 16:53:02.936 9322 9322 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 16:53:02.936 9322 9322 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 16:53:03.222 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:03.222 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 16:53:03.250 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:03.250 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 16:53:03.292 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 16:53:03.292 9322 9322 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 16:53:03.292 9322 9464 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 16:53:03.292 9322 9464 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 1] 08-21 16:53:03.320 9322 9455 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 16:53:03.320 9322 9455 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 2] 08-21 16:53:03.391 9322 9464 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 16:53:03.391 9322 9464 I TSLocationManager: 🎾 Start motion-activity updates 08-21 16:53:03.393 9322 9455 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 16:53:03.393 9322 9455 I TSLocationManager: 🎾 Start motion-activity updates 08-21 16:53:03.410 9322 9464 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 1, sticky: true] 08-21 16:53:03.417 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 16:53:03.417 9322 9455 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 16:53:03.421 9322 9322 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 16:53:03.525 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 16:53:03.527 9322 9322 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 16:53:03.876 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:03.876 9322 9322 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 16:53:03.888 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 1 08-21 16:53:03.890 9322 9455 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 16:53:03.890 9322 9455 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 16:53:03.891 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 16:53:03.912 9322 9455 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 16:53:04.173 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 16:53:04.929 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 16:53:04.929 9322 9322 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 16:53:06.661 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:06.661 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 16:53:06.679 9322 9455 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 16:53:06.679 9322 9455 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:53:06.679 9322 9455 I TSLocationManager: β•‘ motionchange LocationResult: 1 08-21 16:53:06.679 9322 9455 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:53:06.679 9322 9455 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716068,121.131877 hAcc=12.595 et=+9d1h35m57s279ms alt=60.599998474121094 vAcc=1.0], age: 209ms, time: 1724230386457 08-21 16:53:06.680 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:06.680 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 16:53:06.688 9322 9464 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 16:53:06.688 9322 9464 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:53:06.688 9322 9464 I TSLocationManager: β•‘ motionchange LocationResult: 2 08-21 16:53:06.688 9322 9464 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:53:06.688 9322 9464 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716068,121.131877 hAcc=12.595 et=+9d1h35m57s279ms alt=60.599998474121094 vAcc=1.0], age: 226ms, time: 1724230386457 08-21 16:53:06.696 9322 9455 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 16:53:06.696 9322 9455 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 16:53:06.699 9322 9455 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.595 08-21 16:53:06.724 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 16:53:06.733 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 16:53:06.733 9322 9322 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 16:53:06.853 9322 9455 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? true 08-21 16:53:06.856 9322 9455 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 16:53:06.861 9322 9322 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 16:53:06.861 9322 9322 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 16:53:06.862 9322 9464 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 16:53:06.862 9322 9464 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 16:53:06.870 9322 9464 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.595 08-21 16:53:06.921 9322 9464 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true 08-21 16:53:06.926 9322 9464 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 16:53:06.944 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:06.944 9322 9322 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 16:53:06.950 9322 9322 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 16:53:06.950 9322 9322 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:53:06.950 9322 9322 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 16:53:06.950 9322 9322 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:53:06.967 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 16:53:06.980 9322 9322 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 16:53:06.980 9322 9322 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 16:53:07.018 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 16:53:07.018 9322 9322 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 16:53:07.024 9322 9322 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 16:53:07.024 9322 9322 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:53:07.024 9322 9322 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 16:53:07.024 9322 9322 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:53:07.046 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 16:53:07.318 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 16:53:07.318 9322 9322 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 16:53:11.831 9322 9464 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 16:53:11.831 9322 9464 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:53:11.831 9322 9464 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 16:53:11.831 9322 9464 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:53:11.833 9322 9464 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 16:53:11.833 9322 9464 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 16:53:40.190 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 16:53:40.190 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 16:53:40.858 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 16:53:40.861 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 08-21 16:53:50.230 9322 9464 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 16:53:50.230 9322 9464 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 16:53:50.230 9322 9464 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 16:53:50.230 9322 9464 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 16:53:50.232 9322 9464 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 16:53:50.232 9322 9464 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:06:57.575 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️ onStart 08-21 17:06:57.670 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 08-21 17:19:11.709 9322 9497 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 17:19:11.709 9322 9497 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 17:19:11.720 9322 9497 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 17:19:11.720 9322 9497 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 17:19:11.738 9322 9497 W TSLocationManager: [c.t.r.RNBackgroundGeolocationModule ready] 08-21 17:19:11.738 9322 9497 W TSLocationManager: ⚠️ #ready already called. Redirecting to #setConfig 08-21 17:19:11.779 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:19:11.779 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:19:12.169 9322 12015 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 17:19:12.173 9322 12015 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 17:19:12.173 9322 12015 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 17:19:12.175 9322 12015 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 17:19:12.175 9322 12015 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 17:19:12.178 9322 12015 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 17:19:12.178 9322 12015 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 17:19:12.180 9322 12015 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 17:19:12.180 9322 12015 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 17:19:12.204 9322 9322 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 17:19:12.204 9322 9322 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 17:19:12.288 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:12.288 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:19:12.293 9322 12015 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 17:19:12.293 9322 12015 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 3] 08-21 17:19:12.299 9322 12015 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 17:19:12.299 9322 12015 I TSLocationManager: 🎾 Start motion-activity updates 08-21 17:19:12.307 9322 12015 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 17:19:12.421 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:19:12.421 9322 9322 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 17:19:12.467 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 17:19:12.469 9322 9322 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 17:19:12.543 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 17:19:12.735 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 17:19:14.285 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:14.285 9322 9322 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 17:19:14.290 9322 12015 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 17:19:14.290 9322 12015 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 17:19:14.313 9322 12015 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 17:19:15.320 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:19:15.320 9322 9322 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 17:19:17.503 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:17.503 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:19:17.519 9322 12015 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 17:19:17.519 9322 12015 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:17.519 9322 12015 I TSLocationManager: β•‘ motionchange LocationResult: 3 08-21 17:19:17.519 9322 12015 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:17.519 9322 12015 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716072,121.131885 hAcc=31.203 et=+9d2h2m8s175ms alt=60.5 vAcc=1.0 vel=0.0063179648 sAcc=1.5], age: 156ms, time: 1724231957353 08-21 17:19:17.533 9322 12015 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:19:17.533 9322 12015 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 17:19:17.536 9322 12015 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 12.595 08-21 17:19:17.568 9322 12015 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 3 isFinished? true 08-21 17:19:17.573 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:19:17.576 9322 12015 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:19:17.587 9322 9322 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 17:19:17.587 9322 9322 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 17:19:17.599 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:19:17.599 9322 9322 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 17:19:17.660 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:17.660 9322 9322 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 17:19:17.664 9322 9322 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 17:19:17.664 9322 9322 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:17.664 9322 9322 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 17:19:17.664 9322 9322 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:17.679 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 17:19:17.951 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:19:17.951 9322 9322 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 17:19:21.801 9322 12015 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:19:21.801 9322 12015 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:21.801 9322 12015 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:19:21.801 9322 12015 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:21.803 9322 12015 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:19:21.803 9322 12015 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:19:23.490 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:19:23.490 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:19:23.569 9322 9497 D TSLocationManager: [c.t.l.a.BackgroundGeolocation b] 08-21 17:19:23.569 9322 9497 D TSLocationManager: πŸ”΄ Cleared callbacks 08-21 17:19:26.427 9322 12047 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 17:19:26.427 9322 12047 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 17:19:26.433 9322 12047 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 17:19:26.433 9322 12047 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 17:19:26.445 9322 12015 D TSLocationManager: [c.t.l.g.TSGeofenceManager$f run] 08-21 17:19:26.445 9322 12015 D TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:26.445 9322 12015 D TSLocationManager: β•‘ TSGeofenceManager monitoring 0/0 08-21 17:19:26.445 9322 12015 D TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:26.445 9322 12015 D TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• 08-21 17:19:26.513 9322 12047 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [desiredAccuracy, enableHeadless, headlessJobService, logLevel, startOnBoot, stopOnTerminate] 08-21 17:19:26.537 9322 12015 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:19:26.537 9322 12015 I TSLocationManager: πŸ”΅ Acquired current position 08-21 17:19:26.539 9322 12015 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 21.899 08-21 17:19:27.155 9322 12015 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 17:19:27.159 9322 12015 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 17:19:27.159 9322 12015 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 17:19:27.163 9322 12015 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 17:19:27.163 9322 12015 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 17:19:27.167 9322 12015 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 17:19:27.167 9322 12015 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 17:19:27.170 9322 12015 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 17:19:27.170 9322 12015 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 17:19:27.198 9322 9322 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 17:19:27.198 9322 9322 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 17:19:27.346 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:27.346 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:19:27.348 9322 12015 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 17:19:27.348 9322 12015 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 5] 08-21 17:19:27.364 9322 12015 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 17:19:27.364 9322 12015 I TSLocationManager: 🎾 Start motion-activity updates 08-21 17:19:27.374 9322 12015 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 17:19:27.472 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:19:27.472 9322 9322 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 17:19:27.553 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:27.553 9322 9322 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 17:19:27.556 9322 12015 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 17:19:27.556 9322 12015 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 17:19:27.574 9322 12015 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 17:19:27.604 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 17:19:27.608 9322 9322 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 17:19:27.714 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 17:19:27.942 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 17:19:28.588 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:19:28.588 9322 9322 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 17:19:32.615 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:32.615 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:19:32.626 9322 12015 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 17:19:32.626 9322 12015 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:32.626 9322 12015 I TSLocationManager: β•‘ motionchange LocationResult: 5 08-21 17:19:32.626 9322 12015 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:32.626 9322 12015 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716071,121.131886 hAcc=36.124 et=+9d2h2m23s251ms alt=60.5 vAcc=1.0 vel=0.0031106058 sAcc=1.5], age: 191ms, time: 1724231972429 08-21 17:19:32.644 9322 12015 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:19:32.644 9322 12015 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 17:19:32.647 9322 12015 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 31.203 08-21 17:19:32.662 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:19:32.671 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:19:32.671 9322 9322 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 17:19:32.677 9322 12015 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 5 isFinished? true 08-21 17:19:32.679 9322 12015 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:19:32.689 9322 9322 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 17:19:32.689 9322 9322 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 17:19:32.755 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:19:32.755 9322 9322 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 17:19:32.760 9322 9322 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 17:19:32.760 9322 9322 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:32.760 9322 9322 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 17:19:32.760 9322 9322 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:32.779 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 17:19:33.049 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:19:33.049 9322 9322 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 17:19:33.533 9322 12015 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:19:33.533 9322 12015 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:33.533 9322 12015 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:19:33.533 9322 12015 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:33.538 9322 12015 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:19:33.538 9322 12015 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:19:38.815 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:19:38.815 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:19:39.451 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 17:19:39.456 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 08-21 17:19:48.853 9322 12015 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:19:48.853 9322 12015 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:19:48.853 9322 12015 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:19:48.853 9322 12015 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:19:48.857 9322 12015 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:19:48.857 9322 12015 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:21:08.583 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️ onStart 08-21 17:21:08.684 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 08-21 17:21:10.811 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:21:10.811 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:21:10.863 9322 12047 D TSLocationManager: [c.t.l.a.BackgroundGeolocation b] 08-21 17:21:10.863 9322 12047 D TSLocationManager: πŸ”΄ Cleared callbacks 08-21 17:21:13.538 9322 12301 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 17:21:13.538 9322 12301 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 17:21:13.543 9322 12301 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 17:21:13.543 9322 12301 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 17:21:13.557 9322 12324 D TSLocationManager: [c.t.l.g.TSGeofenceManager$f run] 08-21 17:21:13.557 9322 12324 D TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:21:13.557 9322 12324 D TSLocationManager: β•‘ TSGeofenceManager monitoring 0/0 08-21 17:21:13.557 9322 12324 D TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:21:13.557 9322 12324 D TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• 08-21 17:21:13.588 9322 12301 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [desiredAccuracy, enableHeadless, extras, headers, headlessJobService, logLevel, params, schedule, startOnBoot, stopOnTerminate] 08-21 17:21:13.610 9322 12301 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [desiredAccuracy, enableHeadless, headlessJobService, logLevel, startOnBoot, stopOnTerminate] 08-21 17:21:13.627 9322 12301 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 17:21:13.627 9322 12301 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 17:21:13.870 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:21:13.870 9322 9322 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 17:21:14.386 9322 12324 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 17:21:14.394 9322 12324 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 17:21:14.394 9322 12324 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 17:21:14.395 9322 12324 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 17:21:14.395 9322 12324 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 17:21:14.399 9322 12324 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 17:21:14.399 9322 12324 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 17:21:14.401 9322 12324 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 17:21:14.401 9322 12324 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 17:21:14.472 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:21:14.472 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:21:14.475 9322 12324 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 17:21:14.475 9322 12324 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 2, requestId: 6] 08-21 17:21:14.475 9322 9322 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 17:21:14.475 9322 9322 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 17:21:14.482 9322 12324 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 17:21:14.588 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:21:14.588 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:21:14.591 9322 12324 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 17:21:14.591 9322 12324 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 7] 08-21 17:21:14.597 9322 12324 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 17:21:14.597 9322 12324 I TSLocationManager: 🎾 Start motion-activity updates 08-21 17:21:14.603 9322 12324 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 17:21:14.744 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:21:14.744 9322 9322 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 17:21:14.748 9322 12324 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 17:21:14.748 9322 12324 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 17:21:14.760 9322 12324 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 17:21:14.761 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:21:14.761 9322 9322 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 17:21:14.822 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 17:21:14.824 9322 9322 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 17:21:14.917 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 17:21:15.134 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 17:21:15.773 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:21:15.773 9322 9322 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 17:21:20.846 9322 12324 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:21:20.846 9322 12324 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:21:20.846 9322 12324 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:21:20.846 9322 12324 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:21:20.852 9322 12324 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:21:20.852 9322 12324 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:21:21.286 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:21:21.286 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:21:21.301 9322 12324 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 17:21:21.301 9322 12324 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:21:21.301 9322 12324 I TSLocationManager: β•‘ motionchange LocationResult: 7 08-21 17:21:21.301 9322 12324 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:21:21.301 9322 12324 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716073,121.131866 hAcc=30.635 et=+9d2h4m11s968ms alt=60.599998474121094 vAcc=1.0 vel=0.0 sAcc=1.5], age: 147ms, time: 1724232081146 08-21 17:21:21.305 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:21:21.305 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 17:21:21.319 9322 12324 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:21:21.319 9322 12324 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 17:21:21.321 9322 12364 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 17:21:21.321 9322 12364 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:21:21.321 9322 12364 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 6 08-21 17:21:21.321 9322 12364 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:21:21.321 9322 12364 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716073,121.131866 hAcc=30.635 et=+9d2h4m11s968ms alt=60.599998474121094 vAcc=1.0 vel=0.0 sAcc=1.5], age: 170ms, time: 1724232081146 08-21 17:21:21.323 9322 12324 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 31.203 08-21 17:21:21.339 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:21:21.348 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:21:21.348 9322 9322 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 17:21:21.351 9322 12324 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 7 isFinished? true 08-21 17:21:21.353 9322 12324 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:21:21.361 9322 12364 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:21:21.361 9322 12364 I TSLocationManager: πŸ”΅ Acquired current position 08-21 17:21:21.365 9322 9322 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 17:21:21.365 9322 9322 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 17:21:21.376 9322 12364 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 31.203 08-21 17:21:21.419 9322 12364 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 6 isFinished? true 08-21 17:21:21.423 9322 12364 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:21:21.429 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:21:21.429 9322 9322 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 17:21:21.434 9322 9322 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 17:21:21.434 9322 9322 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:21:21.434 9322 9322 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 17:21:21.434 9322 9322 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:21:21.447 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 17:21:21.705 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:21:21.705 9322 9322 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 17:21:26.973 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:21:26.973 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:21:27.601 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 17:21:27.603 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 08-21 17:21:37.018 9322 12364 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:21:37.018 9322 12364 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:21:37.018 9322 12364 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:21:37.018 9322 12364 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:21:37.020 9322 12364 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:21:37.020 9322 12364 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:30:29.747 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStart] ☯️ onStart 08-21 17:30:29.799 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onResume] ☯️ onResume 08-21 17:30:33.221 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:30:33.221 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:30:33.270 9322 12301 D TSLocationManager: [c.t.l.a.BackgroundGeolocation b] 08-21 17:30:33.270 9322 12301 D TSLocationManager: πŸ”΄ Cleared callbacks 08-21 17:30:35.918 9322 13132 I TSLocationManager: [c.t.locationmanager.util.c g] 08-21 17:30:35.918 9322 13132 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting Background permission 08-21 17:30:35.924 9322 13132 I TSLocationManager: [c.t.locationmanager.util.c e] 08-21 17:30:35.924 9322 13132 I TSLocationManager: πŸ”΅ Should show backgroundPermissionRationale? false 08-21 17:30:35.934 9322 13159 D TSLocationManager: [c.t.l.g.TSGeofenceManager$f run] 08-21 17:30:35.934 9322 13159 D TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:30:35.934 9322 13159 D TSLocationManager: β•‘ TSGeofenceManager monitoring 0/0 08-21 17:30:35.934 9322 13159 D TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:30:35.934 9322 13159 D TSLocationManager: β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• 08-21 17:30:35.990 9322 13132 D TSLocationManager: [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [desiredAccuracy, enableHeadless, headlessJobService, logLevel, startOnBoot, stopOnTerminate] 08-21 17:30:36.005 9322 13132 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 17:30:36.005 9322 13132 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 17:30:36.561 9322 13159 I TSLocationManager: - Enable: true β†’ true, trackingMode: 1 08-21 17:30:36.564 9322 13159 D TSLocationManager: [c.t.l.http.HttpService startMonitoringConnectivityChanges] 08-21 17:30:36.564 9322 13159 D TSLocationManager: 🎾 Start monitoring connectivity changes 08-21 17:30:36.569 9322 13159 D TSLocationManager: [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges] 08-21 17:30:36.569 9322 13159 D TSLocationManager: 🎾 Start monitoring powersave changes 08-21 17:30:36.572 9322 13159 I TSLocationManager: [c.t.locationmanager.util.c h] 08-21 17:30:36.572 9322 13159 I TSLocationManager: πŸ”΅ LocationAuthorization: Requesting permission 08-21 17:30:36.574 9322 13159 I TSLocationManager: [c.t.l.service.HeartbeatService stop] 08-21 17:30:36.574 9322 13159 I TSLocationManager: πŸ”΄ Stop heartbeat 08-21 17:30:36.647 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:30:36.647 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:30:36.651 9322 13159 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 17:30:36.651 9322 13159 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 2, requestId: 8] 08-21 17:30:36.651 9322 9322 I TSLocationManager: [c.t.locationmanager.util.c$j onPermissionGranted] 08-21 17:30:36.651 9322 9322 I TSLocationManager: βœ… LocationAuthorization: Permission granted 08-21 17:30:36.656 9322 13159 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 17:30:36.800 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:30:36.800 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:30:36.804 9322 13159 I TSLocationManager: [c.t.l.l.SingleLocationRequest startUpdatingLocation] 08-21 17:30:36.804 9322 13159 I TSLocationManager: πŸ”΅ [SingleLocationRequest start, action: 1, requestId: 9] 08-21 17:30:36.809 9322 13159 I TSLocationManager: [c.t.l.s.ActivityRecognitionService start] 08-21 17:30:36.809 9322 13159 I TSLocationManager: 🎾 Start motion-activity updates 08-21 17:30:36.813 9322 13159 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: true] 08-21 17:30:36.891 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:30:36.891 9322 9322 I TSLocationManager: ⏰ Oneshot TERMINATE_EVENT is already pending 08-21 17:30:36.962 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:30:36.962 9322 9322 D TSLocationManager: 🎾 ActivityRecognitionService [eventCount: 1] 08-21 17:30:36.968 9322 13159 D TSLocationManager: [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult] 08-21 17:30:36.968 9322 13159 D TSLocationManager: 🚘 ️DetectedActivity [type=STILL, confidence=100] 08-21 17:30:36.985 9322 13159 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish ActivityRecognitionService [eventCount: 0, sticky: false] 08-21 17:30:37.000 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity execute] locationsettings 08-21 17:30:37.002 9322 9322 D TSLocationManager: [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 08-21 17:30:37.085 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0 08-21 17:30:37.278 9322 9322 D TSLocationManager: [c.t.l.a.TSLocationManagerActivity onDestroy] 08-21 17:30:37.998 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:30:37.998 9322 9322 D TSLocationManager: πŸ”΄ ActivityRecognitionService stopped 08-21 17:30:42.375 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:30:42.375 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 1] 08-21 17:30:42.382 9322 13159 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 17:30:42.382 9322 13159 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:30:42.382 9322 13159 I TSLocationManager: β•‘ motionchange LocationResult: 9 08-21 17:30:42.382 9322 13159 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:30:42.382 9322 13159 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716066,121.131882 hAcc=29.565 et=+9d2h13m33s17ms alt=60.599998474121094 vAcc=1.0 vel=0.0 sAcc=1.5], age: 183ms, time: 1724232642195 08-21 17:30:42.410 9322 13159 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:30:42.410 9322 13159 I TSLocationManager: πŸ”΅ Acquired motionchange position, isMoving: false 08-21 17:30:42.412 9322 13159 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 31.203 08-21 17:30:42.417 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:30:42.417 9322 9322 D TSLocationManager: 🎾 LocationRequestService [eventCount: 2] 08-21 17:30:42.439 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:30:42.443 9322 13159 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 9 isFinished? true 08-21 17:30:42.445 9322 13159 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:30:42.453 9322 13235 I TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] 08-21 17:30:42.453 9322 13235 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:30:42.453 9322 13235 I TSLocationManager: β•‘ getCurrentPosition LocationResult: 8 08-21 17:30:42.453 9322 13235 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:30:42.453 9322 13235 I TSLocationManager: β•Ÿβ”€ πŸ“ Location[fused 14.716066,121.131882 hAcc=29.565 et=+9d2h13m33s17ms alt=60.599998474121094 vAcc=1.0 vel=0.0 sAcc=1.5], age: 235ms, time: 1724232642195 08-21 17:30:42.463 9322 9322 D TSLocationManager: [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion] 08-21 17:30:42.463 9322 9322 D TSLocationManager: ℹ️ Cannot monitor stationary-region with 'WhenInUse' authorization 08-21 17:30:42.471 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:30:42.471 9322 9322 D TSLocationManager: πŸ”΄ LocationRequestService stopped 08-21 17:30:42.473 9322 13235 I TSLocationManager: [c.t.l.l.TSLocationManager onSingleLocationResult] 08-21 17:30:42.473 9322 13235 I TSLocationManager: πŸ”΅ Acquired current position 08-21 17:30:42.479 9322 13235 D TSLocationManager: [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 31.203 08-21 17:30:42.524 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService start] 08-21 17:30:42.524 9322 9322 D TSLocationManager: 🎾 TrackingService [eventCount: 1] 08-21 17:30:42.528 9322 9322 I TSLocationManager: [c.t.l.service.TrackingService handleMotionChangeResult] 08-21 17:30:42.528 9322 9322 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:30:42.528 9322 9322 I TSLocationManager: β•‘ TrackingService motionchange: false 08-21 17:30:42.528 9322 9322 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:30:42.535 9322 13235 D TSLocationManager: [c.t.l.s.LocationRequestService handleLocationResult] SingleLocationRequest 8 isFinished? true 08-21 17:30:42.537 9322 13235 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish LocationRequestService [eventCount: 0, sticky: false] 08-21 17:30:42.545 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService finish] βš™οΈοΈŽ finish TrackingService [eventCount: 0, sticky: false] 08-21 17:30:42.814 9322 9322 D TSLocationManager: [c.t.l.service.AbstractService onDestroy] 08-21 17:30:42.814 9322 9322 D TSLocationManager: πŸ”΄ TrackingService stopped 08-21 17:30:43.247 9322 13235 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:30:43.247 9322 13235 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:30:43.247 9322 13235 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:30:43.247 9322 13235 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:30:43.249 9322 13235 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:30:43.249 9322 13235 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 08-21 17:30:44.890 9322 9322 I TSLocationManager: [c.t.l.s.TSScheduleManager oneShot] 08-21 17:30:44.890 9322 9322 I TSLocationManager: ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 08-21 17:30:45.526 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onPause] ☯️ onPause 08-21 17:30:45.530 9322 9322 D TSLocationManager: [c.t.l.l.LifecycleManager onStop] ☯️ onStop 08-21 17:31:02.434 9322 13235 I TSLocationManager: [c.t.l.scheduler.ScheduleEvent onOneShot] 08-21 17:31:02.434 9322 13235 I TSLocationManager: ╔═════════════════════════════════════════════ 08-21 17:31:02.434 9322 13235 I TSLocationManager: β•‘ ⏰ OneShot event fired: TERMINATE_EVENT 08-21 17:31:02.434 9322 13235 I TSLocationManager: ╠═════════════════════════════════════════════ 08-21 17:31:02.436 9322 13235 D TSLocationManager: [c.t.l.event.TerminateEvent$a a] 08-21 17:31:02.436 9322 13235 D TSLocationManager: ℹ️ TERMINATE_EVENT ignored (MainActivity is still active).

christocracy commented 3 weeks ago

Are you aware that you're creating an infinite loop in your HeadlessTask? This will crash your app.

const headlessTask = async (event) => {
    switch (event.name) {
        case 'location':
        console.log('[HeadlessTask] awts location: ', event.params);
        let location = await getCurrentPosition();

Calling .getCurrentPosition within a location event causes more location events causes more location events causes more location events...into infinity.

What you're doing is essentially this:

BackgroundGeolocation.onLocation((location) => {
  BackgroundGeolocation.getCurrentPosition();  // <-- Causes infinite loop.
});

Every recorded location from this plugin causes the location event to fire.

christocracy commented 3 weeks ago

Why would you even call .getCurrentPosition within a location event handler?? The purpose of that event is that a location has been provided.

christocracy commented 3 weeks ago

Please learn to syntax highlight "fenced code blocks" https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#fenced-code-blocks

christocracy commented 3 weeks ago

Please learn to syntax highlight "fenced code blocks" https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#fenced-code-blocks

It's not hard. You surround your code block with 3-backticks + optional language (eg: javascript)

```javascript
const HeadlessTask = async (event) => {
  console.log('HeadlessTask');
}
christocracy commented 3 weeks ago

Your code-block has no indents. Fix it (by EDITING your post).

SMuncal commented 2 weeks ago

Hi @christocracy,

We are dealing with an issue where my headless task in a Meteor app stops working when the phone is locked. This can be particularly challenging, especially with background tasks and location updates this issue only appeared in Android.

  1. Is there anything we need to set up or we forgot something to add in Background.OnLocation ?

Please see the attached code:


import { AppRegistry, Platform } from 'react-native';
import App from './source';
import { name as appName } from './app.json';
import BackgroundGeolocation from "react-native-background-geolocation";
import Meteor from 'react-native-meteor';
import { store } from './source/redux';

// Function to restart location fetching
const restartLocationFetching = () => {
  // Stop the background geolocation service
  BackgroundGeolocation.stop(() => {
    console.log('BackgroundGeolocation stopped');

    // Start the background geolocation service again
    BackgroundGeolocation.start(() => {
      console.log('BackgroundGeolocation started');
    });
  });
};

const headlessTask = async (event) => {
  console.log('headless task')
  switch (event.name) {
    case 'location':
      console.log('[HeadlessTask] location: ', event.params);
      const { jobId, truckId, jobStatus, ticketId } = store?.getState()?.jobQuery
      let lastLocation = null;
      if(jobStatus) {
        BackgroundGeolocation.start()
        BackgroundGeolocation.onLocation(
          (location) => {
            const { latitude, longitude } = location?.coords
            if (lastLocation) {
              const isDuplicate = (
                latitude === lastLocation.coords.latitude &&
                longitude === lastLocation.coords.longitude
              );

              if (isDuplicate) {
                  return; // Ignore duplicate location
              }
            }
            lastLocation = location;
            const params = {
              _id: jobId, //dispatch id
              lat: location.coords.latitude,
              lng: location.coords.longitude,
              ticketId,
              truckId: truckId
            };
            Meteor.call('update.truck.location', params, (err, response) => {
              console.log(JSON.stringify(response, null, 2))
            });
          },
          (error) => {
            this.setState({ error: error.message });
          }
        )
        BackgroundGeolocation.ready({
          // Geolocation Config
          desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
          distanceFilter: 10,
          // Activity Recognition
          stopTimeout: 5,
          // Application config
          debug: false, // <-- enable this hear sounds for background-geolocation life-cycle.
          logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
          enableHeadless: true,
          stopOnTerminate: false,   // <-- Allow the background-service to continue tracking when user closes the app.
          startOnBoot: true,        // <-- Auto start tracking when device is powered-up.
          batchSync: false,       // <-- [Default: false] Set true to sync locations to server in a single HTTP request.
          autoSync: true,         // <-- [Default: true] Set true to sync each location to server as it arrives.
        })
      }
      // Make a Meteor call with the location data
      break;
    case 'terminate':
      // console.log('[HeadlessTask] terminate: ', event);
      break;
    case 'heartbeat':
      // console.log('[HeadlessTask] heartbeat: ', event);
      break;
    case 'error':
      restartLocationFetching()
      break;
    // Handle other events as needed
  }
};

BackgroundGeolocation.registerHeadlessTask(headlessTask);
AppRegistry.registerComponent(appName, () => App);
christocracy commented 2 weeks ago

You do not understand how headless-mode works.

DELETE THIS!!!!!!!!!!!!!!!!!!!!:

BackgroundGeolocation.start()
        BackgroundGeolocation.onLocation(
          (location) => {
            const { latitude, longitude } = location?.coords
            if (lastLocation) {
              const isDuplicate = (
                latitude === lastLocation.coords.latitude &&
                longitude === lastLocation.coords.longitude
              );

              if (isDuplicate) {
                  return; // Ignore duplicate location
              }
            }
            lastLocation = location;
            const params = {
              _id: jobId, //dispatch id
              lat: location.coords.latitude,
              lng: location.coords.longitude,
              ticketId,
              truckId: truckId
            };
            Meteor.call('update.truck.location', params, (err, response) => {
              console.log(JSON.stringify(response, null, 2))
            });
          },
          (error) => {
            this.setState({ error: error.message });
          }
        )
        BackgroundGeolocation.ready({
          // Geolocation Config
          desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
          distanceFilter: 10,
          // Activity Recognition
          stopTimeout: 5,
          // Application config
          debug: false, // <-- enable this hear sounds for background-geolocation life-cycle.
          logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
          enableHeadless: true,
          stopOnTerminate: false,   // <-- Allow the background-service to continue tracking when user closes the app.
          startOnBoot: true,        // <-- Auto start tracking when device is powered-up.
          batchSync: false,       // <-- [Default: false] Set true to sync locations to server in a single HTTP request.
          autoSync: true,         // <-- [Default: true] Set true to sync each location to server as it arrives.
        })
      }

The Android Headless-task IS NOTHING MORE THAN AN EVENT-LISTENER. It is nothing more than a function to receive all events from the plugin while in headless-mode.

You do NOT use .onLocation or .ready(config) in a headless-task!!

The HeadlessTask IS .onLocation (and all other event-listeners). That's why the event object provided to the HeadlessTask has an event.name

SMuncal commented 2 weeks ago

Hi @christocracy ,

I made some changes to my headless, however meteor stop inserting while phone is locked. please see the attached code.

const headlessTask = async (event) => {
  console.log('headless task')
  switch (event.name) {
    case 'location':
      const { coords } = event.params
      const { jobId, truckId, jobStatus, ticketId } = store?.getState()?.jobQuery
      if(jobStatus) {
        const params = {
          _id: jobId, //dispatch id
          lat: coords.latitude,
          lng: coords.longitude,
          ticketId,
          truckId: truckId
        };
        Meteor.call('update.truck.location', params, (err, response) => {
          console.log(JSON.stringify(response, null, 2))
        });
      }
      // Make a Meteor call with the location data
      break;
    case 'terminate':
      // console.log('[HeadlessTask] terminate: ', event);
      break;
    case 'heartbeat':
      // console.log('[HeadlessTask] heartbeat: ', event);
      break;
    case 'error':
      restartLocationFetching()
      break;
    // Handle other events as needed
  }
};
Screenshot 2024-08-26 at 7 40 07β€―PM
christocracy commented 2 weeks ago

Meteor is not my responsibility. See API docs β€œLogger” and learn to insert log messages into the plug-ins log database

I only care about log messages.

also see api docs Config.debug.

SMuncal commented 2 weeks ago

So, if that's the case, what kind of solutions need to be implemented if the phone is locked?


From: Chris Scott @.> Sent: Monday, August 26, 2024 7:56 PM To: transistorsoft/react-native-background-geolocation @.> Cc: Sir George Muncal @.>; Author @.> Subject: Re: [transistorsoft/react-native-background-geolocation] We can't insert any coordinates in the server when the app is terminated (ANDROID) (Issue #2120)

Meteor is not my responsibility. See API docs β€œLogger” and learn to insert log messages into the plug-ins log database

I only care about log messages.

also see api docs Config.debug.

β€” Reply to this email directly, view it on GitHubhttps://github.com/transistorsoft/react-native-background-geolocation/issues/2120#issuecomment-2310027781, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A47SSM6J7JXTQHOF2I2TO2LZTMJXLAVCNFSM6AAAAABM2IK22SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGAZDONZYGE. You are receiving this because you authored the thread.Message ID: @.***>

christocracy commented 2 weeks ago

I have no idea. I’ve never used Meteor.

verify debug log messages.

SMuncal commented 2 weeks ago

Hi @christocracy ,

Questions : @christocracy

  1. do you have any idea why headlessTask not triggering via phone lock?
  2. does Transistorsoft support phone lock?
const headlessTask = async (event) => {
  console.log('headless task')
  switch (event.name) {
    case 'location':

      const { coords } = event.params
      const { jobId, truckId, jobStatus, ticketId } = store?.getState()?.jobQuery
      if(jobStatus) {
        const params = {
          _id: jobId, //dispatch id
          lat: coords.latitude,
          lng: coords.longitude,
          ticketId,
          truckId: truckId
        };
        console.log('Background timer running', params);
        Meteor.call('update.truck.location', params, (err, response) => {
          console.log(JSON.stringify(response, null, 2))
        });
      }
      // Make a Meteor call with the location data
      break;
    case 'error':
      break;
    // Handle other events as needed
  }

};

BackgroundGeolocation.registerHeadlessTask(headlessTask);
AppRegistry.registerHeadlessTask('BackgroundGeolocation', () => headlessTask);
AppRegistry.registerComponent(appName, () => App);

Observation: The headless task is working if I press the button shown in the uploaded file, however when I try to lock the phone this headless function is not working. I don't understand why is not working.

  1. The is a sample screenshot that if I press the button headless task is triggering Screenshot 2024-08-27 at 2 59 35β€―AM

  2. The is a sample screenshot that if I locked the actual device headless task is not triggering. Screenshot 2024-08-27 at 3 04 23β€―AM

christocracy commented 2 weeks ago

I have no idea what you’re trying to show in those logs. It doesn’t matter if the phone is locked.

Comment out all your code. See the API docs β€œLogger” and learn how to add your own log messages using the plug-in’s own log commands (not console.log!!).

Go outside for a walk with your app terminated and plug-in configured with debug: true so you can hear the debugging soundFX.

fetch the plug-in logs via .emailLog (see api docs). Look for your log messages in the log file.

SMuncal commented 2 weeks ago

@christocracy that logs represent 2 scenarios the first scenario when I press the minimize button the headless works perfectly (headless task console log is triggered), however, if directly lock my phone if you try to look at the terminal of that second scenario there is no (headless task logs triggered).

christocracy commented 2 weeks ago

Go do as I said.

SMuncal commented 2 weeks ago

Hi @christocracy I don't get your point, how can I trigger this logger email log? inside react native index.js.

global-live-tracking

handleAppStateChange = (nextAppState) => {
    if (nextAppState === 'background') {
      BackgroundGeolocation.start();
      BackgroundGeolocation.ready({
        // Geolocation Config
        desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
        distanceFilter: 10,
        // Activity Recognition
        stopTimeout: 5,
        // Application config
        debug: true, // <-- enable this hear sounds for background-geolocation life-cycle.
        logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
        enableHeadless: true,
        stopOnTerminate: false,   // <-- Allow the background-service to continue tracking when user closes the app.
        startOnBoot: true,        // <-- Auto start tracking when device is powered-up.
      })
    }
    // this.setState({ appState: nextAppState });
  };

index.js

import { AppRegistry, Platform } from 'react-native';
import App from './source';
import { name as appName } from './app.json';
import BackgroundGeolocation from "react-native-background-geolocation";
import Meteor from 'react-native-meteor';
import { store } from './source/redux';
import BackgroundTimer from 'react-native-background-timer';

const headlessTask = async (event) => {
  console.log('headless task')
  let Logger = BackgroundGeolocation.logger;
  BackgroundGeolocation.logger.emailLog('sampleemail@gmail.com').then(() => {
    console.log('[emailLog] SUCCESS');
  }).catch((error) => {
    console.log('[emailLog] ERROR: ', error);
  });

};

BackgroundGeolocation.registerHeadlessTask(headlessTask);
AppRegistry.registerHeadlessTask('BackgroundGeolocation', () => headlessTask);
AppRegistry.registerComponent(appName, () => App);
SMuncal commented 2 weeks ago

@christocracy but here is the log: [emailLog] ERROR: Failed to fetch Activity from WeakReference. It seems the application process has been destroyed.

christocracy commented 2 weeks ago

God dammit, NO!! That would be incredibly stupid. You have no idea what the hell you're doing.

You can't execute .emailLog in your HeadlessTask!! Put a dummy button on your UI to execute .emailLog.

const HeadlessTask = async (event => {
  BackgroundGeolocation.logger.debug("*********** HeadlessTask executed:  event: " + event.name);
};

You can ONLY execute .emailLog with your app IN THE FOREGROUND.

christocracy commented 2 weeks ago

And what the hell is this??

BackgroundGeolocation.start();
BackgroundGeolocation.ready({...});

You CANNOT EXECUTE .start() BEFORE CALLING .ready(config).

The plugin is not "ready" to use until .ready(config) resolves. That's why the method is named "ready".

I

SMuncal commented 2 weeks ago

@christocracy sorry to disturb you, but how can I contact you and send and invitation for a meeting?

christocracy commented 2 weeks ago

It's warned right there in the README

Screenshot 2024-08-26 at 3 57 54β€―PM

but how can I contact you and send and invitation for a meeting?

https://shop.transistorsoft.com/products/video-conference?utm_source=copyToPasteBoard&utm_medium=product-links&utm_content=web

SMuncal commented 2 weeks ago

Hi @christocracy ,

I made some changes

1. Your question is if I can here some soundFX No I can't hear any sound if the phone is lock, using android

in my live global tracking global:


handleAppStateChange = (nextAppState) => {
    if (nextAppState === 'background') {
      console.log('here')

      BackgroundGeolocation.ready({
        // Geolocation Config
        desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
        distanceFilter: 10,
        // Activity Recognition
        stopTimeout: 5,
        // Application config
        debug: true, // <-- enable this hear sounds for background-geolocation life-cycle.
        logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
        enableHeadless: true,
        stopOnTerminate: false,   // <-- Allow the background-service to continue tracking when user closes the app.
        startOnBoot: true,        // <-- Auto start tracking when device is powered-up.
        batchSync: false,       // <-- [Default: false] Set true to sync locations to server in a single HTTP request.
        autoSync: true,         // <-- [Default: true] Set true to sync each location to server as it arrives.
      }).then((res) => {
        BackgroundGeolocation.start();
      })

    }
    // this.setState({ appState: nextAppState });
  };
christocracy commented 2 weeks ago

BackgroundGeolocation.ready is designed to be called ONLY ONCE for each launch of your App β€” NOT every single time your app enters the background.

if the plug-in were an electronic device, such as a stereo receiver:

calling .ready(config) does not imply you must immediately call .start().

it’s perfectly fine to call .ready(config) when your app first launches to foreground then later call .start() when your app moves to background.

Also see https://dontkillmyapp..com.

learn to fetch and analyze your logs with .emailLog

christocracy commented 2 weeks ago

I suggest you stop wasting everyone’s time and experiment with the demo app from play store.

https://play.google.com/store/apps/details?id=com.transistorsoft.backgroundgeolocation.react