Skip to content

[Bug]: Authorization Header not sent in HTTP request #2450

@PhilipGrefe

Description

@PhilipGrefe

Required Reading

  • Confirmed

Plugin Version

5.0.0-beta.3

Mobile operating-system(s)

  • iOS
  • Android

Device Manufacturer(s) and Model(s)

Samsung A56 5G

Device operating-systems(s)

Android 16

React Native / Expo version

Expo 54.0.27

What happened?

Steps to Reproduce:

  1. Configure HTTP request with headers: authorization (I tried both, capitalized and non-capitalized, with and without 'Bearer')
Image
  1. Start location tracking

FYI I'm using supabase functions and read the headers via req.headers.get('Authorization')

Expected Result:

  • Authorization header is set to session token

Actual Result:

  • Authorization header is set to Bearer without session token, while Authorization2 header set incl. session token
Image

Plugin Code and/or Config

{
      geolocation: {
        desiredAccuracy: BackgroundGeolocation.DesiredAccuracy.High,
        distanceFilter: 10,
        stopTimeout: 5,
      },
      logger: {
        debug: true, // <-- enable this hear sounds for background-geolocation life-cycle.
        logLevel: BackgroundGeolocation.LogLevel.Verbose,
      },
      app: {
        stopOnTerminate: false, // <-- Allow the background-service to continue tracking when user closes the app.
        startOnBoot: true, // <-- Auto start tracking when device is powered-up.
      },
      http: {
        url: 'https://some-supabase-edge-function',
        batchSync: false, // <-- [Default: false] Set true to sync locations to server in a single HTTP request.
        autoSync: true, // <-- [Default: true] Set true to sync each location to server as it arrives.
        headers: {
          // Authorization: `Bearer 123 ${session?.access_token}`,
          authorization: `${session?.access_token}`,
          Authorization2: `Bearer ${session?.access_token}`,
          myHeader: 'myValue',
          'Content-Type': 'application/json',
        },

      },
    }

Relevant log output

