react-native-background-geolocation
react-native-background-geolocation copied to clipboard
Android. Background geolocation stopped after application resizing(enable/disable split screen)
Your Environment
- Plugin version:4.13.2
- Platform: Android
- OS version: android 10
- Device manufacturer / model: Redmi 9T
- React Native version (
react-native -v): 0.70.6
Or
- Current version of demo application
Hello We have identified an issue related to background geolocation in our application and the problem is also replicable in the demo application. I would like to outline the problem, the changes we have made, and the steps to reproduce the issue. Additionally, I will provide information about the application logs for your reference.
Problem Description: The background geolocation functionality in our application is encountering a persistent problem that is also present in the demo application. Despite several attempts, we have found that the application fails to handle GPS coordinates after a specific sequence of actions.
Changes Implemented: To address this issue, we made the following modifications to the demo code:
There are few changes in demo code:
- AndroidManifest.xml: We removed the screenLayout and smallestScreenSize attributes from the configChanges section.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.transistorsoft.backgroundgeolocation.react">
<uses-permission android:name="android.permission.INTERNET" />
<!-- Added for background-geolocation for SDK >= 34: Allows scheduling of exact alarms with AlarmManager -->
<uses-permission android:name="android.permission.USE_EXACT_ALARM" android:minSdkVersion="34"/>
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher"
android:allowBackup="false"
android:usesCleartextTraffic="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:exported="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data android:name="com.transistorsoft.locationmanager.license" android:value="eb8ee62a24ca51c5d4c87f4fad356fb8660a6ae401b9d95642f7b80e7cc59c06" />
<meta-data android:name="com.transistorsoft.locationmanager.hms.license" android:value="b06590e9ec3def41145d33973670a9bcddc79274e9a46de971ce408cd102980d" />
<meta-data android:name="com.google.android.geo.API_KEY" android:value="AIzaSyCINS2dyuBipK8MZzOQnzyKdrS2I1_b5I4"/>
</application>
</manifest>
- Update in Configuration. We updated the configuration settings in the code as follows:
const state: State = await BackgroundGeolocation.ready({
reset: true,
distanceFilter: 0,
locationUpdateInterval: 3_000,
fastestLocationUpdateInterval: 3_000,
allowIdenticalLocations: true,
url: null,
desiredAccuracy: BackgroundGeolocation.DESIRED_ACCURACY_HIGH,
disableElasticity: false,
foregroundService: true,
debug: true,
logLevel: BackgroundGeolocation.LOG_LEVEL_VERBOSE,
persistMode: BackgroundGeolocation.PERSIST_MODE_NONE,
backgroundPermissionRationale: {
title:
"Allow {applicationName} to access this device's location even when closed or not in use.",
message:
'This app collects location data to enable recording your trips to work and calculate distance-travelled.',
positiveAction: 'Change to "{backgroundPermissionOptionLabel}"',
negativeAction: 'Cancel',
},
});
Steps to reproduce a problem:
- Lounch application
- Select "Advanced App"
- Enable geolocation and press "Moving" button.
- Turn on split screen and repeat steps 2-3.
- Turn off split screen and repeat steps 2-3.
- After that application don't handle a gps coordinates.
https://github.com/transistorsoft/react-native-background-geolocation/assets/1197432/122d27f8-e87e-494e-b5bc-f42432534648
Application Logs:
Type Time PID Tag Message
2023-08-31T06:56:25.887Z 22570 TSLocationManager [c.t.l.logger.LoggerFacade$a a] PID: 2
2023-08-31T06:56:25.888Z 22570 TSLocationManager
2023-08-31T06:56:25.889Z 22570 TSLocationManager
2023-08-31T06:56:25.898Z 22570 TSLocationManager [c.t.l.l.TSSQLiteAppender$c run]
ℹ️ Cleared logs older than 72 hours
2023-08-31T06:56:26.254Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onCreate] ☯️ onCreate
2023-08-31T06:56:26.255Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onStart] ☯️ onStart
2023-08-31T06:56:26.256Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onResume] ☯️ onResume
2023-08-31T06:56:26.258Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation <init>]
✅ Google Play Services: connected (version code:12451000)
2023-08-31T06:56:26.307Z 22570 TSLocationManager [c.t.l.p.TSProviderManager startMonitoring]
🎾 Start monitoring location-provider changes
2023-08-31T06:56:26.323Z 22570 TSLocationManager [a.b prune]
ℹ️ PRUNE -1 days
2023-08-31T06:56:29.354Z 22570 TSLocationManager [c.t.l.c.TransistorAuthorizationToken$b run] 🔑 Found cached token for tracker.transistorsoft.com
2023-08-31T06:56:29.725Z 22570 TSLocationManager
2023-08-31T06:56:33.300Z 22570 TSLocationManager [c.t.locationmanager.util.c g]
ℹ️ LocationAuthorization: Permission granted
2023-08-31T06:56:33.303Z 22570 TSLocationManager - Enable: false → true, trackingMode: 1
2023-08-31T06:56:33.310Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager start]
🎾 Start monitoring geofences
2023-08-31T06:56:33.317Z 22570 TSLocationManager [c.t.l.http.HttpService startMonitoringConnectivityChanges]
🎾 Start monitoring connectivity changes
2023-08-31T06:56:33.325Z 22570 TSLocationManager [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges]
🎾 Start monitoring powersave changes
2023-08-31T06:56:33.337Z 22570 TSLocationManager [c.t.l.http.HttpService a]
╔═════════════════════════════════════════════
║ 📶 Connectivity change: connected? true
╠═════════════════════════════════════════════
2023-08-31T06:56:33.339Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService start]
🎾 Start motion-activity updates
2023-08-31T06:56:33.356Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:56:33.363Z 22570 TSLocationManager [c.t.l.service.TrackingService changePace]
🔵 setPace: false → false
2023-08-31T06:56:33.415Z 22570 TSLocationManager
2023-08-31T06:56:33.418Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onSingleLocationResult]
🔵 Acquired motionchange position, isMoving: false
2023-08-31T06:56:33.420Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 14.998
2023-08-31T06:56:33.575Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion]
🎾 Start monitoring stationary region (radius: 150.0m 53.90447,27.5587301 hAcc=14.998)
2023-08-31T06:56:33.628Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager oneShot]
⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
2023-08-31T06:56:33.763Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 1, eventCount: 1]
2023-08-31T06:56:33.767Z 22570 TSLocationManager [c.t.l.service.TrackingService handleMotionChangeResult]
╔═════════════════════════════════════════════
║ TrackingService motionchange: false
╠═════════════════════════════════════════════
2023-08-31T06:56:33.778Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:56:33.832Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity execute] locationsettings
2023-08-31T06:56:33.834Z 22570 TSLocationManager [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2023-08-31T06:56:33.975Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [ActivityRecognitionService [startId: 1, eventCount: 1]
2023-08-31T06:56:33.982Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0
2023-08-31T06:56:34.004Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ TrackingService.stopSelfResult(1): true
2023-08-31T06:56:34.010Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult]
🚘 ️DetectedActivity [type=STILL, confidence=86]
2023-08-31T06:56:34.040Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:56:34.047Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 TrackingService stopped
2023-08-31T06:56:34.064Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity onDestroy]
2023-08-31T06:56:34.358Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ ActivityRecognitionService.stopSelfResult(1): true
2023-08-31T06:56:34.408Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 ActivityRecognitionService stopped
2023-08-31T06:56:38.915Z 22570 TSLocationManager [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving]
2023-08-31T06:56:38.920Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:56:38.924Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager stopMonitoringStationaryRegion]
🔴 Stop monitoring stationary region
2023-08-31T06:56:38.935Z 22570 TSLocationManager [c.t.l.service.TrackingService changePace]
🔵 setPace: false → true
2023-08-31T06:56:38.960Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 1, eventCount: 1]
2023-08-31T06:56:38.962Z 22570 TSLocationManager [c.t.l.service.TrackingService handleMotionChangeResult]
╔═════════════════════════════════════════════
║ TrackingService motionchange: true
╠═════════════════════════════════════════════
2023-08-31T06:56:38.963Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 1, eventCount: 0, sticky: true]
2023-08-31T06:56:38.989Z 22570 TSLocationManager [c.t.l.l.TSLocationManager logSingleLocationResult]
╔═════════════════════════════════════════════
║ motionchange LocationResult: 2 (5075ms old)
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904547,27.558680 hAcc=13 et=+16d14h57m8s324ms alt=243.79998779296875 vAcc=1 sAcc=??? bAcc=??? {Bundle[{}]}], time: 1693464993903
2023-08-31T06:56:38.994Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onSingleLocationResult]
🔵 Acquired motionchange position, isMoving: true
2023-08-31T06:56:38.996Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 14.121
2023-08-31T06:56:39.062Z 22570 TSLocationManager [c.t.l.l.TSLocationManager requestLocationUpdates]
🎾 Location-services: ON
2023-08-31T06:56:39.064Z 22570 TSLocationManager [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2023-08-31T06:56:39.096Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService start]
🎾 Start motion-activity updates
2023-08-31T06:56:41.040Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [ActivityRecognitionService [startId: 1, eventCount: 1]
2023-08-31T06:56:41.041Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult]
🚘 ️DetectedActivity [type=STILL, confidence=96]
2023-08-31T06:56:41.050Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:56:41.053Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 2, eventCount: 1]
2023-08-31T06:56:41.095Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager oneShot]
⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116)
2023-08-31T06:56:41.102Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 2, eventCount: 0, sticky: true]
2023-08-31T06:56:41.252Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ ActivityRecognitionService.stopSelfResult(1): true
2023-08-31T06:56:41.253Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 ActivityRecognitionService stopped
2023-08-31T06:56:42.709Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 3, eventCount: 1]
2023-08-31T06:56:42.715Z 22570 TSLocationManager
2023-08-31T06:56:42.716Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 3, eventCount: 0, sticky: true]
2023-08-31T06:56:42.716Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:56:42.717Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 14.998
2023-08-31T06:56:43.652Z 22570 TSLocationManager [c.t.l.scheduler.ScheduleEvent onOneShot]
╔═════════════════════════════════════════════
║ ⏰ OneShot event fired: TERMINATE_EVENT
╠═════════════════════════════════════════════
2023-08-31T06:56:43.653Z 22570 TSLocationManager [c.t.l.event.TerminateEvent$a a]
ℹ️ TERMINATE_EVENT ignored (MainActivity is still active).
2023-08-31T06:56:47.553Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 4, eventCount: 1]
2023-08-31T06:56:47.556Z 22570 TSLocationManager
2023-08-31T06:56:47.557Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:56:47.558Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.539499
2023-08-31T06:56:47.558Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -26.185188
2023-08-31T06:56:47.558Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 4, eventCount: 0, sticky: true]
2023-08-31T06:56:52.651Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 5, eventCount: 1]
2023-08-31T06:56:52.655Z 22570 TSLocationManager [c.t.l.service.TrackingService handleLocationResult]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904573,27.558680 hAcc=16 et=+16d14h57m22s953ms alt=243.89999389648438 vel=0.045499206 vAcc=1 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=644]}]
╟─ Age: 4119ms, time: 1693465008533
2023-08-31T06:56:52.657Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -26.01619
2023-08-31T06:56:52.657Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 5, eventCount: 0, sticky: true]
2023-08-31T06:56:52.663Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:56:52.665Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 16.081
2023-08-31T06:56:57.647Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 6, eventCount: 1]
2023-08-31T06:56:57.650Z 22570 TSLocationManager
2023-08-31T06:56:57.651Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:56:57.652Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -25.651598
2023-08-31T06:56:57.652Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.9465
2023-08-31T06:56:57.652Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 6, eventCount: 0, sticky: true]
2023-08-31T06:57:02.580Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 7, eventCount: 1]
2023-08-31T06:57:02.583Z 22570 TSLocationManager
2023-08-31T06:57:02.583Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:57:02.584Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -28.108627
2023-08-31T06:57:02.584Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.812
2023-08-31T06:57:02.584Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 7, eventCount: 0, sticky: true]
2023-08-31T06:57:02.884Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 8, eventCount: 1]
2023-08-31T06:57:02.887Z 22570 TSLocationManager
2023-08-31T06:57:02.888Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:57:02.889Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.728001
2023-08-31T06:57:02.890Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -26.982851
2023-08-31T06:57:02.891Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 8, eventCount: 0, sticky: true]
2023-08-31T06:57:05.791Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager oneShot]
⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
2023-08-31T06:57:06.483Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onPause] ☯️ onPause
2023-08-31T06:57:06.484Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onStop] ☯️ onStop
2023-08-31T06:57:06.863Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 9, eventCount: 1]
2023-08-31T06:57:06.865Z 22570 TSLocationManager [c.t.l.service.TrackingService handleLocationResult]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904565,27.558659 hAcc=17 et=+16d14h57m41s260ms alt=243.79998779296875 vel=0.00390293 vAcc=1 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=472]}]
╟─ Age: 23ms, time: 1693465026840
2023-08-31T06:57:06.867Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -27.826256
2023-08-31T06:57:06.867Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:57:06.867Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 9, eventCount: 0, sticky: true]
2023-08-31T06:57:06.868Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.644
2023-08-31T06:57:07.700Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation a]
🔴 Cleared callbacks
2023-08-31T06:57:07.702Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager cancelOneShot]
⏰ Cancel OneShot: TERMINATE_EVENT
2023-08-31T06:57:07.712Z 22570 TSLocationManager [c.t.l.l.LifecycleManager setHeadless]
╔═════════════════════════════════════════════
║ ☯️ HeadlessMode? true
╠═════════════════════════════════════════════
2023-08-31T06:57:07.716Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation a]
🔴 Cleared callbacks
2023-08-31T06:57:07.740Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager cancelOneShot]
⏰ Cancel OneShot: STOP_TIMEOUT
2023-08-31T06:57:07.749Z 22570 TSLocationManager [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving]
2023-08-31T06:57:07.764Z 22570 TSLocationManager [c.t.l.l.TSLocationManager removeLocationUpdates]
🔴 Location-services: OFF
2023-08-31T06:57:07.774Z 22570 TSLocationManager [c.t.l.l.TSLocationManager clearLastOdometerLocation]
ℹ️ Clear last odometer location
2023-08-31T06:57:07.776Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService stop]
🔴 Stop motion-activity updates
2023-08-31T06:57:07.776Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager c]
🔴 Stop monitoring geofences
2023-08-31T06:57:07.782Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:57:07.790Z 22570 TSLocationManager [c.t.l.http.HttpService stopMonitoringConnectivityChanges]
🔴 Stop monitoring connectivity changes
2023-08-31T06:57:07.792Z 22570 TSLocationManager [c.t.l.device.DeviceSettings stopMonitoringPowerSaveChanges]
🔴 Stop monitoring powersave changes
2023-08-31T06:57:07.813Z 22570 TSLocationManager [c.t.l.p.TSProviderManager stopMonitoring]
🔴 Stop monitoring location-provider changes
2023-08-31T06:57:07.814Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager stop]
🔴 Scheduler OFF
2023-08-31T06:57:07.828Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation$m0 run]
╔═════════════════════════════════════════════
║ MainActivity was destroyed
╠═════════════════════════════════════════════
╟─ stopOnTerminate: true
╟─ enabled: false
2023-08-31T06:57:07.907Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onStart] ☯️ onStart
2023-08-31T06:57:07.913Z 22570 TSLocationManager [c.t.l.l.LifecycleManager onResume] ☯️ onResume
2023-08-31T06:57:08.079Z 22570 TSLocationManager [c.t.l.service.AbstractService stop]
🎾 STOP [TrackingService startId: 10, eventCount: 1]
2023-08-31T06:57:08.080Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 10, eventCount: 0, sticky: false]
2023-08-31T06:57:08.286Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ TrackingService.stopSelfResult(10): true
2023-08-31T06:57:08.298Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 TrackingService stopped
2023-08-31T06:57:08.927Z 22570 TSLocationManager [c.t.l.c.TransistorAuthorizationToken$b run] 🔑 Found cached token for tracker.transistorsoft.com
2023-08-31T06:57:09.125Z 22570 TSLocationManager
2023-08-31T06:57:09.138Z 22570 TSLocationManager [c.t.l.p.TSProviderManager startMonitoring]
🎾 Start monitoring location-provider changes
2023-08-31T06:57:27.752Z 22570 TSLocationManager [c.t.locationmanager.util.c g]
ℹ️ LocationAuthorization: Permission granted
2023-08-31T06:57:27.754Z 22570 TSLocationManager - Enable: false → true, trackingMode: 1
2023-08-31T06:57:27.755Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager start]
🎾 Start monitoring geofences
2023-08-31T06:57:27.761Z 22570 TSLocationManager [c.t.l.http.HttpService startMonitoringConnectivityChanges]
🎾 Start monitoring connectivity changes
2023-08-31T06:57:27.768Z 22570 TSLocationManager [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges]
🎾 Start monitoring powersave changes
2023-08-31T06:57:27.771Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService start]
🎾 Start motion-activity updates
2023-08-31T06:57:27.786Z 22570 TSLocationManager [c.t.l.http.HttpService a]
╔═════════════════════════════════════════════
║ 📶 Connectivity change: connected? true
╠═════════════════════════════════════════════
2023-08-31T06:57:27.788Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:57:27.792Z 22570 TSLocationManager [c.t.l.service.TrackingService changePace]
🔵 setPace: false → false
2023-08-31T06:57:27.821Z 22570 TSLocationManager [c.t.l.l.TSLocationManager logSingleLocationResult]
╔═════════════════════════════════════════════
║ motionchange LocationResult: 3 (20978ms old)
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904565,27.558659 hAcc=17 et=+16d14h57m41s260ms alt=243.79998779296875 vel=0.00390293 vAcc=1 sAcc=??? bAcc=??? {Bundle[{}]}], time: 1693465026840
2023-08-31T06:57:27.823Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onSingleLocationResult]
🔵 Acquired motionchange position, isMoving: false
2023-08-31T06:57:27.824Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 16.2885
2023-08-31T06:57:27.929Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion]
🎾 Start monitoring stationary region (radius: 150.0m 53.9045652,27.5586586 hAcc=17.063)
2023-08-31T06:57:27.989Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 1, eventCount: 1]
2023-08-31T06:57:27.990Z 22570 TSLocationManager [c.t.l.service.TrackingService handleMotionChangeResult]
╔═════════════════════════════════════════════
║ TrackingService motionchange: false
╠═════════════════════════════════════════════
2023-08-31T06:57:27.999Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:57:28.119Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity execute] locationsettings
2023-08-31T06:57:28.121Z 22570 TSLocationManager [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2023-08-31T06:57:28.249Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0
2023-08-31T06:57:28.292Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ TrackingService.stopSelfResult(1): true
2023-08-31T06:57:28.345Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 TrackingService stopped
2023-08-31T06:57:28.372Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity onDestroy]
2023-08-31T06:57:28.474Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [ActivityRecognitionService [startId: 1, eventCount: 1]
2023-08-31T06:57:28.478Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult]
🚘 ️DetectedActivity [type=STILL, confidence=56]
2023-08-31T06:57:28.506Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:57:28.728Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ ActivityRecognitionService.stopSelfResult(1): true
2023-08-31T06:57:28.730Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 ActivityRecognitionService stopped
2023-08-31T06:57:29.296Z 22570 TSLocationManager [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving]
2023-08-31T06:57:29.300Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:57:29.303Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager stopMonitoringStationaryRegion]
🔴 Stop monitoring stationary region
2023-08-31T06:57:29.311Z 22570 TSLocationManager [c.t.l.service.TrackingService changePace]
🔵 setPace: false → true
2023-08-31T06:57:29.340Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 1, eventCount: 1]
2023-08-31T06:57:29.341Z 22570 TSLocationManager [c.t.l.service.TrackingService handleMotionChangeResult]
╔═════════════════════════════════════════════
║ TrackingService motionchange: true
╠═════════════════════════════════════════════
2023-08-31T06:57:29.342Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 1, eventCount: 0, sticky: true]
2023-08-31T06:57:29.355Z 22570 TSLocationManager [c.t.l.l.TSLocationManager logSingleLocationResult]
╔═════════════════════════════════════════════
║ motionchange LocationResult: 4 (22510ms old)
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904565,27.558659 hAcc=17 et=+16d14h57m41s260ms alt=243.79998779296875 vel=0.00390293 vAcc=1 sAcc=??? bAcc=??? {Bundle[{}]}], time: 1693465026840
2023-08-31T06:57:29.360Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onSingleLocationResult]
🔵 Acquired motionchange position, isMoving: true
2023-08-31T06:57:29.361Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 16.933
2023-08-31T06:57:29.374Z 22570 TSLocationManager [c.t.l.l.TSLocationManager requestLocationUpdates]
🎾 Location-services: ON
2023-08-31T06:57:29.375Z 22570 TSLocationManager [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2023-08-31T06:57:29.486Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService start]
🎾 Start motion-activity updates
2023-08-31T06:57:32.107Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [ActivityRecognitionService [startId: 1, eventCount: 1]
2023-08-31T06:57:32.109Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult]
🚘 ️DetectedActivity [type=STILL, confidence=59]
2023-08-31T06:57:32.125Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:57:32.134Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 2, eventCount: 1]
2023-08-31T06:57:32.169Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager oneShot]
⏰ Scheduled OneShot: STOP_TIMEOUT in 300000ms (jobID: 2059034116)
2023-08-31T06:57:32.177Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 2, eventCount: 0, sticky: true]
2023-08-31T06:57:32.193Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 3, eventCount: 1]
2023-08-31T06:57:32.197Z 22570 TSLocationManager [c.t.l.service.TrackingService handleLocationResult]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904513,27.558675 hAcc=16 et=+16d14h58m2s907ms alt=241.39999389648438 vAcc=1 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=628]}]
╟─ Age: 3707ms, time: 1693465048487
2023-08-31T06:57:32.198Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 3, eventCount: 0, sticky: true]
2023-08-31T06:57:32.198Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:57:32.199Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 16.369
2023-08-31T06:57:32.327Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ ActivityRecognitionService.stopSelfResult(1): true
2023-08-31T06:57:32.328Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 ActivityRecognitionService stopped
2023-08-31T06:57:36.864Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 4, eventCount: 1]
2023-08-31T06:57:36.866Z 22570 TSLocationManager [c.t.l.service.TrackingService handleLocationResult]
╔═════════════════════════════════════════════
║ TrackingService: LocationResult
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904513,27.558676 hAcc=17 et=+16d14h58m11s258ms alt=241.39999389648438 vel=6.0386234E-4 vAcc=2 sAcc=??? bAcc=??? {Bundle[mParcelledData.dataSize=448]}]
╟─ Age: 26ms, time: 1693465056838
2023-08-31T06:57:36.867Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:57:36.868Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.97
2023-08-31T06:57:36.872Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -28.602814
2023-08-31T06:57:36.873Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 4, eventCount: 0, sticky: true]
2023-08-31T06:57:40.868Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 5, eventCount: 1]
2023-08-31T06:57:40.871Z 22570 TSLocationManager
2023-08-31T06:57:40.873Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:57:40.873Z 22570 TSLocationManager [c.t.l.service.TrackingService performStopDetection]
ℹ️ Distance from stoppedAtLocation: -28.756468
2023-08-31T06:57:40.873Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.97
2023-08-31T06:57:40.873Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 5, eventCount: 0, sticky: true]
2023-08-31T06:57:42.648Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager oneShot]
⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
2023-08-31T06:57:42.708Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation a]
🔴 Cleared callbacks
2023-08-31T06:57:42.710Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager cancelOneShot]
⏰ Cancel OneShot: TERMINATE_EVENT
2023-08-31T06:57:42.721Z 22570 TSLocationManager [c.t.l.l.LifecycleManager setHeadless]
╔═════════════════════════════════════════════
║ ☯️ HeadlessMode? true
╠═════════════════════════════════════════════
2023-08-31T06:57:42.723Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation a]
🔴 Cleared callbacks
2023-08-31T06:57:42.726Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager cancelOneShot]
⏰ Cancel OneShot: STOP_TIMEOUT
2023-08-31T06:57:42.742Z 22570 TSLocationManager [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving]
2023-08-31T06:57:42.767Z 22570 TSLocationManager [c.t.l.l.TSLocationManager removeLocationUpdates]
🔴 Location-services: OFF
2023-08-31T06:57:42.773Z 22570 TSLocationManager [c.t.l.l.TSLocationManager clearLastOdometerLocation]
ℹ️ Clear last odometer location
2023-08-31T06:57:42.777Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager c]
🔴 Stop monitoring geofences
2023-08-31T06:57:42.782Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService stop]
🔴 Stop motion-activity updates
2023-08-31T06:57:42.787Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:57:42.791Z 22570 TSLocationManager [c.t.l.http.HttpService stopMonitoringConnectivityChanges]
🔴 Stop monitoring connectivity changes
2023-08-31T06:57:42.792Z 22570 TSLocationManager [c.t.l.device.DeviceSettings stopMonitoringPowerSaveChanges]
🔴 Stop monitoring powersave changes
2023-08-31T06:57:42.804Z 22570 TSLocationManager [c.t.l.p.TSProviderManager stopMonitoring]
🔴 Stop monitoring location-provider changes
2023-08-31T06:57:42.805Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager stop]
🔴 Scheduler OFF
2023-08-31T06:57:42.817Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation$m0 run]
╔═════════════════════════════════════════════
║ MainActivity was destroyed
╠═════════════════════════════════════════════
╟─ stopOnTerminate: true
╟─ enabled: false
2023-08-31T06:57:43.090Z 22570 TSLocationManager [c.t.l.service.AbstractService stop]
🎾 STOP [TrackingService startId: 6, eventCount: 1]
2023-08-31T06:57:43.091Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 6, eventCount: 0, sticky: false]
2023-08-31T06:57:43.295Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ TrackingService.stopSelfResult(6): true
2023-08-31T06:57:43.303Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 TrackingService stopped
2023-08-31T06:57:43.846Z 22570 TSLocationManager [c.t.l.c.TransistorAuthorizationToken$b run] 🔑 Found cached token for tracker.transistorsoft.com
2023-08-31T06:57:44.022Z 22570 TSLocationManager
2023-08-31T06:57:44.028Z 22570 TSLocationManager
2023-08-31T06:57:44.034Z 22570 TSLocationManager [c.t.l.p.TSProviderManager startMonitoring]
🎾 Start monitoring location-provider changes
2023-08-31T06:58:01.660Z 22570 TSLocationManager [c.t.locationmanager.util.c g]
ℹ️ LocationAuthorization: Permission granted
2023-08-31T06:58:01.662Z 22570 TSLocationManager - Enable: false → true, trackingMode: 1
2023-08-31T06:58:01.663Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager start]
🎾 Start monitoring geofences
2023-08-31T06:58:01.666Z 22570 TSLocationManager [c.t.l.http.HttpService startMonitoringConnectivityChanges]
🎾 Start monitoring connectivity changes
2023-08-31T06:58:01.670Z 22570 TSLocationManager [c.t.l.device.DeviceSettings startMonitoringPowerSaveChanges]
🎾 Start monitoring powersave changes
2023-08-31T06:58:01.672Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService start]
🎾 Start motion-activity updates
2023-08-31T06:58:01.676Z 22570 TSLocationManager [c.t.l.http.HttpService a]
╔═════════════════════════════════════════════
║ 📶 Connectivity change: connected? true
╠═════════════════════════════════════════════
2023-08-31T06:58:01.680Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:58:01.683Z 22570 TSLocationManager [c.t.l.service.TrackingService changePace]
🔵 setPace: false → false
2023-08-31T06:58:01.709Z 22570 TSLocationManager [c.t.l.l.TSLocationManager logSingleLocationResult]
╔═════════════════════════════════════════════
║ motionchange LocationResult: 5 (20869ms old)
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904538,27.558693 hAcc=16 et=+16d14h58m15s258ms alt=241.39999389648438 vel=0.40280893 bear=309.18515 vAcc=1 sAcc=??? bAcc=??? {Bundle[{}]}], time: 1693465060838
2023-08-31T06:58:01.711Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onSingleLocationResult]
🔵 Acquired motionchange position, isMoving: false
2023-08-31T06:58:01.712Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.5
2023-08-31T06:58:01.755Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager startMonitoringStationaryRegion]
🎾 Start monitoring stationary region (radius: 150.0m 53.9045376,27.5586928 hAcc=15.5)
2023-08-31T06:58:01.808Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 1, eventCount: 1]
2023-08-31T06:58:01.810Z 22570 TSLocationManager [c.t.l.service.TrackingService handleMotionChangeResult]
╔═════════════════════════════════════════════
║ TrackingService motionchange: false
╠═════════════════════════════════════════════
2023-08-31T06:58:01.829Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:58:01.909Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager oneShot]
⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
2023-08-31T06:58:02.056Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity execute] locationsettings
2023-08-31T06:58:02.057Z 22570 TSLocationManager [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2023-08-31T06:58:02.120Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ TrackingService.stopSelfResult(1): true
2023-08-31T06:58:02.123Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity stop] eventCount: 0
2023-08-31T06:58:02.151Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [ActivityRecognitionService [startId: 1, eventCount: 1]
2023-08-31T06:58:02.152Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService handleActivityRecognitionResult]
🚘 ️DetectedActivity [type=STILL, confidence=97]
2023-08-31T06:58:02.160Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
2023-08-31T06:58:02.173Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 TrackingService stopped
2023-08-31T06:58:02.209Z 22570 TSLocationManager [c.t.l.a.TSLocationManagerActivity onDestroy]
2023-08-31T06:58:02.367Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ ActivityRecognitionService.stopSelfResult(1): true
2023-08-31T06:58:02.376Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 ActivityRecognitionService stopped
2023-08-31T06:58:05.992Z 22570 TSLocationManager [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving]
2023-08-31T06:58:05.995Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:58:05.998Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager stopMonitoringStationaryRegion]
🔴 Stop monitoring stationary region
2023-08-31T06:58:06.010Z 22570 TSLocationManager [c.t.l.service.TrackingService changePace]
🔵 setPace: false → true
2023-08-31T06:58:06.035Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 1, eventCount: 1]
2023-08-31T06:58:06.036Z 22570 TSLocationManager [c.t.l.service.TrackingService handleMotionChangeResult]
╔═════════════════════════════════════════════
║ TrackingService motionchange: true
╠═════════════════════════════════════════════
2023-08-31T06:58:06.036Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 1, eventCount: 0, sticky: true]
2023-08-31T06:58:06.053Z 22570 TSLocationManager [c.t.l.l.TSLocationManager logSingleLocationResult]
╔═════════════════════════════════════════════
║ motionchange LocationResult: 6 (25209ms old)
╠═════════════════════════════════════════════
╟─ 📍 Location[fused 53.904538,27.558693 hAcc=16 et=+16d14h58m15s258ms alt=241.39999389648438 vel=0.40280893 bear=309.18515 vAcc=1 sAcc=??? bAcc=??? {Bundle[{}]}], time: 1693465060838
2023-08-31T06:58:06.057Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onSingleLocationResult]
🔵 Acquired motionchange position, isMoving: true
2023-08-31T06:58:06.059Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.5
2023-08-31T06:58:06.125Z 22570 TSLocationManager [c.t.l.l.TSLocationManager requestLocationUpdates]
🎾 Location-services: ON
2023-08-31T06:58:06.127Z 22570 TSLocationManager [c.t.l.adapter.TSConfig translateDesiredAccuracy] translateDesiredAccuracy (true): -1
2023-08-31T06:58:06.143Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService start]
🎾 Start motion-activity updates
2023-08-31T06:58:10.903Z 22570 TSLocationManager [c.t.l.service.AbstractService start]
🎾 START [TrackingService [startId: 2, eventCount: 1]
2023-08-31T06:58:10.905Z 22570 TSLocationManager
2023-08-31T06:58:10.906Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 2, eventCount: 0, sticky: true]
2023-08-31T06:58:10.906Z 22570 TSLocationManager [c.t.l.l.TSLocationManager onLocationResult]
╔═════════════════════════════════════════════
║ Process LocationResult
╠═════════════════════════════════════════════
2023-08-31T06:58:10.906Z 22570 TSLocationManager [c.t.l.l.TSLocationManager calculateMedianAccuracy] Median accuracy: 15.5
2023-08-31T06:58:11.934Z 22570 TSLocationManager [c.t.l.scheduler.ScheduleEvent onOneShot]
╔═════════════════════════════════════════════
║ ⏰ OneShot event fired: TERMINATE_EVENT
╠═════════════════════════════════════════════
2023-08-31T06:58:11.935Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager cancelOneShot]
⏰ Cancel OneShot: TERMINATE_EVENT
2023-08-31T06:58:11.936Z 22570 TSLocationManager [c.t.l.s.ScheduleJobService onStopJob]
2023-08-31T06:58:11.938Z 22570 TSLocationManager [c.t.l.l.LifecycleManager setHeadless]
╔═════════════════════════════════════════════
║ ☯️ HeadlessMode? true
╠═════════════════════════════════════════════
2023-08-31T06:58:11.939Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation a]
🔴 Cleared callbacks
2023-08-31T06:58:11.944Z 22570 TSLocationManager [c.t.l.adapter.TSConfig d] ℹ️ Persist config, dirty: [isMoving]
2023-08-31T06:58:11.947Z 22570 TSLocationManager [c.t.l.l.TSLocationManager removeLocationUpdates]
🔴 Location-services: OFF
2023-08-31T06:58:11.949Z 22570 TSLocationManager [c.t.l.l.TSLocationManager clearLastOdometerLocation]
ℹ️ Clear last odometer location
2023-08-31T06:58:11.950Z 22570 TSLocationManager [c.t.l.s.ActivityRecognitionService stop]
🔴 Stop motion-activity updates
2023-08-31T06:58:11.950Z 22570 TSLocationManager [c.t.l.g.TSGeofenceManager c]
🔴 Stop monitoring geofences
2023-08-31T06:58:11.956Z 22570 TSLocationManager [c.t.l.service.HeartbeatService stop]
🔴 Stop heartbeat
2023-08-31T06:58:11.958Z 22570 TSLocationManager [c.t.l.http.HttpService stopMonitoringConnectivityChanges]
🔴 Stop monitoring connectivity changes
2023-08-31T06:58:11.959Z 22570 TSLocationManager [c.t.l.device.DeviceSettings stopMonitoringPowerSaveChanges]
🔴 Stop monitoring powersave changes
2023-08-31T06:58:11.960Z 22570 TSLocationManager [c.t.l.p.TSProviderManager stopMonitoring]
🔴 Stop monitoring location-provider changes
2023-08-31T06:58:11.961Z 22570 TSLocationManager [c.t.l.s.TSScheduleManager stop]
🔴 Scheduler OFF
2023-08-31T06:58:11.962Z 22570 TSLocationManager [c.t.l.a.BackgroundGeolocation$m0 run]
╔═════════════════════════════════════════════
║ MainActivity was destroyed
╠═════════════════════════════════════════════
╟─ stopOnTerminate: true
╟─ enabled: false
2023-08-31T06:58:11.964Z 22570 TSLocationManager [c.t.l.service.AbstractService stop]
🎾 STOP [TrackingService startId: 3, eventCount: 1]
2023-08-31T06:58:11.964Z 22570 TSLocationManager [c.t.l.service.AbstractService finish]
⚙️︎ FINISH [TrackingService startId: 3, eventCount: 0, sticky: false]
2023-08-31T06:58:12.167Z 22570 TSLocationManager [c.t.l.service.AbstractService lambda$runFinishDelayed$0$com-transistorsoft-locationmanager-service-AbstractService]
⚙️︎ TrackingService.stopSelfResult(3): true
2023-08-31T06:58:12.169Z 22570 TSLocationManager [c.t.l.service.AbstractService onDestroy]
🔴 TrackingService stopped
We removed the
screenLayoutandsmallestScreenSizeattributes from the configChanges section.
Why would you remove those flags? The Android API docs for android:configChanges states the opposite:
Note: To handle multi-window related configuration changes, use both "screenLayout" and "smallestScreenSize". Multi-window is supported in Android 7.0 (API level 24) or higher.
Thank you for your response. Switching between full-screen and multi-window modes may cause interface issues in some devices. Only for this reason those attributes were deleted. Without them, application make re-render ui after changing modes.
When the Android API docs place a “blue Note” like that, they really mean it:
Note: To handle multi-window related configuration changes, use both "screenLayout" and "smallestScreenSize".
It reads like a command to me. It sounds to me like if you don’t do it, unusual things might happen.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.