transistorsoft / react-native-background-geolocation

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

Tracking does not work with BackgroundGeolocation.startSchedule() #1670

Closed appstart-lt closed 1 year ago

appstart-lt commented 1 year ago

Your Environment

Expected Behavior

After the Start button is pressed, the plugin should automatically start / stop tracking for a provided period.

Actual Behavior

Tracking does not work with BackgroundGeolocation.startSchedule(). Location events are received only once (after calling BackgroundGeolocation.startSchedule()). After that, no more events are being received. The location/sensors are being emulated on the device all the time (we can see that our location dot is changing the location rapidly on the map and that the motion sensors are simulated as well).

Steps to Reproduce

  1. npx react-native@latest init AwesomeProject
  2. Put this in App.tsx:
    
    import React from 'react';
    import {SafeAreaView} from 'react-native';
    import Geolocation from './Geolocation';

import {Colors} from 'react-native/Libraries/NewAppScreen';

function App(): JSX.Element { const backgroundStyle = { backgroundColor: Colors.lighter, };

return (

); }

export default App;

3. Create Geolocation.tsx file in project root directory:
```javascript <!-- Syntax-highlighting:  paste your code below -->
import React, {memo, useCallback, useEffect} from 'react';
import {Button, Text} from 'react-native';
import BackgroundGeolocation from 'react-native-background-geolocation';

export default memo(() => {
  const bgGeoEventSubscriptions: Subscription[] = [];

  const initBackgroundGeolocation = async () => {
    const token =
      await BackgroundGeolocation.findOrCreateTransistorAuthorizationToken(
        'appstart',
        'naujas',
        'https://tracker.transistorsoft.com/',
      );

    const state = await BackgroundGeolocation.ready({
        debug: true,
        logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
        transistorAuthorizationToken: token,
        distanceFilter: 10,
        desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
        scheduleUseAlarmManager: true,
        schedule: ['1-6 8:00-23:59']
      });
      console.log('enabled', state.enabled);

      BackgroundGeolocation.logger
              .getLog()
              .then(log => console.log(‘log’, log));
          } catch (error) {
            console.log(‘error’, error);
          }
  }

  useEffect(() => {
    initBackgroundGeolocation();
  }, [])

  const start = async () => {
    await BackgroundGeolocation.startSchedule();
  };

  const stop = async () => {
    await BackgroundGeolocation.stop();
    await BackgroundGeolocation.stopSchedule();
  };

  return (
    <>
      <Text>Geolocation test</Text>
      <Button title="start" onPress={start} />
      <Button title="stop" onPress={stop} />
    </>
  );
});
  1. Start simulating the location by importing GPX/KML route on the emulator.
  2. Launch the app and press the Start button.

Context

To schedule the plugin so that it would automatically track location for a provided period.

Debug logs

Logs ``` 04-14 09:42:38.716 DEBUG [TSSQLiteAppender$c run] ℹ️ Cleared logs older than 72 hours 04-14 09:42:41.158 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken, authorization.refreshToken, authorization.refreshUrl, authorization.refreshPayload, debug, desiredAccuracy, logLevel, schedule, scheduleUseAlarmManager, url] 04-14 09:42:41.209 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-14 09:42:47.270 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[08:00-23:59, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-14 09:42:47.278 DEBUG [TSScheduleManager a] 📅 Day #6: Searching schedule for alarms... 04-14 09:42:47.279 DEBUG [TSScheduleManager a] 📅 Scheduler says we should be ENABLED but we are NOT 04-14 09:42:47.282 INFO [TSScheduleManager a] 📅 Scheduled Alarm: ON at 09:42 on penktadienis 04-14 09:42:47.283 DEBUG [TSScheduleManager a] ℹ️ Schedule with AlarmManager 04-14 09:42:52.374 DEBUG [ForegroundNotification createNotificationChannel] NotificationChannel{mId='lt.acoris.dlaTSLocationManager', mName=TSLocationManager, mDescription=, mImportance=1, mBypassDnd=false, mLockscreenVisibility=-1, mSound=null, mLights=false, mLightColor=0, mVibration=null, mUserLockedFields=0, mFgServiceShown=false, mVibrationEnabled=false, mShowBadge=false, mDeleted=false, mDeletedTimeMs=-1, mGroup='null', mAudioAttributes=null, mBlockableSystem=false, mAllowBubbles=-1, mImportanceLockedDefaultApp=false, mOriginalImp=-1000, mParent=null, mConversationId=null, mDemoted=false, mImportantConvo=false} 04-14 09:42:52.446 DEBUG [AbstractService start] 🎾 AbstractService [eventCount: 1] 04-14 09:42:52.449 DEBUG [ScheduleEvent onScheduleEvent] 04-14 09:42:52.451 INFO [ScheduleEvent onScheduleEvent] ╔═════════════════════════════════════════════ ║ 📅 Schedule alarm fired! enabled: true, trackingMode: 1 ╠═════════════════════════════════════════════ 04-14 09:42:52.470 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-14 09:42:52.481 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-14 09:42:52.493 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:42:52.495 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-14 09:42:52.497 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-14 09:42:52.498 INFO [TrackingService changePace] 🔵 setPace: false → false 04-14 09:42:52.505 DEBUG [TSScheduleManager a] 📅 Day #6: Searching schedule for alarms... 04-14 09:42:52.506 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 23:59 on penktadienis 04-14 09:42:52.506 DEBUG [TSScheduleManager a] ℹ️ Schedule with AlarmManager 04-14 09:42:52.511 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-14 09:42:52.511 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-14 09:42:52.512 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-14 09:42:52.513 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:42:52.516 DEBUG [AbstractService finish] ⚙️︎ finish AbstractService [eventCount: 0, sticky: false] 04-14 09:42:52.549 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:42:52.551 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 1] 04-14 09:42:52.568 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-14 09:42:52.570 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 2] 04-14 09:42:52.580 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:42:52.580 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:42:52.588 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-14 09:42:52.588 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-14 09:42:52.718 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-14 09:42:52.808 DEBUG [TSLocationManagerActivity execute] locationsettings 04-14 09:42:52.809 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-14 09:42:52.880 DEBUG [TSLocationManagerActivity execute] locationsettings 04-14 09:42:52.885 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-14 09:42:52.984 DEBUG [AbstractService onDestroy] 🔴 AbstractService stopped 04-14 09:42:52.987 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-14 09:42:52.988 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-14 09:42:53.151 DEBUG [TSLocationManagerActivity onDestroy] 04-14 09:42:53.500 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-14 09:42:57.289 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:42:57.292 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 1 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.882038,-119.897130 hAcc=5.0 et=+14h33m11s986ms alt=0.0 vAcc=0.5 vel=11.014246 sAcc=0.5 bear=335.0 bAcc=30.0], age: 17ms, time: 1681454577274 04-14 09:42:57.296 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-14 09:42:57.297 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-14 09:42:57.297 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:42:57.299 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 2 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.882038,-119.897130 hAcc=5.0 et=+14h33m11s986ms alt=0.0 vAcc=0.5 vel=11.014246 sAcc=0.5 bear=335.0 bAcc=30.0], age: 23ms, time: 1681454577274 04-14 09:42:57.316 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:42:57.368 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-14 09:42:57.503 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:42:57.504 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 2 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.882103,-119.897167 hAcc=5.0 et=+14h33m12s43ms alt=0.0 vAcc=0.5 vel=11.0899935 sAcc=0.5 bear=334.6634 bAcc=30.0], age: 172ms, time: 1681454577331 04-14 09:42:57.934 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? true 04-14 09:42:57.934 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 35.8820383,-119.89713 hAcc=5.0) 04-14 09:42:57.934 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:42:57.936 INFO [b persist] ✅ INSERT: 65ccee88-d660-4f11-9472-eca96ffffcec 04-14 09:42:57.945 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-14 09:42:57.946 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:42:57.948 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:42:57.973 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:42:57.973 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-14 09:42:57.976 WARN [TSLocationManager onSingleLocationResult] ℹ️ Failed to find SingleLocationRequest. Request ignored. 04-14 09:42:57.977 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true 04-14 09:42:57.977 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:42:57.977 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true 04-14 09:42:57.978 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:42:57.982 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-14 09:42:57.993 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:42:58.010 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:42:58.011 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 1 04-14 09:42:58.017 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 35.8820383,-119.89713 hAcc=5.0) 04-14 09:42:58.044 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:42:58.044 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-14 09:42:58.048 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-14 09:42:58.062 DEBUG [b first] ✅ Locked 1 records 04-14 09:42:58.068 INFO [HttpService a] 🔵 HTTP POST: 65ccee88-d660-4f11-9472-eca96ffffcec 04-14 09:42:58.231 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-14 09:42:58.255 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:42:58.256 DEBUG [b destroy] ✅ DESTROY: 65ccee88-d660-4f11-9472-eca96ffffcec 04-14 09:42:58.269 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 1 04-14 09:42:58.270 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:42:58.275 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:42:58.302 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-14 09:42:58.643 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-14 09:42:58.646 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-14 09:42:58.652 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-14 09:42:59.655 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-14 09:43:02.752 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-14 09:43:02.753 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-14 09:43:06.222 DEBUG [TSLocationManager clearLastOdometerLocation] ℹ️ Clear last odometer location 04-14 09:43:06.224 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-14 09:43:06.224 DEBUG [TSGeofenceManager d] ℹ️ Persist monitored geofences: [] 04-14 09:43:06.224 DEBUG [TSGeofenceManager f] 🔴 Stop monitoring geofences 04-14 09:43:06.235 INFO [ActivityRecognitionService stop] 🔴 Stop motion-activity updates 04-14 09:43:06.247 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:43:06.250 DEBUG [HttpService stopMonitoringConnectivityChanges] 🔴 Stop monitoring connectivity changes 04-14 09:43:06.253 DEBUG [DeviceSettings stopMonitoringPowerSaveChanges] 🔴 Stop monitoring powersave changes 04-14 09:43:06.284 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-14 09:43:09.710 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[08:00-23:59, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-14 09:43:09.711 DEBUG [TSScheduleManager a] 📅 Day #6: Searching schedule for alarms... 04-14 09:43:09.711 DEBUG [TSScheduleManager a] 📅 Scheduler says we should be ENABLED but we are NOT 04-14 09:43:09.712 INFO [TSScheduleManager a] 📅 Scheduled Alarm: ON at 09:43 on penktadienis 04-14 09:43:09.712 DEBUG [TSScheduleManager a] ℹ️ Schedule with AlarmManager 04-14 09:43:14.732 DEBUG [AbstractService start] 🎾 AbstractService [eventCount: 1] 04-14 09:43:14.733 DEBUG [ScheduleEvent onScheduleEvent] 04-14 09:43:14.734 INFO [ScheduleEvent onScheduleEvent] ╔═════════════════════════════════════════════ ║ 📅 Schedule alarm fired! enabled: true, trackingMode: 1 ╠═════════════════════════════════════════════ 04-14 09:43:14.745 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-14 09:43:14.751 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-14 09:43:14.763 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:43:14.765 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-14 09:43:14.765 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-14 09:43:14.765 INFO [TrackingService changePace] 🔵 setPace: false → false 04-14 09:43:14.767 DEBUG [TSScheduleManager a] 📅 Day #6: Searching schedule for alarms... 04-14 09:43:14.767 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 23:59 on penktadienis 04-14 09:43:14.767 DEBUG [TSScheduleManager a] ℹ️ Schedule with AlarmManager 04-14 09:43:14.772 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-14 09:43:14.772 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-14 09:43:14.773 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-14 09:43:14.774 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:43:14.777 DEBUG [AbstractService finish] ⚙️︎ finish AbstractService [eventCount: 0, sticky: false] 04-14 09:43:14.836 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:43:14.839 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 3] 04-14 09:43:14.841 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:43:14.842 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-14 09:43:14.842 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 04-14 09:43:14.844 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 4] 04-14 09:43:14.846 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:43:14.847 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-14 09:43:15.029 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-14 09:43:15.096 DEBUG [TSLocationManagerActivity execute] locationsettings 04-14 09:43:15.097 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-14 09:43:15.135 DEBUG [TSLocationManagerActivity execute] locationsettings 04-14 09:43:15.137 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-14 09:43:15.163 DEBUG [AbstractService onDestroy] 🔴 AbstractService stopped 04-14 09:43:15.165 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-14 09:43:15.213 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-14 09:43:15.361 DEBUG [TSLocationManagerActivity onDestroy] 04-14 09:43:15.767 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-14 09:43:15.812 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:43:15.816 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 4 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.882136,-119.897185 hAcc=31.524 et=+14h33m29s726ms alt=0.0 vAcc=0.5 vel=0.4018763 sAcc=0.5 bear=162.70787 bAcc=30.0], age: 801ms, time: 1681454595014 04-14 09:43:15.819 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-14 09:43:15.819 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:43:15.821 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-14 09:43:15.824 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.882136,-119.897185 hAcc=31.524 et=+14h33m29s726ms alt=0.0 vAcc=0.5 vel=0.4018763 sAcc=0.5 bear=162.70787 bAcc=30.0], age: 808ms, time: 1681454595014 04-14 09:43:15.834 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:15.838 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-14 09:43:15.919 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 18.262001 04-14 09:43:15.919 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 35.8821362,-119.8971849 hAcc=31.524) 04-14 09:43:15.927 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 4 isFinished? true 04-14 09:43:15.927 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:15.954 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:15.954 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 3 isFinished? false 04-14 09:43:15.986 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:15.987 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-14 09:43:15.993 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-14 09:43:16.247 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-14 09:43:16.650 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-14 09:43:16.652 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-14 09:43:16.656 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-14 09:43:17.659 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-14 09:43:18.943 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:43:18.945 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883831,-119.897299 hAcc=18.262 et=+14h33m33s602ms alt=0.0 vAcc=0.5 vel=8.789347 sAcc=0.5 bear=357.59164 bAcc=30.0], age: 54ms, time: 1681454598890 04-14 09:43:18.964 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-14 09:43:18.965 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 18.262 04-14 09:43:18.965 DEBUG [TSLocationManager incrementOdometer] Odometer: 188.3105 04-14 09:43:18.966 DEBUG [AbstractService start] 🎾 GeofencingService [eventCount: 1] 04-14 09:43:18.970 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [isMoving] 04-14 09:43:18.975 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:43:18.983 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 🔴 Stop monitoring stationary region 04-14 09:43:18.995 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-14 09:43:18.996 INFO [TrackingService changePace] 🔵 setPace: false → true 04-14 09:43:18.998 INFO [GeofencingService handleStationaryGeofenceExit] ╔═════════════════════════════════════════════ ║ GeofencingService: Stationary geofence EXIT ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883831,-119.897299 hAcc=18.262 et=+14h33m33s602ms alt=0.0 vAcc=0.5 vel=8.789347 sAcc=0.5 bear=357.59164 bAcc=30.0] 04-14 09:43:18.999 DEBUG [AbstractService finish] ⚙️︎ finish GeofencingService [eventCount: 0, sticky: false] 04-14 09:43:19.015 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:19.053 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:19.055 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: true ╠═════════════════════════════════════════════ 04-14 09:43:19.055 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:19.072 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-14 09:43:19.100 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:43:19.101 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 5] 04-14 09:43:19.104 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:43:19.106 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-14 09:43:19.107 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-14 09:43:19.107 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-14 09:43:19.108 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 3 isFinished? true 04-14 09:43:19.108 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:43:19.109 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:19.109 INFO [b persist] ✅ INSERT: 81bfeacf-16ba-411b-85ff-a2f6ad15e7d8 04-14 09:43:19.125 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:19.128 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:19.128 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: true ╠═════════════════════════════════════════════ 04-14 09:43:19.129 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:19.193 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:19.195 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2 04-14 09:43:19.204 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:19.210 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883831,-119.897299 hAcc=18.262 et=+14h33m33s602ms alt=0.0 vAcc=0.5 vel=8.789347 sAcc=0.5 bear=357.59164 bAcc=30.0] ╟─ Age: 318ms, time: 1681454598890 04-14 09:43:19.210 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:19.212 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:19.215 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->30.0) 04-14 09:43:19.226 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-14 09:43:19.243 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:19.244 INFO [HttpService a] 🔵 HTTP POST: 81bfeacf-16ba-411b-85ff-a2f6ad15e7d8 04-14 09:43:19.301 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:19.302 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883831,-119.897299 hAcc=18.262 et=+14h33m33s602ms alt=0.0 vAcc=0.5 vel=8.789347 sAcc=0.5 bear=357.59164 bAcc=30.0] ╟─ Age: 412ms, time: 1681454598890 04-14 09:43:19.311 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:19.312 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-14 09:43:19.313 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-14 09:43:19.331 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:19.444 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:19.446 DEBUG [b destroy] ✅ DESTROY: 81bfeacf-16ba-411b-85ff-a2f6ad15e7d8 04-14 09:43:19.459 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 2 04-14 09:43:19.459 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:19.462 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:19.503 DEBUG [AbstractService onDestroy] 🔴 GeofencingService stopped 04-14 09:43:19.955 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-14 09:43:19.958 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 5 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883847,-119.897300 hAcc=13.977 et=+14h33m33s875ms alt=0.0 vAcc=0.5 vel=8.786007 sAcc=0.5 bear=357.62643 bAcc=30.0], age: 794ms, time: 1681454599163 04-14 09:43:19.965 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: true 04-14 09:43:19.966 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 16.1195 04-14 09:43:19.976 INFO [TSLocationManager removeLocationUpdates] 🔴 Location-services: OFF 04-14 09:43:19.979 INFO [TSLocationManager requestLocationUpdates] 🎾 Location-services: ON 04-14 09:43:19.979 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-14 09:43:19.980 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:19.983 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 5 isFinished? true 04-14 09:43:19.984 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-14 09:43:19.986 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-14 09:43:19.987 INFO [b persist] ✅ INSERT: 7a4255e4-6634-474b-8695-349113a34509 04-14 09:43:19.988 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-14 09:43:20.001 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:20.021 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:20.021 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 3 04-14 09:43:20.035 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:20.037 INFO [HttpService a] 🔵 HTTP POST: 7a4255e4-6634-474b-8695-349113a34509 04-14 09:43:20.044 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:20.047 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883847,-119.897300 hAcc=13.977 et=+14h33m33s875ms alt=0.0 vAcc=0.5 vel=8.786007 sAcc=0.5 bear=357.62643 bAcc=30.0] ╟─ Age: 883ms, time: 1681454599163 04-14 09:43:20.048 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:20.048 INFO [TSLocationManager onLocationResult] 🔵 Re-scaled distanceFilter: 10.0->30.0) 04-14 09:43:20.048 INFO [TrackingService performStopDetection] ℹ️ Distance from stoppedAtLocation: -30.483559 04-14 09:43:20.049 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:20.051 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-14 09:43:20.088 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:20.091 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.883847,-119.897300 hAcc=13.977 et=+14h33m33s875ms alt=0.0 vAcc=0.5 vel=8.786007 sAcc=0.5 bear=357.62643 bAcc=30.0] ╟─ Age: 927ms, time: 1681454599163 04-14 09:43:20.092 INFO [TrackingService performStopDetection] ℹ️ Distance from stoppedAtLocation: -30.483559 04-14 09:43:20.092 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:20.092 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:20.092 DEBUG [TSLocationManager onLocationResult] ℹ️ IGNORED: same as last location 04-14 09:43:20.224 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:20.226 DEBUG [b destroy] ✅ DESTROY: 7a4255e4-6634-474b-8695-349113a34509 04-14 09:43:20.234 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 3 04-14 09:43:20.235 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:20.246 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:24.421 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:24.448 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.884270,-119.897297 hAcc=5.83 et=+14h33m39s107ms alt=0.0 vAcc=0.5 vel=8.70692 sAcc=0.5 bear=0.043466687 bAcc=30.0] ╟─ Age: 52ms, time: 1681454604395 04-14 09:43:24.449 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:24.450 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 46.957886, apparent speed: 8.975131 04-14 09:43:24.450 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 13.977 04-14 09:43:24.451 DEBUG [TSLocationManager incrementOdometer] Odometer: 237.021 04-14 09:43:24.452 INFO [TrackingService performStopDetection] ℹ️ Distance from stoppedAtLocation: 24.618504 04-14 09:43:24.452 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:24.478 INFO [b persist] ✅ INSERT: c6c95b03-cce3-4798-a30b-c52377d6bcc4 04-14 09:43:24.494 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:24.538 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:24.538 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 4 04-14 09:43:24.618 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:24.618 INFO [HttpService a] 🔵 HTTP POST: c6c95b03-cce3-4798-a30b-c52377d6bcc4 04-14 09:43:24.811 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:24.814 DEBUG [b destroy] ✅ DESTROY: c6c95b03-cce3-4798-a30b-c52377d6bcc4 04-14 09:43:24.827 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 4 04-14 09:43:24.827 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:24.830 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:28.405 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:28.407 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.884586,-119.897295 hAcc=5.0 et=+14h33m43s101ms alt=0.0 vAcc=0.5 vel=8.70437 sAcc=0.5 bear=0.06145969 bAcc=30.0] ╟─ Age: 17ms, time: 1681454608389 04-14 09:43:28.407 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:28.408 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 35.07384, apparent speed: 8.781632 04-14 09:43:28.408 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 9.488501 04-14 09:43:28.409 DEBUG [TSLocationManager incrementOdometer] Odometer: 272.09485 04-14 09:43:28.410 INFO [TrackingService performStopDetection] ℹ️ Distance from stoppedAtLocation: 60.52234 04-14 09:43:28.410 DEBUG [TrackingService performStopDetection] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 04-14 09:43:28.414 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 04-14 09:43:28.429 INFO [b persist] ✅ INSERT: 3fbf48da-b07c-4d39-b604-6c1723407e72 04-14 09:43:28.449 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:28.527 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63994ms (jobID: -18513055) 04-14 09:43:28.532 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:28.546 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:28.546 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 5 04-14 09:43:28.566 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:28.566 INFO [HttpService a] 🔵 HTTP POST: 3fbf48da-b07c-4d39-b604-6c1723407e72 04-14 09:43:28.762 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:28.765 DEBUG [b destroy] ✅ DESTROY: 3fbf48da-b07c-4d39-b604-6c1723407e72 04-14 09:43:28.778 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 5 04-14 09:43:28.779 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:28.783 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:30.018 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-14 09:43:30.019 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-14 09:43:32.414 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:32.416 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.884901,-119.897293 hAcc=5.0 et=+14h33m47s101ms alt=0.0 vAcc=0.5 vel=8.704323 sAcc=0.5 bear=0.011447483 bAcc=30.0] ╟─ Age: 26ms, time: 1681454612390 04-14 09:43:32.416 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:32.416 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 34.918503, apparent speed: 8.731809 04-14 09:43:32.417 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:43:32.420 DEBUG [TSLocationManager incrementOdometer] Odometer: 307.01337 04-14 09:43:32.457 INFO [b persist] ✅ INSERT: c3171c7d-7650-4634-b9bc-dcb103d9135f 04-14 09:43:32.494 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:32.529 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-14 09:43:32.536 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 04-14 09:43:32.542 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:32.561 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:32.562 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 6 04-14 09:43:32.582 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:32.582 INFO [HttpService a] 🔵 HTTP POST: c3171c7d-7650-4634-b9bc-dcb103d9135f 04-14 09:43:32.769 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:32.771 DEBUG [b destroy] ✅ DESTROY: c3171c7d-7650-4634-b9bc-dcb103d9135f 04-14 09:43:32.780 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 6 04-14 09:43:32.781 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:32.783 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:36.406 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:36.409 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.885219,-119.897290 hAcc=5.0 et=+14h33m51s100ms alt=0.0 vAcc=0.5 vel=8.704294 sAcc=0.5 bear=0.084818766 bAcc=30.0] ╟─ Age: 19ms, time: 1681454616388 04-14 09:43:36.410 INFO [TrackingService performStopDetection] ℹ️ Distance from stoppedAtLocation: 25.318542 04-14 09:43:36.410 DEBUG [TrackingService performStopDetection] ℹ️ Force cancel cancel stopTimeout due to apparent movement beyond stoppedAt location 04-14 09:43:36.410 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:36.411 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 35.318542, apparent speed: 8.831843 04-14 09:43:36.411 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:43:36.412 DEBUG [TSLocationManager incrementOdometer] Odometer: 342.3319 04-14 09:43:36.413 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 04-14 09:43:36.426 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: MOTION_ACTIVITY_CHECK in 63999ms (jobID: -18513055) 04-14 09:43:36.432 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:36.474 INFO [b persist] ✅ INSERT: 57bf99bd-dc8a-411a-b309-c1532f4dfc6d 04-14 09:43:36.488 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:36.531 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:36.532 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 7 04-14 09:43:36.565 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:36.570 INFO [HttpService a] 🔵 HTTP POST: 57bf99bd-dc8a-411a-b309-c1532f4dfc6d 04-14 09:43:36.771 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:36.772 DEBUG [b destroy] ✅ DESTROY: 57bf99bd-dc8a-411a-b309-c1532f4dfc6d 04-14 09:43:36.781 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 7 04-14 09:43:36.781 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:36.783 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:41.029 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:41.033 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.885566,-119.897290 hAcc=5.0 et=+14h33m55s625ms alt=0.0 vAcc=0.5 vel=8.704376 sAcc=0.5 bear=3.8882197E-4 bAcc=30.0] ╟─ Age: 117ms, time: 1681454620913 04-14 09:43:41.035 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:41.037 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 38.457672, apparent speed: 8.498933 04-14 09:43:41.038 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:43:41.039 DEBUG [TSLocationManager incrementOdometer] Odometer: 380.78958 04-14 09:43:41.130 INFO [b persist] ✅ INSERT: c75194a9-ba61-4137-806d-dd398e4ece29 04-14 09:43:41.180 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:41.222 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116) 04-14 09:43:41.234 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: MOTION_ACTIVITY_CHECK 04-14 09:43:41.242 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:41.305 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:41.306 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 8 04-14 09:43:41.397 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:41.398 INFO [HttpService a] 🔵 HTTP POST: c75194a9-ba61-4137-806d-dd398e4ece29 04-14 09:43:41.629 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:41.633 DEBUG [b destroy] ✅ DESTROY: c75194a9-ba61-4137-806d-dd398e4ece29 04-14 09:43:41.646 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 8 04-14 09:43:41.647 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:41.653 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:44.909 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-14 09:43:44.916 DEBUG [TrackingService handleLocationResult] ╔═════════════════════════════════════════════ ║ TrackingService: LocationResult ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 35.885879,-119.897290 hAcc=5.0 et=+14h33m59s602ms alt=0.0 vAcc=0.5 vel=8.704377 sAcc=0.5 bear=0.0 bAcc=30.0] ╟─ Age: 19ms, time: 1681454624890 04-14 09:43:44.917 INFO [TrackingService performStopDetection] ℹ️ Distance from stoppedAtLocation: 24.76279 04-14 09:43:44.918 DEBUG [TSLocationManager onLocationResult] ╔═════════════════════════════════════════════ ║ Process LocationResult ╠═════════════════════════════════════════════ 04-14 09:43:44.918 DEBUG [TSLocationManager locationIsInvalid] Distance from last location: 34.76279, apparent speed: 8.740958 04-14 09:43:44.918 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: true] 04-14 09:43:44.919 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 5.0 04-14 09:43:44.920 DEBUG [TSLocationManager incrementOdometer] Odometer: 415.55237 04-14 09:43:44.931 INFO [b persist] ✅ INSERT: d76496bf-fc60-442b-9e47-e6c561b0f24c 04-14 09:43:44.942 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 1) ╠═════════════════════════════════════════════ 04-14 09:43:44.979 DEBUG [AbstractService start] 🎾 BackgroundTaskService [eventCount: 1] 04-14 09:43:44.981 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 9 04-14 09:43:45.007 DEBUG [b first] ✅ Locked 1 records 04-14 09:43:45.008 INFO [HttpService a] 🔵 HTTP POST: d76496bf-fc60-442b-9e47-e6c561b0f24c 04-14 09:43:45.863 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: STOP_TIMEOUT 04-14 09:43:45.869 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [isMoving] 04-14 09:43:45.879 INFO [TSLocationManager removeLocationUpdates] 🔴 Location-services: OFF 04-14 09:43:45.881 INFO [ActivityRecognitionService stop] 🔴 Stop motion-activity updates 04-14 09:43:45.881 DEBUG [TSLocationManager clearLastOdometerLocation] ℹ️ Clear last odometer location 04-14 09:43:45.882 DEBUG [TSGeofenceManager d] ℹ️ Persist monitored geofences: [] 04-14 09:43:45.882 DEBUG [TSGeofenceManager f] 🔴 Stop monitoring geofences 04-14 09:43:45.883 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-14 09:43:45.890 DEBUG [HttpService stopMonitoringConnectivityChanges] 🔴 Stop monitoring connectivity changes 04-14 09:43:45.904 DEBUG [DeviceSettings stopMonitoringPowerSaveChanges] 🔴 Stop monitoring powersave changes 04-14 09:43:45.984 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-14 09:43:46.033 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-14 09:43:46.059 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-14 09:43:46.603 INFO [HttpService$h onResponse] 🔵 Response: 200 04-14 09:43:46.606 DEBUG [b destroy] ✅ DESTROY: d76496bf-fc60-442b-9e47-e6c561b0f24c 04-14 09:43:46.627 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 9 04-14 09:43:46.628 DEBUG [AbstractService finish] ⚙️︎ finish BackgroundTaskService [eventCount: 0, sticky: false] 04-14 09:43:46.647 DEBUG [AbstractService onDestroy] 🔴 BackgroundTaskService stopped 04-14 09:43:49.446 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-14 09:43:50.297 DEBUG [TransistorAuthorizationToken$b run] 🔑 Found cached token for tracker.transistorsoft.com ```
christocracy commented 1 year ago

Mock location events do not cause the plug-in to trigger into the “tracking” state.

Only when the device is detected to be moving (via motion api or exiting the 200 meter geofence around the last known position) does the plug-in turn on location-services to begin receiving locations from your Mock Location App.

You can test the scheduler with debug: true. You will hear the plug-in activate into the “stationary state” when a schedule event occurs.

Once a schedule event occurs, shake the device vigorously to simulate walking or go outside for a ride/walk.

appstart-lt commented 1 year ago

Thanks for the clarification, @christocracy. The tracking indeed appears to be working when driving around with a car using a real device. However, we now run into another issue. The BackgroundGeolocation.stopSchedule() does not stop the tracking. The problem looks very similar to this issue. After calling BackgroundGeolocation.stopSchedule(), the debug notification sounds still keep on playing and we still see our tracking being updated continuously on your test server (tracker.transistorsoft.com). The logs are below. Perhaps it's an issue with the library itself? We are testing on multiple devices, e.g. Google Pixel, Android 11.

Logs ``` ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:08:58.758 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:08:58.760 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:08:58.788 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 4 isFinished? true 04-17 15:08:58.788 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:08:58.788 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9207654,23.6660427 hAcc=4.9) 04-17 15:08:58.801 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:08:58.801 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:08:58.803 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:08:58.823 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:08:58.824 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:08:58.826 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:08:58.861 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:08:58.861 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:08:58.862 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:08:58.862 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:08:59.054 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:08:59.114 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:09:06.338 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:09:06.339 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:09:10.713 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:09:10.772 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-17 15:09:12.731 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:09:12.751 DEBUG [TSGeofenceManager$f run] ╔═════════════════════════════════════════════ ║ TSGeofenceManager monitoring 0/0 ╠═════════════════════════════════════════════ ╚═════════════════════════════════════════════ 04-17 15:09:12.771 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [batchSync, debug, desiredAccuracy, headlessJobService, logLevel, maxDaysToPersist, schedule, startOnBoot, stopOnTerminate, url] 04-17 15:09:12.780 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:09:12.794 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired current position 04-17 15:09:12.795 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:09:12.827 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:09:12.827 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:09:12.832 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:09:12.832 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:09:12.833 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:09:12.834 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 6647167 04-17 15:09:12.835 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:09:12.835 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:09:12.837 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:09:12.837 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:09:12.846 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:09:12.847 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:09:12.850 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:09:12.851 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:09:12.852 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:09:12.852 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 6647148 04-17 15:09:12.854 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:09:12.854 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:09:12.856 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:09:12.857 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:09:12.871 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:09:12.871 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 6] 04-17 15:09:12.873 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:09:12.873 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:09:12.880 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:09:12.881 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 7] 04-17 15:09:12.883 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:09:12.885 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:09:12.955 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:09:12.977 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:09:12.977 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:09:12.996 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:09:13.027 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:09:13.068 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:09:13.082 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:09:13.083 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:09:13.091 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:09:13.091 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:09:13.098 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:09:13.108 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:09:13.139 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:09:14.052 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:09:14.056 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 7 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=52 et=+35d11h24m5s114ms alt=93.30000305175781 vel=3.203844 bear=1.9807236 vAcc=4 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=532]}], age: 1013ms, time: 1681733353041 04-17 15:09:14.058 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:09:14.061 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 6 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=52 et=+35d11h24m5s114ms alt=93.30000305175781 vel=3.203844 bear=1.9807236 vAcc=4 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=532]}], age: 1019ms, time: 1681733353041 04-17 15:09:14.082 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:09:14.085 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 7 isFinished? false 04-17 15:09:14.085 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 04-17 15:09:14.085 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:09:14.089 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 6 isFinished? false 04-17 15:09:14.089 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:09:15.087 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:09:15.094 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:09:15.096 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 6 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=29 et=+35d11h24m7s81ms alt=93.30000305175781 vel=0.64431524 bear=0.999718 vAcc=4 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=412]}], age: 86ms, time: 1681733355008 04-17 15:09:15.098 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 7 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=29 et=+35d11h24m7s81ms alt=93.30000305175781 vel=0.64431524 bear=0.999718 vAcc=4 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=412]}], age: 88ms, time: 1681733355008 04-17 15:09:15.101 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:09:15.104 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:09:15.107 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:09:15.109 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:09:15.134 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 6 isFinished? true 04-17 15:09:15.134 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208963,23.6660081 hAcc=28.65) 04-17 15:09:15.135 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:09:15.135 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:09:15.135 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:09:15.140 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 7 isFinished? true 04-17 15:09:15.140 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:09:15.153 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:09:15.154 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:09:15.156 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:09:15.157 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208963,23.6660081 hAcc=28.65) 04-17 15:09:15.166 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:09:15.167 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:09:15.170 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:09:15.198 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:09:15.199 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:09:15.214 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:09:15.244 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:09:15.245 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:09:15.245 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:09:15.246 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:09:15.424 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:09:15.500 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:09:20.763 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:09:20.765 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:09:35.063 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:09:35.075 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:09:35.084 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:09:35.293 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:09:35.322 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:09:35.322 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:09:35.341 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:09:35.370 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:09:45.337 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:09:45.339 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:11:50.602 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:11:51.137 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-17 15:11:51.141 INFO [TSScheduleManager cancelOneShot] ⏰ Cancel OneShot: TERMINATE_EVENT 04-17 15:11:51.159 DEBUG [LifecycleManager a] ╔═════════════════════════════════════════════ ║ ☯️ HeadlessMode? true ╠═════════════════════════════════════════════ 04-17 15:11:51.168 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-17 15:11:51.182 INFO [BackgroundGeolocation$l0 run] ╔═════════════════════════════════════════════ ║ MainActivity was destroyed ╠═════════════════════════════════════════════ ╟─ stopOnTerminate: false ╟─ enabled: true 04-17 15:11:51.298 DEBUG [LifecycleManager onPause] ☯️ onPause 04-17 15:11:51.299 DEBUG [LifecycleManager onStop] ☯️ onStop 04-17 15:11:52.306 DEBUG [LifecycleManager onStart] ☯️ onStart 04-17 15:11:52.308 DEBUG [LifecycleManager onResume] ☯️ onResume 04-17 15:11:52.310 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:11:53.007 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:11:53.032 DEBUG [TSGeofenceManager$f run] ╔═════════════════════════════════════════════ ║ TSGeofenceManager monitoring 0/0 ╠═════════════════════════════════════════════ ╚═════════════════════════════════════════════ 04-17 15:11:53.039 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [batchSync, debug, desiredAccuracy, headlessJobService, logLevel, maxDaysToPersist, schedule, startOnBoot, stopOnTerminate, url] 04-17 15:11:53.042 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:11:53.048 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:11:53.048 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:11:53.048 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:11:53.051 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:11:53.051 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:11:53.052 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:11:53.052 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 6486948 04-17 15:11:53.053 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:11:53.053 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:11:53.054 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:11:53.055 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:11:53.064 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:11:53.065 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:11:53.067 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:11:53.068 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:11:53.068 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:11:53.068 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 6486932 04-17 15:11:53.069 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:11:53.070 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:11:53.070 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:11:53.071 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:11:53.079 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:11:53.079 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 8] 04-17 15:11:53.081 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:11:53.082 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:11:53.087 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:11:53.088 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 9] 04-17 15:11:53.091 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:11:53.091 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:11:53.247 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:11:53.285 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:11:53.285 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:11:53.312 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:11:53.313 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:11:53.321 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:11:53.324 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:11:53.329 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:11:53.330 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:11:53.354 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:11:53.365 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:11:54.255 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:11:54.257 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 8 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=49 et=+35d11h26m45s312ms alt=93.20000457763672 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=532]}], age: 1016ms, time: 1681733513239 04-17 15:11:54.260 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:11:54.263 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 9 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=49 et=+35d11h26m45s312ms alt=93.20000457763672 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=532]}], age: 1023ms, time: 1681733513239 04-17 15:11:54.277 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:11:54.280 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 8 isFinished? false 04-17 15:11:54.281 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 04-17 15:11:54.281 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:11:54.283 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 9 isFinished? false 04-17 15:11:54.284 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:11:55.064 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:11:55.066 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 9 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=27 et=+35d11h26m47s74ms alt=93.20000457763672 vel=2.0797987 bear=310.99518 vAcc=3 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=412]}], age: 64ms, time: 1681733515002 04-17 15:11:55.069 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:11:55.069 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 33.445 04-17 15:11:55.070 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:11:55.071 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 8 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=27 et=+35d11h26m47s74ms alt=93.20000457763672 vel=2.0797987 bear=310.99518 vAcc=3 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=412]}], age: 69ms, time: 1681733515002 04-17 15:11:55.074 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:11:55.075 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:11:55.095 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 9 isFinished? true 04-17 15:11:55.095 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9207424,23.6659022 hAcc=26.9) 04-17 15:11:55.096 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:11:55.096 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:11:55.096 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 28.65 04-17 15:11:55.103 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 8 isFinished? true 04-17 15:11:55.104 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:11:55.111 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:11:55.112 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:11:55.114 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:11:55.115 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9207424,23.6659022 hAcc=26.9) 04-17 15:11:55.123 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:11:55.123 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:11:55.126 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:11:55.157 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:11:55.158 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:11:55.163 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:11:55.197 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:11:55.198 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:11:55.199 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:11:55.199 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:11:55.234 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-17 15:11:55.381 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:11:55.451 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:12:03.302 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:12:03.303 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:12:05.120 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:12:05.122 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:12:05.122 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:12:05.124 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken] 04-17 15:12:05.130 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:12:05.136 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:12:05.136 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:12:05.137 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:12:05.137 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 6474863 04-17 15:12:05.139 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:12:05.139 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:12:05.140 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:12:05.140 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:12:05.143 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:12:05.183 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:12:05.184 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 10] 04-17 15:12:05.185 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:12:05.185 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:12:05.358 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:12:05.388 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:12:05.388 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:12:05.402 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:12:05.402 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:12:05.402 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:12:05.403 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:12:05.413 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 15:12:05.422 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:12:05.423 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:12:05.454 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:12:05.557 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:12:06.255 DEBUG [LifecycleManager onPause] ☯️ onPause 04-17 15:12:06.344 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:12:06.346 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 10 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=20 et=+35d11h26m57s437ms alt=93.20000457763672 vel=2.0639493 bear=310.98715 vAcc=4 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=532]}], age: 981ms, time: 1681733525364 04-17 15:12:06.349 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:12:06.350 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 28.65 04-17 15:12:06.353 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:12:06.355 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:12:06.384 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:12:06.384 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 10 isFinished? true 04-17 15:12:06.385 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208074,23.6657705 hAcc=20.443) 04-17 15:12:06.403 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:12:06.405 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:12:06.407 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:12:06.414 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:12:06.415 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:12:06.417 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:12:06.440 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:12:06.442 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:12:06.442 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:12:06.442 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:12:06.669 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:12:06.698 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:12:07.643 DEBUG [LifecycleManager onResume] ☯️ onResume 04-17 15:12:07.647 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:12:15.394 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:12:15.396 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:12:46.623 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:12:46.636 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:12:46.656 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:12:46.856 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:12:46.888 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:12:46.888 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:12:46.903 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:12:46.934 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:12:56.898 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:12:56.900 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:15:57.530 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-17 15:16:07.272 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:16:07.273 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:16:07.274 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:16:07.277 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken] 04-17 15:16:07.282 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:16:07.289 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:16:07.289 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:16:07.289 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:16:07.290 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 6232710 04-17 15:16:07.291 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:16:07.292 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:16:07.293 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:16:07.293 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:16:07.296 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:16:07.335 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:16:07.336 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 11] 04-17 15:16:07.337 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:16:07.337 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:16:07.501 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:16:07.543 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:16:07.543 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:16:07.552 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:16:07.552 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:16:07.560 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:16:07.561 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:16:07.562 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 15:16:07.580 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:16:07.580 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:16:07.612 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:16:07.702 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:16:08.081 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:16:08.083 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 11 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=5 et=+35d11h31m0s111ms alt=93.30000305175781 vel=14.1335 bear=2.0 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=424]}], age: 43ms, time: 1681733768038 04-17 15:16:08.085 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:16:08.085 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 28.65 04-17 15:16:08.086 DEBUG [TSLocationManager incrementOdometer] Odometer: 208.20769 04-17 15:16:08.091 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:16:08.100 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:16:08.117 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 11 isFinished? true 04-17 15:16:08.117 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9205747,23.6657537 hAcc=4.7) 04-17 15:16:08.117 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:16:08.141 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:16:08.142 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:16:08.145 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:16:08.156 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:16:08.157 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:16:08.159 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:16:08.201 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:16:08.202 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:16:08.203 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:16:08.204 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:16:08.398 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:16:08.400 DEBUG [LifecycleManager onPause] ☯️ onPause 04-17 15:16:08.459 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:16:11.892 DEBUG [LifecycleManager onResume] ☯️ onResume 04-17 15:16:11.903 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:16:17.544 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:16:17.546 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:18:22.810 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-17 15:27:34.883 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:27:34.918 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-17 15:27:44.929 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:27:44.930 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:31:59.687 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:31:59.688 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:31:59.691 DEBUG [TSGeofenceManager$f run] ╔═════════════════════════════════════════════ ║ TSGeofenceManager monitoring 0/0 ╠═════════════════════════════════════════════ ╚═════════════════════════════════════════════ 04-17 15:31:59.702 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken, batchSync, debug, desiredAccuracy, headlessJobService, logLevel, maxDaysToPersist, schedule, startOnBoot, stopOnTerminate, url] 04-17 15:31:59.704 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:31:59.708 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:31:59.714 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:31:59.714 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:31:59.714 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:31:59.715 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 5280285 04-17 15:31:59.716 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:31:59.716 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:31:59.717 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:31:59.717 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:31:59.720 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:31:59.737 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:31:59.737 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:31:59.740 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:31:59.741 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:31:59.741 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:31:59.741 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 5280259 04-17 15:31:59.743 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:31:59.743 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:31:59.744 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:31:59.744 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:31:59.760 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:31:59.760 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:31:59.764 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:31:59.765 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:31:59.766 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:31:59.766 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 5280234 04-17 15:31:59.767 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:31:59.767 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:31:59.769 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:31:59.769 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:31:59.782 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:31:59.782 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 2, requestId: 12] 04-17 15:31:59.783 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:31:59.788 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:31:59.789 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 13] 04-17 15:31:59.790 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:31:59.791 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:31:59.794 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:31:59.795 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 14] 04-17 15:31:59.797 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:31:59.797 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:31:59.802 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:31:59.803 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 15] 04-17 15:31:59.805 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:31:59.806 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:31:59.914 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:31:59.946 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:31:59.947 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:31:59.957 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:31:59.957 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:31:59.964 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:31:59.965 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:31:59.970 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 15:31:59.986 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:31:59.998 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:31:59.998 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:31:59.999 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:32:00.001 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:32:00.002 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:32:00.010 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:32:00.016 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:32:00.038 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:32:00.978 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:32:00.984 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 13 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=64 et=+35d11h46m52s395ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 660ms, time: 1681734720322 04-17 15:32:00.985 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:32:00.989 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ getCurrentPosition LocationResult: 12 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=64 et=+35d11h46m52s395ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 666ms, time: 1681734720322 04-17 15:32:00.991 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 3] 04-17 15:32:00.993 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 15 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=64 et=+35d11h46m52s395ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 670ms, time: 1681734720322 04-17 15:32:00.995 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 4] 04-17 15:32:00.997 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 14 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=64 et=+35d11h46m52s395ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 674ms, time: 1681734720322 04-17 15:32:01.007 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 28.65 04-17 15:32:01.011 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 13 isFinished? false 04-17 15:32:01.011 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 3, sticky: true] 04-17 15:32:01.013 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired current position 04-17 15:32:01.013 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 28.65 04-17 15:32:01.016 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 12 isFinished? true 04-17 15:32:01.017 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 28.65 04-17 15:32:01.017 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 2, sticky: false] 04-17 15:32:01.019 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 15 isFinished? false 04-17 15:32:01.019 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: false] 04-17 15:32:01.019 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 48.9 04-17 15:32:01.020 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:01.022 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:32:01.023 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 14 isFinished? false 04-17 15:32:01.023 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:02.027 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:32:02.033 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:32:02.034 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 13 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=5 et=+35d11h46m54s4ms alt=93.20000457763672 vel=1.1019818 bear=243.99721 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 101ms, time: 1681734721931 04-17 15:32:02.037 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 14 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=5 et=+35d11h46m54s4ms alt=93.20000457763672 vel=1.1019818 bear=243.99721 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 97ms, time: 1681734721931 04-17 15:32:02.038 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 3] 04-17 15:32:02.039 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:32:02.039 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 15 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=5 et=+35d11h46m54s4ms alt=93.20000457763672 vel=1.1019818 bear=243.99721 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 106ms, time: 1681734721931 04-17 15:32:02.039 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 48.9 04-17 15:32:02.040 DEBUG [TSLocationManager incrementOdometer] Odometer: 242.88815 04-17 15:32:02.042 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:02.047 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 13 isFinished? true 04-17 15:32:02.047 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:02.048 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:32:02.049 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:32:02.049 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 26.9 04-17 15:32:02.051 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208576,23.6659802 hAcc=4.9) 04-17 15:32:02.052 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 14 isFinished? true 04-17 15:32:02.053 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:02.054 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:32:02.054 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 26.9 04-17 15:32:02.060 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 15 isFinished? true 04-17 15:32:02.061 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:02.066 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:32:02.068 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208576,23.6659802 hAcc=4.9) 04-17 15:32:02.080 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:32:02.081 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:32:02.083 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:32:02.084 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208576,23.6659802 hAcc=4.9) 04-17 15:32:02.087 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:32:02.093 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:32:02.094 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:32:02.096 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:32:02.099 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:32:02.100 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:32:02.102 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:32:02.117 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:32:02.118 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:32:02.121 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:32:02.162 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:32:02.164 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:32:02.164 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:32:02.165 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:32:02.358 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:32:02.418 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:32:09.954 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:32:09.956 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:32:19.462 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:32:19.477 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:32:19.494 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:32:19.692 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:32:19.722 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:32:19.722 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:32:19.738 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:32:19.765 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:32:26.509 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:32:26.522 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:32:26.531 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:32:26.739 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:32:26.755 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:32:26.756 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:32:26.771 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:32:26.800 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:32:29.732 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:32:29.734 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:36:09.180 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-17 15:37:33.233 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:37:33.273 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-17 15:37:43.297 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:37:43.298 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:51:11.740 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:51:12.433 DEBUG [LifecycleManager onPause] ☯️ onPause 04-17 15:51:12.434 DEBUG [LifecycleManager onStop] ☯️ onStop 04-17 15:51:20.938 DEBUG [LifecycleManager onStart] ☯️ onStart 04-17 15:51:20.943 DEBUG [LifecycleManager onResume] ☯️ onResume 04-17 15:51:20.951 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:51:21.778 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:51:21.779 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:51:25.395 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:51:25.396 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:51:25.398 DEBUG [TSGeofenceManager$f run] ╔═════════════════════════════════════════════ ║ TSGeofenceManager monitoring 0/0 ╠═════════════════════════════════════════════ ╚═════════════════════════════════════════════ 04-17 15:51:25.404 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [batchSync, debug, desiredAccuracy, extras, headers, headlessJobService, logLevel, maxDaysToPersist, params, schedule, startOnBoot, stopOnTerminate, url] 04-17 15:51:25.410 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:51:25.413 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:51:25.419 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:51:25.420 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:51:25.420 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:51:25.420 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 4114580 04-17 15:51:25.422 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:51:25.422 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:51:25.423 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:51:25.423 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:51:25.426 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:51:25.450 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 15:51:25.451 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 15:51:25.454 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 15:51:25.455 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 15:51:25.455 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 15:51:25.455 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 4114545 04-17 15:51:25.457 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 15:51:25.457 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 15:51:25.458 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 15:51:25.458 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 15:51:25.485 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:51:25.485 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 2, requestId: 16] 04-17 15:51:25.486 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:51:25.491 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:51:25.492 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 17] 04-17 15:51:25.493 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:51:25.494 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:51:25.494 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:51:25.495 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 18] 04-17 15:51:25.496 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 15:51:25.496 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:51:25.639 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:51:25.665 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:51:25.666 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:51:25.674 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:51:25.675 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:51:25.675 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:51:25.675 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:51:25.687 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 15:51:25.704 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 15:51:25.704 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:51:25.715 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:51:25.715 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:51:25.736 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:51:25.741 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:51:26.667 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:51:26.675 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 18 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=60 et=+35d12h6m18s110ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 633ms, time: 1681735886037 04-17 15:51:26.675 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:51:26.680 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 3] 04-17 15:51:26.680 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ getCurrentPosition LocationResult: 16 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=60 et=+35d12h6m18s110ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 641ms, time: 1681735886037 04-17 15:51:26.682 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 17 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=60 et=+35d12h6m18s110ms alt=93.20000457763672 vAcc=6 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=516]}], age: 644ms, time: 1681735886037 04-17 15:51:26.694 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 26.9 04-17 15:51:26.697 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 18 isFinished? false 04-17 15:51:26.697 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 2, sticky: true] 04-17 15:51:26.700 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired current position 04-17 15:51:26.700 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 60.0 04-17 15:51:26.704 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 16 isFinished? true 04-17 15:51:26.704 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: false] 04-17 15:51:26.705 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 60.0 04-17 15:51:26.706 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:51:26.710 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:51:26.711 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 17 isFinished? false 04-17 15:51:26.711 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:51:27.887 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:51:27.891 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 18 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=43 et=+35d12h6m19s878ms alt=93.20000457763672 vel=0.7131358 bear=200.0046 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 84ms, time: 1681735887805 04-17 15:51:27.893 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 60.0 04-17 15:51:27.893 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:51:27.894 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 17 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=43 et=+35d12h6m19s878ms alt=93.20000457763672 vel=0.7131358 bear=200.0046 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 88ms, time: 1681735887805 04-17 15:51:27.897 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: true] 04-17 15:51:27.897 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 18 isFinished? false 04-17 15:51:27.898 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 60.0 04-17 15:51:27.901 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 17 isFinished? false 04-17 15:51:27.901 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 15:51:28.866 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 15:51:28.869 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 17 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=37 et=+35d12h6m20s882ms alt=93.20000457763672 vel=0.72405005 bear=180.0037 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 58ms, time: 1681735888809 04-17 15:51:28.873 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:51:28.874 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 43.409 04-17 15:51:28.875 DEBUG [TSLocationManager incrementOdometer] Odometer: 265.919 04-17 15:51:28.877 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 15:51:28.879 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 18 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=37 et=+35d12h6m20s882ms alt=93.20000457763672 vel=0.72405005 bear=180.0037 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=400]}], age: 68ms, time: 1681735888809 04-17 15:51:28.887 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:51:28.890 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 15:51:28.910 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 17 isFinished? true 04-17 15:51:28.910 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:51:28.911 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.920681,23.6657931 hAcc=36.568) 04-17 15:51:28.911 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 15:51:28.911 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 43.409 04-17 15:51:28.922 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 18 isFinished? true 04-17 15:51:28.924 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 15:51:28.928 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:51:28.929 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:51:28.932 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:51:28.933 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.920681,23.6657931 hAcc=36.568) 04-17 15:51:28.941 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 15:51:28.942 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 15:51:28.944 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 15:51:28.972 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:51:28.973 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 15:51:28.975 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:51:29.020 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 15:51:29.021 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 15:51:29.021 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 15:51:29.021 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 15:51:29.197 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 15:51:29.279 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 15:51:35.677 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:51:35.679 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:51:44.616 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:51:44.628 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:51:44.637 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:51:44.847 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:51:44.871 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:51:44.872 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:51:44.887 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:51:44.914 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:51:54.885 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:51:54.887 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:52:13.748 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:52:13.787 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:52:13.851 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:52:13.857 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:52:13.869 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:52:13.875 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:52:14.000 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:52:14.029 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:52:14.030 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:52:14.044 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:52:14.087 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:52:14.113 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:52:14.134 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:52:14.135 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:52:14.150 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:52:14.183 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:52:18.950 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:52:18.961 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:52:18.972 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:52:19.058 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:52:19.070 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:52:19.077 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:52:19.177 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:52:19.193 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:52:19.194 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:52:19.208 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:52:19.245 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:52:19.286 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 15:52:19.301 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:52:19.301 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:52:19.317 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:52:19.347 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:52:24.040 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:52:24.041 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:54:11.105 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:54:11.120 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:54:11.131 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:54:11.335 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:54:11.359 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:54:11.360 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:54:11.373 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:54:11.403 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:54:21.372 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:54:21.373 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 15:58:36.941 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 15:58:36.965 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 15:58:36.971 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 15:58:37.189 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 15:58:37.216 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 15:58:37.216 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 15:58:37.233 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 15:58:37.261 DEBUG [TSLocationManagerActivity onDestroy] 04-17 15:58:47.240 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 15:58:47.241 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:03:13.172 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:03:13.182 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:03:13.193 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:03:13.404 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:03:13.436 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:03:13.437 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:03:13.450 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:03:13.483 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:03:23.441 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:03:23.442 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:05:11.013 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:05:11.053 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:05:11.117 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:05:11.122 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:05:11.132 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:05:11.138 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:05:11.271 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:05:11.298 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:05:11.298 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:05:11.313 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:05:11.358 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:05:11.374 INFO [TSScheduleManager oneShot] ⏰ Oneshot TERMINATE_EVENT is already pending 04-17 16:05:11.395 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:05:11.398 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:05:11.412 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:05:11.440 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:05:21.308 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:05:21.309 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:13:58.361 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:13:58.401 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:13:58.415 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:13:58.625 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:13:58.648 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:13:58.649 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:13:58.676 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:13:58.709 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:14:08.685 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:14:08.686 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:15:03.735 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:15:03.769 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:15:03.775 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:15:03.991 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:15:04.017 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:15:04.018 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:15:04.037 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:15:04.066 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:15:14.026 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:15:14.027 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:20:38.201 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:20:38.217 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:20:38.229 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:20:38.438 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:20:38.466 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:20:38.467 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:20:38.497 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:20:38.531 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:20:48.508 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:20:48.508 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:20:52.848 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:20:52.862 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:20:52.880 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:20:53.077 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:20:53.103 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:20:53.104 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:20:53.116 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:20:53.152 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:21:03.115 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:21:03.116 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:21:05.409 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:21:05.421 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:21:05.430 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:21:05.637 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:21:05.660 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:21:05.660 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:21:05.673 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:21:05.700 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:21:15.679 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:21:15.680 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:28:30.446 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:28:30.486 DEBUG [BackgroundGeolocation b] 🔴 Cleared callbacks 04-17 16:28:40.510 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:28:40.510 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:28:43.352 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:28:44.049 DEBUG [LifecycleManager onPause] ☯️ onPause 04-17 16:28:44.050 DEBUG [LifecycleManager onStop] ☯️ onStop 04-17 16:28:46.571 INFO [LoggerFacade$a a] ╔═════════════════════════════════════════════ ║ TSLocationManager version: 3.3.1 (418) ╠═════════════════════════════════════════════ ╟─ HUAWEI VOG-L29 @ 10 (react-native) { "activityRecognitionInterval": 10000, "allowIdenticalLocations": false, "authorization": { "strategy": "JWT", "accessToken": "eyJhb", "refreshPayload": {}, "refreshHeaders": { "Authorization": "Bearer {accessToken}" }, "expires": -1 }, "autoSync": true, "autoSyncThreshold": 0, "backgroundPermissionRationale": { "title": "Allow {applicationName} to access this device's location even when closed or not in use?", "message": "[CHANGEME] This app collects location data for FEATURE X and FEATURE Y.", "positiveAction": "Change to \"{backgroundPermissionOptionLabel}\"", "negativeAction": "" }, "batchSync": true, "configUrl": "", "debug": true, "deferTime": 0, "desiredAccuracy": -1, "desiredOdometerAccuracy": 100, "disableAutoSyncOnCellular": false, "disableElasticity": false, "disableLocationAuthorizationAlert": false, "disableMotionActivityUpdates": false, "disableProviderChangeRecord": false, "disableStopDetection": false, "distanceFilter": 10, "elasticityMultiplier": 1, "enableHeadless": false, "enableTimestampMeta": false, "extras": {}, "fastestLocationUpdateInterval": -1, "foregroundService": true, "geofenceInitialTriggerEntry": true, "geofenceModeHighAccuracy": false, "geofenceProximityRadius": 1000, "geofenceTemplate": "", "headers": {}, "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask", "heartbeatInterval": -1, "httpRootProperty": "location", "httpTimeout": 60000, "isMoving": false, "locationAuthorizationRequest": "Always", "locationTemplate": "", "locationTimeout": 60, "locationUpdateInterval": 1000, "locationsOrderDirection": "ASC", "logLevel": 5, "logMaxDays": 3, "maxBatchSize": -1, "maxDaysToPersist": 14, "maxRecordsToPersist": -1, "method": "POST", "minimumActivityRecognitionConfidence": 75, "motionTriggerDelay": 0, "notification": { "layout": "", "title": "", "text": "Location Service activated", "color": "", "channelName": "TSLocationManager", "channelId": "", "smallIcon": "", "largeIcon": "", "priority": 0, "sticky": false, "strings": {}, "actions": [] }, "params": {}, "persist": true, "persistMode": 2, "schedule": [ "1-6 9:00-17:00" ], "scheduleUseAlarmManager": false, "speedJumpFilter": 300, "startOnBoot": true, "stationaryRadius": 25, "stopAfterElapsedMinutes": 0, "stopOnStationary": false, "stopOnTerminate": false, "stopTimeout": 5, "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking", "url": "http:\/\/test.com\/testAppService\/coordinate", "useSignificantChangesOnly": false, "enabled": true, "schedulerEnabled": true, "trackingMode": 1, "odometer": 265.91900634765625, "isFirstBoot": false, "didLaunchInBackground": false, "didDeviceReboot": false } 04-17 16:28:46.571 DEBUG [TSSQLiteAppender$c run] ℹ️ Cleared logs older than 72 hours 04-17 16:28:46.572 INFO [LoggerFacade$a a] ╔═════════════════════════════════════════════ ║ DEVICE SENSORS ╠═════════════════════════════════════════════ ╟─ ✅ ACCELEROMETER: {Sensor name="accelerometer-icm20690", vendor="invensense", version=1, type=1, maxRange=78.4532, resolution=9.576806E-6, power=0.23, minDelay=2000} ╟─ ✅ GYROSCOPE: {Sensor name="gyroscope-icm20690", vendor="invensense", version=1, type=4, maxRange=34.906586, resolution=1.7453292E-5, power=6.1, minDelay=2000} ╟─ ✅ MAGNETOMETER: {Sensor name="akm-akm09918", vendor="akm", version=1001, type=2, maxRange=2000.0, resolution=0.0625, power=6.8, minDelay=10000} ╟─ ✅ SIGNIFICANT_MOTION: {Sensor name="significant Motion", vendor="huawei", version=1, type=17, maxRange=2.14748365E9, resolution=1.0, power=0.23, minDelay=-1} ╚═════════════════════════════════════════════ 04-17 16:28:46.683 DEBUG [LifecycleManager onCreate] ☯️ onCreate 04-17 16:28:46.684 DEBUG [LifecycleManager onStart] ☯️ onStart 04-17 16:28:46.684 DEBUG [LifecycleManager onResume] ☯️ onResume 04-17 16:28:46.687 INFO [BackgroundGeolocation ] ✅ Google Play Services: connected (version code:12451000) 04-17 16:28:46.693 DEBUG [TSLocationManager$e run] ℹ️ Load last odometer location: Location[TSLocationManager 55******,24****** hAcc=37 t=?!? et=?!? vAcc=??? sAcc=??? bAcc=??? {Bundle[{odometer=265.919}]}] 04-17 16:28:46.695 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 16:28:46.716 INFO [TSProviderManager startMonitoring] 🎾 Start monitoring location-provider changes 04-17 16:28:46.717 DEBUG [HttpService a] ╔═════════════════════════════════════════════ ║ 📶 Connectivity change: connected? true ╠═════════════════════════════════════════════ 04-17 16:28:46.731 DEBUG [b prune] ℹ️ PRUNE -14 days 04-17 16:28:47.720 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 16:28:53.401 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:28:53.402 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:28:56.079 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:28:56.080 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:28:56.090 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [batchSync, debug, desiredAccuracy, extras, headers, headlessJobService, logLevel, maxDaysToPersist, params, schedule, startOnBoot, stopOnTerminate, url] 04-17 16:28:56.096 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken, batchSync, debug, desiredAccuracy, headlessJobService, logLevel, maxDaysToPersist, schedule, startOnBoot, stopOnTerminate, url] 04-17 16:28:56.101 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 16:28:56.102 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 16:28:56.103 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 16:28:56.103 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 1863897 04-17 16:28:56.112 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 16:28:56.114 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 16:28:56.118 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 16:28:56.118 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 16:28:56.124 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:28:56.129 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:28:56.132 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:28:56.156 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 16:28:56.157 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 16:28:56.161 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 16:28:56.161 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 16:28:56.162 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 16:28:56.162 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 1863838 04-17 16:28:56.163 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 16:28:56.163 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 16:28:56.165 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 16:28:56.165 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 16:28:56.177 INFO [HttpService flush] ╔═════════════════════════════════════════════ ║ HTTP Service (count: 0) ╠═════════════════════════════════════════════ 04-17 16:28:56.177 DEBUG [TSScheduleManager restart] 📅 Schedule changed: restarting... 04-17 16:28:56.181 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 16:28:56.181 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 16:28:56.181 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 16:28:56.182 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 1863818 04-17 16:28:56.183 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 16:28:56.183 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 16:28:56.184 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 16:28:56.184 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 16:28:56.204 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:28:56.206 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 1] 04-17 16:28:56.212 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 16:28:56.213 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 2] 04-17 16:28:56.220 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 16:28:56.220 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 16:28:56.226 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 16:28:56.226 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 16:28:56.228 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:28:56.230 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 3] 04-17 16:28:56.231 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 16:28:56.232 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 16:28:56.318 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:28:56.368 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:28:56.368 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:28:56.381 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:28:56.382 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:28:56.401 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:28:56.401 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:28:56.409 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 16:28:56.416 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 16:28:56.419 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:28:56.424 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:28:56.425 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:28:56.425 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:28:56.426 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:28:56.457 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:28:56.457 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 16:28:56.461 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:28:57.455 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:28:57.459 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 1 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=24 et=+35d12h43m48s519ms alt=93.30000305175781 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=568]}], age: 1012ms, time: 1681738136446 04-17 16:28:57.462 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 16:28:57.463 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 2 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=24 et=+35d12h43m48s519ms alt=93.30000305175781 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=568]}], age: 1017ms, time: 1681738136446 04-17 16:28:57.466 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 16:28:57.466 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 23.898 04-17 16:28:57.469 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 3] 04-17 16:28:57.471 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 3 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=24 et=+35d12h43m48s519ms alt=93.30000305175781 vAcc=3 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=568]}], age: 1024ms, time: 1681738136446 04-17 16:28:57.475 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:28:57.479 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 16:28:57.502 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 1 isFinished? true 04-17 16:28:57.502 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 16:28:57.503 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208657,23.6659303 hAcc=23.898) 04-17 16:28:57.503 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:28:57.504 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 23.898 04-17 16:28:57.509 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 2 isFinished? true 04-17 16:28:57.509 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:28:57.510 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 16:28:57.511 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 23.898 04-17 16:28:57.512 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208657,23.6659303 hAcc=23.898) 04-17 16:28:57.517 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 3 isFinished? true 04-17 16:28:57.518 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:28:57.529 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 16:28:57.530 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 16:28:57.532 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 16:28:57.537 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 16:28:57.538 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 16:28:57.540 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 16:28:57.541 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9208657,23.6659303 hAcc=23.898) 04-17 16:28:57.549 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 16:28:57.549 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 16:28:57.551 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 16:28:57.570 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 16:28:57.572 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 16:28:57.581 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 16:28:57.632 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 16:28:57.634 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 16:28:57.634 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 16:28:57.634 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 16:28:57.805 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 16:28:57.888 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 16:29:06.347 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:29:06.348 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:30:43.055 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:30:43.056 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:30:43.057 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:30:43.060 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken] 04-17 16:30:43.067 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:30:43.073 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:30:43.076 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:30:43.311 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:30:43.344 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:30:43.344 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:30:43.355 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:30:43.356 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:30:43.364 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 16:30:43.384 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:30:43.419 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:30:53.370 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:30:53.371 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:40:27.888 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:40:27.902 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:40:27.911 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:40:28.127 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:40:28.155 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:40:28.157 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:40:28.197 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:40:28.230 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:40:38.184 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:40:38.185 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:40:42.822 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-17 16:44:36.995 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:44:36.996 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:44:36.997 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:44:36.998 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken] 04-17 16:44:37.003 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 16:44:37.003 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 16:44:37.004 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 16:44:37.004 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 922996 04-17 16:44:37.006 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 16:44:37.006 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 16:44:37.007 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 16:44:37.007 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 16:44:37.054 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:44:37.058 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:44:37.059 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 4] 04-17 16:44:37.061 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 16:44:37.061 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 16:44:37.063 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:44:37.237 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:44:37.274 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:44:37.274 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:44:37.287 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:44:37.288 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:44:37.300 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:44:37.300 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:44:37.302 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 16:44:37.315 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 16:44:37.315 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:44:37.347 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:44:37.815 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:44:37.818 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 4 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=5 et=+35d12h59m29s849ms alt=93.20000457763672 vel=5.034512 bear=203.0 vAcc=6 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=412]}], age: 40ms, time: 1681739077777 04-17 16:44:37.821 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 16:44:37.822 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 23.898 04-17 16:44:37.825 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:44:37.825 DEBUG [TSLocationManager incrementOdometer] Odometer: 311.56934 04-17 16:44:37.829 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 16:44:37.864 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 16:44:37.865 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 16:44:37.868 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 16:44:37.871 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 4 isFinished? true 04-17 16:44:37.871 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:44:37.874 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9206319,23.6653454 hAcc=4.9) 04-17 16:44:37.886 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 16:44:37.887 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 16:44:37.889 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 16:44:37.902 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 16:44:37.903 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 16:44:37.903 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 16:44:37.903 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 16:44:38.143 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 16:44:38.156 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 16:44:47.169 INFO [TSScheduleManager stop] 🔴 Scheduler OFF 04-17 16:44:47.265 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:44:47.265 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:45:15.627 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:45:15.628 DEBUG [c g] ℹ️ LocationAuthorization: Permission granted 04-17 16:45:15.629 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:45:15.631 DEBUG [TSConfig d] ℹ️ Persist config, dirty: [authorization, authorization.accessToken] 04-17 16:45:15.635 INFO [TSScheduleManager start] ╔═════════════════════════════════════════════ ║ 🎾 Scheduler ON ╠═════════════════════════════════════════════ ╟─ Schedule[09:00-17:00, Days: [1, 2, 3, 4, 5, 6], trackingMode: 1] ╚═════════════════════════════════════════════ 04-17 16:45:15.635 DEBUG [TSScheduleManager a] 📅 Day #2: Searching schedule for alarms... 04-17 16:45:15.636 INFO [TSScheduleManager a] 📅 Scheduled Alarm: OFF at 17:00 on pirmadienis 04-17 16:45:15.636 DEBUG [TSScheduleManager a] ℹ️ JobScheduler triggerDelay: 884364 04-17 16:45:15.640 DEBUG [HttpService startMonitoringConnectivityChanges] 🎾 Start monitoring connectivity changes 04-17 16:45:15.640 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 🎾 Start monitoring powersave changes 04-17 16:45:15.641 DEBUG [c h] ℹ️ LocationAuthorization: Permission granted 04-17 16:45:15.641 INFO [HeartbeatService stop] 🔴 Stop heartbeat 04-17 16:45:15.669 WARN [RNBackgroundGeolocationModule ready] ⚠️ #ready already called. Redirecting to #setConfig 04-17 16:45:15.673 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:45:15.674 INFO [SingleLocationRequest startUpdatingLocation] 🔵 [SingleLocationRequest start, action: 1, requestId: 5] 04-17 16:45:15.678 INFO [ActivityRecognitionService start] 🎾 Start motion-activity updates 04-17 16:45:15.678 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: true] 04-17 16:45:15.679 WARN [TSScheduleManager start] Scheduler already started. IGNORED 04-17 16:45:15.868 INFO [TSScheduleManager oneShot] ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588) 04-17 16:45:15.908 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:45:15.909 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:45:15.919 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:45:15.919 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:45:15.927 DEBUG [TSLocationManagerActivity execute] locationsettings 04-17 16:45:15.928 DEBUG [TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1 04-17 16:45:15.930 DEBUG [TSLocationManagerActivity stop] eventCount: 2 04-17 16:45:15.938 DEBUG [TSLocationManagerActivity stop] eventCount: 0 04-17 16:45:15.938 DEBUG [TSLocationManagerActivity stop] eventCount: 1 04-17 16:45:15.970 DEBUG [TSLocationManagerActivity onDestroy] 04-17 16:45:16.860 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 1] 04-17 16:45:16.862 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 5 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=60 et=+35d13h0m7s902ms alt=93.20000457763672 vAcc=4 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=532]}], age: 1032ms, time: 1681739115829 04-17 16:45:16.887 DEBUG [AbstractService start] 🎾 LocationRequestService [eventCount: 2] 04-17 16:45:16.889 INFO [LocationRequestService handleLocationResult] ╔═════════════════════════════════════════════ ║ motionchange LocationResult: 5 ╠═════════════════════════════════════════════ ╟─ 📍 Location[fused 55******,24****** hAcc=5 et=+35d13h0m8s875ms alt=93.20000457763672 vel=0.29140612 bear=326.98755 vAcc=4 sAcc=0 bAcc=5 {Bundle[mParcelledData.dataSize=412]}], age: 85ms, time: 1681739116802 04-17 16:45:16.892 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 23.898 04-17 16:45:16.896 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 5 isFinished? true 04-17 16:45:16.897 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 1, sticky: false] 04-17 16:45:16.898 INFO [TSLocationManager onSingleLocationResult] 🔵 Acquired motionchange position, isMoving: false 04-17 16:45:16.899 DEBUG [TSLocationManager calculateMedianAccuracy] Median accuracy: 23.898 04-17 16:45:16.899 DEBUG [TSLocationManager incrementOdometer] Odometer: 337.55655 04-17 16:45:16.905 DEBUG [LocationRequestService handleLocationResult] SingleLocationRequest 5 isFinished? true 04-17 16:45:16.906 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:45:16.906 DEBUG [AbstractService finish] ⚙️︎ finish LocationRequestService [eventCount: 0, sticky: false] 04-17 16:45:16.912 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 🎾 Start monitoring stationary region (radius: 150.0m 54.9207528,23.6656921 hAcc=4.9) 04-17 16:45:16.932 DEBUG [AbstractService start] 🎾 TrackingService [eventCount: 1] 04-17 16:45:16.933 INFO [TrackingService handleMotionChangeResult] ╔═════════════════════════════════════════════ ║ TrackingService motionchange: false ╠═════════════════════════════════════════════ 04-17 16:45:16.935 DEBUG [AbstractService finish] ⚙️︎ finish TrackingService [eventCount: 0, sticky: false] 04-17 16:45:16.951 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 16:45:16.952 DEBUG [ActivityRecognitionService handleActivityRecognitionResult] 🚘 ️DetectedActivity [type=STILL, confidence=100] 04-17 16:45:16.954 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 16:45:16.985 DEBUG [AbstractService start] 🎾 ActivityRecognitionService [eventCount: 1] 04-17 16:45:16.987 DEBUG [ActivityRecognitionService handleActivityTransitionResult] *** wasMoving: false, nowMoving: false, startedMoving: false, justStopped; false 04-17 16:45:16.987 INFO [ActivityRecognitionService handleActivityTransitionResult] ╔═════════════════════════════════════════════ ║ Motion Transition Result ╠═════════════════════════════════════════════ ╟─ 🎾 ENTER: still ╚═════════════════════════════════════════════ 04-17 16:45:16.988 DEBUG [AbstractService finish] ⚙️︎ finish ActivityRecognitionService [eventCount: 0, sticky: false] 04-17 16:45:17.159 DEBUG [AbstractService onDestroy] 🔴 LocationRequestService stopped 04-17 16:45:17.190 DEBUG [AbstractService onDestroy] 🔴 TrackingService stopped 04-17 16:45:17.257 DEBUG [AbstractService onDestroy] 🔴 ActivityRecognitionService stopped 04-17 16:45:25.898 INFO [ScheduleEvent onOneShot] ╔═════════════════════════════════════════════ ║ ⏰ OneShot event fired: TERMINATE_EVENT ╠═════════════════════════════════════════════ 04-17 16:45:25.900 DEBUG [TerminateEvent$a a] ℹ️ TERMINATE_EVENT ignored (MainActivity is still active). 04-17 16:45:31.669 INFO [TSScheduleManager stop] 🔴 Scheduler OFF ```
christocracy commented 1 year ago

BackgroundGeolocation.stopSchedule() does not stop the tracking

That's correct: .stopSchedule() does not "stop tracking". The plugin's scheduler is like a robot that automatically calls .stop() / .start() on a schedule. Calling .stopSchedule() merely halts future scheduled events from occurring.

If the plugin is currently in the State.enabled state, it's up to your to manually call .stop().