12-20 22:00:03.556 INFO [LoggerFacade$a a] 
╔═════════════════════════════════════════════
║ TSLocationManager version: 4.0.0-beta.14 (4014)
╠═════════════════════════════════════════════
{
  "actions": [],
  "activity": {
    "activityRecognitionInterval": 10,
    "disableMotionActivityUpdates": false,
    "disableStopDetection": false,
    "minimumActivityRecognitionConfidence": 75,
    "motionTriggerDelay": 0,
    "stopOnStationary": false,
    "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking"
  },
  "activityRecognitionInterval": 10,
  "allowIdenticalLocations": false,
  "allowTap": true,
  "app": {
    "backgroundPermissionRationale": {},
    "enableHeadless": false,
    "foregroundService": true,
    "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask",
    "heartbeatInterval": -1,
    "mainActivityName": "null",
    "notification": {
      "actions": [],
      "allowTap": true,
      "channelDescription": "Location tracking",
      "channelId": "bggeo",
      "channelName": "BackgroundGeolocation",
      "color": "",
      "importance": 2,
      "largeIcon": "",
      "layout": "",
      "priority": -1,
      "smallIcon": "mipmap\/ic_launcher",
      "sticky": false,
      "strings": {},
      "tapActivity": "",
      "text": "Tracking location",
      "title": "Background Geolocation"
    },
    "schedule": [],
    "scheduleUseAlarmManager": false,
    "startOnBoot": true,
    "stopOnTerminate": false
  },
  "authorization": {
    "accessToken": "✱✱✱",
    "expires": -1,
    "refreshHeaders": {},
    "refreshPayload": {},
    "refreshToken": "✱✱✱",
    "refreshUrl": "✱✱✱",
    "strategy": "JWT"
  },
  "autoSync": true,
  "autoSyncThreshold": 0,
  "backgroundPermissionRationale": {},
  "batchSync": false,
  "channelDescription": "Location tracking",
  "channelId": "bggeo",
  "channelName": "BackgroundGeolocation",
  "color": "",
  "debug": true,
  "deferTime": 0,
  "desiredAccuracy": -1,
  "didDeviceReboot": false,
  "didShowBackgroundPermissionRationale": false,
  "disableAutoSyncOnCellular": false,
  "disableElasticity": false,
  "disableLocationAuthorizationAlert": false,
  "disableMotionActivityUpdates": false,
  "disableProviderChangeRecord": false,
  "disableStopDetection": false,
  "distanceFilter": 10,
  "elasticityMultiplier": 1,
  "enableHeadless": false,
  "enableTimestampMeta": false,
  "enabled": false,
  "extras": {},
  "fastestLocationUpdateInterval": -1,
  "foregroundService": true,
  "geofenceInitialTriggerEntry": true,
  "geofenceModeHighAccuracy": true,
  "geofenceProximityRadius": 1000,
  "geofenceTemplate": "",
  "geolocation": {
    "allowIdenticalLocations": false,
    "deferTime": 0,
    "desiredAccuracy": -1,
    "disableElasticity": false,
    "disableLocationAuthorizationAlert": false,
    "distanceFilter": 10,
    "elasticityMultiplier": 1,
    "enableTimestampMeta": false,
    "fastestLocationUpdateInterval": -1,
    "filter": {
      "burstWindow": 10,
      "filterDebug": false,
      "kalmanDebug": false,
      "kalmanProfile": 0,
      "maxBurstDistance": 300,
      "maxImpliedSpeed": 60,
      "odometerAccuracyThreshold": 20,
      "odometerUseKalmanFilter": true,
      "policy": 2,
      "rollingWindow": 5,
      "trackingAccuracyThreshold": 100,
      "useKalman": true
    },
    "geofenceInitialTriggerEntry": true,
    "geofenceModeHighAccuracy": true,
    "geofenceProximityRadius": 1000,
    "locationAuthorizationRequest": "Always",
    "locationTimeout": 60,
    "locationUpdateInterval": 1000,
    "stationaryRadius": 150,
    "stopAfterElapsedMinutes": 0,
    "stopTimeout": 5,
    "useCLLocationAccuracy": true,
    "useSignificantChangesOnly": false
  },
  "headers": {
    "Authorization2": "Beare✱✱✱",
    "Content-Type": "appli✱✱✱",
    "authorization": "eyJhb✱✱✱",
    "myHeader": "myVal✱✱✱"
  },
  "headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask",
  "heartbeatEnabled": false,
  "heartbeatInterval": -1,
  "http": {
    "autoSync": true,
    "autoSyncThreshold": 0,
    "batchSync": false,
    "disableAutoSyncOnCellular": false,
    "headers": {
      "Authorization2": "Beare✱✱✱",
      "Content-Type": "appli✱✱✱",
      "authorization": "eyJhb✱✱✱",
      "myHeader": "myVal✱✱✱"
    },
    "maxBatchSize": -1,
    "method": "POST",
    "params": {},
    "rootProperty": "location",
    "timeout": 60000,
    "url": "https:\/\/some-supabase-function"
  },
  "httpRootProperty": "location",
  "httpTimeout": 60000,
  "importance": 2,
  "isFirstBoot": false,
  "isMoving": false,
  "largeIcon": "",
  "layout": "",
  "locationAuthorizationRequest": "Always",
  "locationTemplate": "",
  "locationTimeout": 60,
  "locationUpdateInterval": 1000,
  "locationsOrderDirection": "ASC",
  "logLevel": 5,
  "logMaxDays": 3,
  "logger": {
    "debug": true,
    "logLevel": 5,
    "logMaxDays": 3
  },
  "mainActivity": "null",
  "maxBatchSize": -1,
  "maxDaysToPersist": 1,
  "maxRecordsToPersist": -1,
  "method": "POST",
  "minimumActivityRecognitionConfidence": 75,
  "motionTriggerDelay": 0,
  "notification": {
    "actions": [],
    "allowTap": true,
    "channelDescription": "Location tracking",
    "channelId": "bggeo",
    "channelName": "BackgroundGeolocation",
    "color": "",
    "importance": 2,
    "largeIcon": "",
    "layout": "",
    "priority": -1,
    "smallIcon": "mipmap\/ic_launcher",
    "sticky": false,
    "strings": {},
    "tapActivity": "",
    "text": "Tracking location",
    "title": "Background Geolocation"
  },
  "odometer": 7923.1396484375,
  "odometerError": 117.91622924804688,
  "params": {},
  "persistMode": 2,
  "persistence": {
    "disableProviderChangeRecord": false,
    "extras": {},
    "geofenceTemplate": "",
    "locationTemplate": "",
    "locationsOrderDirection": "ASC",
    "maxDaysToPersist": 1,
    "maxRecordsToPersist": -1,
    "persistMode": 2
  },
  "priority": -1,
  "schedule": [],
  "scheduleUseAlarmManager": false,
  "schedulerEnabled": false,
  "smallIcon": "mipmap\/ic_launcher",
  "startOnBoot": true,
  "stationaryRadius": 150,
  "sticky": false,
  "stopAfterElapsedMinutes": 0,
  "stopOnStationary": false,
  "stopOnTerminate": false,
  "stopTimeout": 5,
  "strings": {},
  "tapActivity": "",
  "text": "Tracking location",
  "title": "Background Geolocation",
  "trackingMode": 1,
  "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
  "url": "https:\/\/some-supabase-function",
  "useCLLocationAccuracy": true,
  "useSignificantChangesOnly": false
}
12-20 22:00:03.557 INFO [LoggerFacade$a a] 
╔═════════════════════════════════════════════
║ DEVICE SENSORS
╠═════════════════════════════════════════════
╟─ ✅  ACCELEROMETER: {Sensor name="ICM42632M Accelerometer", vendor="TDK Invensense", version=81468, type=1, maxRange=78.4532, resolution=0.0023942017, power=0.26, minDelay=8000}
╟─ ✅  GYROSCOPE: {Sensor name="ICM42632M Gyroscope", vendor="TDK Invensense", version=1, type=4, maxRange=17.453293, resolution=5.326322E-4, power=0.65, minDelay=8000}
╟─ ✅  MAGNETOMETER: {Sensor name="AK09918C Magnetometer", vendor="Asahi Kasei Microdevices", version=2, type=2, maxRange=4900.02, resolution=0.06, power=1.1, minDelay=8000}
╟─ ✅  SIGNIFICANT_MOTION: {Sensor name="Significant Motion", vendor="Samsung Inc.", version=2, type=17, maxRange=1.0, resolution=1.0, power=0.16, minDelay=-1}
╚═════════════════════════════════════════════
12-20 22:00:03.631 DEBUG [LifecycleManager onCreate] ☯️  onCreate
12-20 22:00:03.632 DEBUG [LifecycleManager onStart] ☯️  onStart
12-20 22:00:03.632 DEBUG [LifecycleManager onResume] ☯️  onResume
12-20 22:00:03.635 INFO [BackgroundGeolocation <init>] 
  ✅  Google Play Services: connected (version code:12451000)
12-20 22:00:03.639 DEBUG [TSSQLiteAppender$c run] 
  ℹ️  Cleared logs older than 72 hours
12-20 22:00:03.661 INFO [y c] 
  🎾  Start monitoring location-provider changes
12-20 22:00:03.670 DEBUG [t a] 
  ℹ️  PRUNE -1 days
12-20 22:00:28.149 DEBUG [LifecycleManager onPause] ☯️  onPause
12-20 22:00:31.289 DEBUG [LifecycleManager onResume] ☯️  onResume
12-20 22:00:32.021 INFO [HttpService flush] 
╔═════════════════════════════════════════════
║ HTTP Service (count: 0)
╠═════════════════════════════════════════════

12-20 22:00:32.031 DEBUG [TSGeofenceManager c] 
  🔴  Stop monitoring geofences
12-20 22:00:32.032 INFO [ActivityRecognitionService f] 
  🔴  Stop motion-activity updates
12-20 22:00:32.033 INFO [g c] 
  🔴  Stop heartbeat
12-20 22:00:32.034 DEBUG [HttpService stopMonitoringConnectivityChanges] 
  🔴  Stop monitoring connectivity changes
12-20 22:00:46.523 DEBUG [LocationAuthorization withBackgroundPermission] 
  ℹ️  LocationAuthorization: Permission granted
12-20 22:00:46.527 INFO [TSGeofenceManager start] 
  🎾  Start monitoring geofences
12-20 22:00:46.531 DEBUG [HttpService startMonitoringConnectivityChanges] 
  🎾  Start monitoring connectivity changes
12-20 22:00:46.533 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 
  🎾  Start monitoring powersave changes
12-20 22:00:46.534 INFO [ActivityRecognitionService d] 
  🎾  Start motion-activity updates
12-20 22:00:46.537 INFO [g c] 
  🔴  Stop heartbeat
12-20 22:00:46.540 DEBUG [HttpService a] 
╔═════════════════════════════════════════════
║ 📶  Connectivity change: connected? true
╠═════════════════════════════════════════════

12-20 22:00:46.540 INFO [TrackingService a] 
  🔵  setPace: falsefalse
12-20 22:00:46.557 INFO [TSLocationManager a] 
╔═════════════════════════════════════════════
║ motionchange LocationResult: 1 (731ms old)
╠═════════════════════════════════════════════
╟─ 📍  Location[fused 49.457008,11.074072 hAcc=3.316 et=+5d13h50m13s433ms alt=367.20001220703125 vAcc=1.6472765 vel=0.030380264 sAcc=0.35], time: 1766264445821

12-20 22:00:46.558 INFO [TSLocationManager onSingleLocationResult] 
  🔵  MOTIONCHANGE isMoving=false df=10.0 — resetting short-term filter state
12-20 22:00:46.558 INFO [TSLocationManager onSingleLocationResult] 
  🔵  Acquired motionchange position, isMoving: false
12-20 22:00:46.817 INFO [t a] 
  ✅  💾 INSERT: 5eeb23a4-38ce-4abb-8dd1-cf687bc3760a
12-20 22:00:46.828 INFO [HttpService flush] 
╔═════════════════════════════════════════════
║ HTTP Service (count: 1)
╠═════════════════════════════════════════════

12-20 22:00:46.838 DEBUG [AbstractService a] 
  🎾  start [ActivityRecognitionService  startId: 1, eventCount: 1]
12-20 22:00:46.840 DEBUG [ActivityRecognitionService a] 
  🚘 ️DetectedActivity [type=STILL, confidence=100]
12-20 22:00:46.842 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [ActivityRecognitionService startId: 1, eventCount: 0, sticky: false]
12-20 22:00:46.854 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 
  🎾  Start monitoring stationary region (radius: 150.0m 49.4570075,11.0740722 hAcc=3.316)
12-20 22:00:46.881 INFO [TSScheduleManager oneShot] 
  ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
12-20 22:00:46.898 DEBUG [AbstractService a] 
  🎾  motionchange [TrackingService  startId: 1, eventCount: 1]
12-20 22:00:46.899 INFO [TrackingService l] 
╔═════════════════════════════════════════════
║ TrackingService motionchange: false
╠═════════════════════════════════════════════

12-20 22:00:46.919 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
12-20 22:00:46.931 DEBUG [TSLocationManagerActivity a] locationsettings
12-20 22:00:46.976 DEBUG [AbstractService a] 
  🎾  start [ActivityRecognitionService  startId: 2, eventCount: 1]
12-20 22:00:46.977 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 1
12-20 22:00:46.978 INFO [ActivityRecognitionService a] 
╔═════════════════════════════════════════════
║ Motion Transition Result
╠═════════════════════════════════════════════
╟─ 🎾  ENTER: still
╚═════════════════════════════════════════════
12-20 22:00:46.978 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [ActivityRecognitionService startId: 2, eventCount: 0, sticky: false]
12-20 22:00:47.010 DEBUG [t first] 
  ✅  Locked 1 records
12-20 22:00:47.010 INFO [HttpService a] 
  🔵  HTTP POST: 5eeb23a4-38ce-4abb-8dd1-cf687bc3760a
12-20 22:00:47.076 DEBUG [TSLocationManagerActivity onDestroy] locationsettings
12-20 22:00:47.121 DEBUG [AbstractService f] 
  ⚙️︎  TrackingService.stopSelfResult(1): true
12-20 22:00:47.122 DEBUG [AbstractService onDestroy] 
  🔴  TrackingService stopped
12-20 22:00:47.181 DEBUG [AbstractService f] 
  ⚙️︎  ActivityRecognitionService.stopSelfResult(2): true
12-20 22:00:47.183 DEBUG [AbstractService onDestroy] 
  🔴  ActivityRecognitionService stopped
12-20 22:00:47.541 INFO [HttpService flush] 
  ℹ️  HttpService is busy
12-20 22:00:48.547 INFO [HttpService$e onResponse] 
  🔵  Response: 200
12-20 22:00:48.548 DEBUG [t a] 
  ✅  DESTROY: 5eeb23a4-38ce-4abb-8dd1-cf687bc3760a
12-20 22:00:48.552 INFO [BackgroundTaskManager$Task stop] ⏳ stopBackgroundTask: 1
12-20 22:00:49.886 DEBUG [AbstractService a] 
  🎾  STATIONARY_GEOFENCE [GeofencingService  startId: 1, eventCount: 1]
12-20 22:00:49.888 DEBUG [GeofencingService b] 
╔═════════════════════════════════════════════
║ Stationary EXIT distance evaluation
╠═════════════════════════════════════════════
╟─ distance=0.0072499993m, accuracy=3.734m, radius=150.0m
╟─ 📍  Stationary=Location[fused 49.457008,11.074072 hAcc=3.316 et=+5d13h50m13s433ms alt=367.20001220703125 vAcc=1.6472765 vel=0.030380264 sAcc=0.35]
╟─ 📍  Trigger=Location[fused 49.457008,11.074072 hAcc=3.734 et=+5d13h50m17s433ms alt=367.20001220703125 vAcc=1.551391 vel=2.1447572E-4 sAcc=0.32]
╚═════════════════════════════════════════════
12-20 22:00:49.891 WARN [GeofencingService b] 
  ❌ Ignoring spurious stationary geofence EXIT
12-20 22:00:49.894 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 
  🎾  Start monitoring stationary region (radius: 150.0m 49.4570075,11.0740722 hAcc=3.316)
12-20 22:00:49.895 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [GeofencingService startId: 1, eventCount: 0, sticky: false]
12-20 22:00:50.101 DEBUG [AbstractService f] 
  ⚙️︎  GeofencingService.stopSelfResult(1): true
12-20 22:00:50.102 DEBUG [AbstractService onDestroy] 
  🔴  GeofencingService stopped
12-20 22:01:04.418 INFO [ScheduleEvent a] 
╔═════════════════════════════════════════════
║ ⏰ OneShot event fired: TERMINATE_EVENT
╠═════════════════════════════════════════════

12-20 22:01:04.419 DEBUG [TerminateEvent$a onChange] 
  ℹ️  TERMINATE_EVENT ignored (MainActivity is still active).
12-20 22:01:08.914 WARN [TSLog w] 
  ⚠️  #ready already called.  Redirecting to #setConfig
12-20 22:01:08.925 DEBUG [TSGeofenceManager stopMonitoringStationaryRegion] 
  🔴  Stop monitoring stationary region
12-20 22:01:08.926 INFO [ActivityRecognitionService f] 
  🔴  Stop motion-activity updates
12-20 22:01:08.926 DEBUG [TSGeofenceManager c] 
  🔴  Stop monitoring geofences
12-20 22:01:08.928 INFO [g c] 
  🔴  Stop heartbeat
12-20 22:01:08.930 DEBUG [HttpService stopMonitoringConnectivityChanges] 
  🔴  Stop monitoring connectivity changes
12-20 22:01:08.933 DEBUG [DeviceSettings stopMonitoringPowerSaveChanges] 
  🔴  Stop monitoring powersave changes
12-20 22:01:08.942 DEBUG [LocationAuthorization withBackgroundPermission] 
  ℹ️  LocationAuthorization: Permission granted
12-20 22:01:08.977 INFO [TSGeofenceManager start] 
  🎾  Start monitoring geofences
12-20 22:01:08.978 DEBUG [HttpService startMonitoringConnectivityChanges] 
  🎾  Start monitoring connectivity changes
12-20 22:01:08.980 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 
  🎾  Start monitoring powersave changes
12-20 22:01:08.981 INFO [ActivityRecognitionService d] 
  🎾  Start motion-activity updates
12-20 22:01:08.983 INFO [g c] 
  🔴  Stop heartbeat
12-20 22:01:08.984 DEBUG [HttpService a] 
╔═════════════════════════════════════════════
║ 📶  Connectivity change: connected? true
╠═════════════════════════════════════════════

12-20 22:01:08.984 INFO [TrackingService a] 
  🔵  setPace: falsefalse
12-20 22:01:08.995 INFO [TSLocationManager a] 
╔═════════════════════════════════════════════
║ motionchange LocationResult: 2 (174ms old)
╠═════════════════════════════════════════════
╟─ 📍  Location[fused 49.457004,11.074069 hAcc=3.78 et=+5d13h50m36s433ms alt=367.3000183105469 vAcc=1.2237993 vel=0.004352217 sAcc=0.42], time: 1766264468820

12-20 22:01:08.996 INFO [Odometer b] 
  ℹ️  Update odometer: 7923.42 (± 118.04m)
12-20 22:01:08.996 INFO [TSLocationManager onSingleLocationResult] 
  🔵  MOTIONCHANGE isMoving=false df=10.0 — resetting short-term filter state
12-20 22:01:08.996 INFO [TSLocationManager onSingleLocationResult] 
  🔵  Acquired motionchange position, isMoving: false
12-20 22:01:09.026 INFO [t a] 
  ✅  💾 INSERT: cebacb25-4eb0-430f-8a3e-01d30cec08eb
12-20 22:01:09.029 INFO [HttpService flush] 
╔═════════════════════════════════════════════
║ HTTP Service (count: 1)
╠═════════════════════════════════════════════

12-20 22:01:09.030 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 
  🎾  Start monitoring stationary region (radius: 150.0m 49.457004,11.0740688 hAcc=3.78)
12-20 22:01:09.040 DEBUG [AbstractService a] 
  🎾  motionchange [TrackingService  startId: 1, eventCount: 1]
12-20 22:01:09.041 INFO [TrackingService l] 
╔═════════════════════════════════════════════
║ TrackingService motionchange: false
╠═════════════════════════════════════════════

12-20 22:01:09.043 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [TrackingService startId: 1, eventCount: 0, sticky: false]
12-20 22:01:09.105 WARN [TSLog w] 
  ⚠️  #ready already called.  Redirecting to #setConfig
12-20 22:01:09.111 INFO [BackgroundTaskManager$Task start] ⏳ startBackgroundTask: 2
12-20 22:01:09.126 DEBUG [LocationAuthorization withBackgroundPermission] 
  ℹ️  LocationAuthorization: Permission granted
12-20 22:01:09.127 DEBUG [t first] 
  ✅  Locked 1 records
12-20 22:01:09.127 INFO [HttpService a] 
  🔵  HTTP POST: cebacb25-4eb0-430f-8a3e-01d30cec08eb
12-20 22:01:09.128 DEBUG [TSLocationManagerActivity start] Action 'locationsettings' already pending <IGNORED>
12-20 22:01:09.130 DEBUG [HttpService startMonitoringConnectivityChanges] 
  🎾  Start monitoring connectivity changes
12-20 22:01:09.130 DEBUG [DeviceSettings startMonitoringPowerSaveChanges] 
  🎾  Start monitoring powersave changes
12-20 22:01:09.131 INFO [ActivityRecognitionService d] 
  🎾  Start motion-activity updates
12-20 22:01:09.132 INFO [g c] 
  🔴  Stop heartbeat
12-20 22:01:09.146 INFO [TSLocationManager a] 
╔═════════════════════════════════════════════
║ motionchange LocationResult: 3 (325ms old)
╠═════════════════════════════════════════════
╟─ 📍  Location[fused 49.457004,11.074069 hAcc=3.78 et=+5d13h50m36s433ms alt=367.3000183105469 vAcc=1.2237993 vel=0.004352217 sAcc=0.42], time: 1766264468820

12-20 22:01:09.147 INFO [TSLocationManager onSingleLocationResult] 
  🔵  MOTIONCHANGE isMoving=false df=10.0 — resetting short-term filter state
12-20 22:01:09.147 INFO [TSLocationManager onSingleLocationResult] 
  🔵  Acquired motionchange position, isMoving: false
12-20 22:01:09.151 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 
  🎾  Start monitoring stationary region (radius: 150.0m 49.457004,11.0740688 hAcc=3.78)
12-20 22:01:09.155 DEBUG [AbstractService a] 
  🎾  motionchange [TrackingService  startId: 2, eventCount: 1]
12-20 22:01:09.155 INFO [TrackingService l] 
╔═════════════════════════════════════════════
║ TrackingService motionchange: false
╠═════════════════════════════════════════════

12-20 22:01:09.155 INFO [t a] 
  ✅  💾 INSERT: e1b2d39d-730c-4ae3-baed-864bdbd21dec
12-20 22:01:09.157 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [TrackingService startId: 2, eventCount: 0, sticky: false]
12-20 22:01:09.158 INFO [HttpService flush] 
  ℹ️  HttpService is busy
12-20 22:01:09.196 INFO [TSScheduleManager oneShot] 
  ⏰ Scheduled OneShot: TERMINATE_EVENT in 10000ms (jobID: -1708771588)
12-20 22:01:09.216 DEBUG [TSLocationManagerActivity a] locationsettings
12-20 22:01:09.289 DEBUG [TSLocationManagerActivity onDestroy] locationsettings
12-20 22:01:09.359 DEBUG [AbstractService f] 
  ⚙️︎  TrackingService.stopSelfResult(2): true
12-20 22:01:09.359 DEBUG [AbstractService onDestroy] 
  🔴  TrackingService stopped
12-20 22:01:09.797 INFO [HttpService$e onResponse] 
  🔵  Response: 200
12-20 22:01:09.798 DEBUG [t a] 
  ✅  DESTROY: cebacb25-4eb0-430f-8a3e-01d30cec08eb
12-20 22:01:09.805 DEBUG [t first] 
  ✅  Locked 1 records
12-20 22:01:09.805 INFO [HttpService a] 
  🔵  HTTP POST: e1b2d39d-730c-4ae3-baed-864bdbd21dec
12-20 22:01:09.891 DEBUG [AbstractService a] 
  🎾  STATIONARY_GEOFENCE [GeofencingService  startId: 1, eventCount: 1]
12-20 22:01:09.893 DEBUG [GeofencingService b] 
╔═════════════════════════════════════════════
║ Stationary EXIT distance evaluation
╠═════════════════════════════════════════════
╟─ distance=0.0m, accuracy=3.853m, radius=150.0m
╟─ 📍  Stationary=Location[fused 49.457004,11.074069 hAcc=3.78 et=+5d13h50m36s433ms alt=367.3000183105469 vAcc=1.2237993 vel=0.004352217 sAcc=0.42]
╟─ 📍  Trigger=Location[fused 49.457004,11.074069 hAcc=3.853 et=+5d13h50m37s433ms alt=367.3000183105469 vAcc=1.2337992 vel=0.0012609331 sAcc=0.37]
╚═════════════════════════════════════════════
12-20 22:01:09.893 WARN [GeofencingService b] 
  ❌ Ignoring spurious stationary geofence EXIT
12-20 22:01:09.894 DEBUG [TSGeofenceManager startMonitoringStationaryRegion] 
  🎾  Start monitoring stationary region (radius: 150.0m 49.457004,11.0740688 hAcc=3.78)
12-20 22:01:09.895 DEBUG [AbstractService a] 
  ⚙️︎   FINISH [GeofencingService startId: 1, eventCount: 0, sticky: false]
12-20 22:01:09.986 INFO [HttpService flush] 
  ℹ️  HttpService is busy
12-20 22:01:10.098 DEBUG [AbstractService f] 
  ⚙️︎  GeofencingService.stopSelfResult(1): true
12-20 22:01:10.099 DEBUG [AbstractService onDestroy] 
  🔴  GeofencingService stopped

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions