-
Notifications
You must be signed in to change notification settings - Fork 441
Open
Description
Required Reading
- Confirmed
Plugin Version
^5.0.0-beta.4
Mobile operating-system(s)
- iOS
- Android
Device Manufacturer(s) and Model(s)
Android Emulator - Medium Phone API 36.1
Device operating-systems(s)
Android 16
React Native / Expo version
Expo 54
What do you require assistance about?
Location is being fetched but not reaching to our server due to some configuration issue.
[Optional] Plugin Code and/or Config
{
"geolocation": {
"desiredAccuracy": "DESIRED_ACCURACY_HIGH",
"distanceFilter": 5,
"stationaryRadius": 10,
"stopTimeout": 5,
"disableElasticity": true,
"allowIdenticalLocations": false,
"pausesLocationUpdatesAutomatically": false,
"locationUpdateInterval": 1000,
"fastestLocationUpdateInterval": 500
},
"http": {
"url": "server-url",
"method": "POST",
"headers": {
"Authorization": "~Some Token"
},
"params": {
"user_id": "UUID"
},
"autoSync": true,
"batchSync": false,
"maxBatchSize": 50,
"timeout": 60000
},
"app": {
"notification": {
"title": "Location Tracking Enabled",
"text": "High accuracy tracking is active",
"smallIcon": "mipmap/ic_launcher",
"priority": "PRIORITY_HIGH",
"channelId": "ChannelId"
}
},
"logger": {
"level": 5
}
}[Optional] Relevant log output
--------- beginning of main
12-24 20:11:50.235 9726 9837 D TSLocationManager: [c.t.l.l.TSSQLiteAppender$c run]
12-24 20:11:50.235 9726 9837 D TSLocationManager: ℹ️ Cleared logs older than 72 hours
12-24 20:11:50.236 9726 9834 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a]
12-24 20:11:50.236 9726 9834 I TSLocationManager: ╔═════════════════════════════════════════════
12-24 20:11:50.236 9726 9834 I TSLocationManager: ║ TSLocationManager version: 4.0.0-beta.14 (4014)
12-24 20:11:50.236 9726 9834 I TSLocationManager: ╠═════════════════════════════════════════════
12-24 20:11:50.236 9726 9834 I TSLocationManager: {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "actions": [],
12-24 20:11:50.236 9726 9834 I TSLocationManager: "activity": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "activityRecognitionInterval": 10,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableMotionActivityUpdates": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableStopDetection": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "minimumActivityRecognitionConfidence": 75,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "motionTriggerDelay": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopOnStationary": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking"
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "activityRecognitionInterval": 10,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "allowIdenticalLocations": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "allowTap": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "app": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "backgroundPermissionRationale": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "enableHeadless": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "foregroundService": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "headlessJobService": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "heartbeatInterval": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "mainActivityName": null,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "notification": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "actions": [],
12-24 20:11:50.236 9726 9834 I TSLocationManager: "allowTap": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelDescription": "Location tracking",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelId": "bggeo",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelName": "BackgroundGeolocation",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "color": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "importance": 2,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "largeIcon": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "layout": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "priority": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "smallIcon": "mipmap\/ic_launcher",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "sticky": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "strings": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "tapActivity": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "text": "Tracking location",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "title": "Background Geolocation"
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "schedule": [],
12-24 20:11:50.236 9726 9834 I TSLocationManager: "scheduleUseAlarmManager": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "startOnBoot": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopOnTerminate": true
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "authorization": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "accessToken": "✱✱✱",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "expires": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "refreshHeaders": null,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "refreshPayload": null,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "refreshToken": "✱✱✱",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "refreshUrl": "✱✱✱",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "strategy": "JWT"
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "autoSync": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "autoSyncThreshold": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "backgroundPermissionRationale": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "batchSync": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelDescription": "Location tracking",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelId": "bggeo",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelName": "BackgroundGeolocation",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "color": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "debug": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "deferTime": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "desiredAccuracy": 100,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "didDeviceReboot": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "didShowBackgroundPermissionRationale": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableAutoSyncOnCellular": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableElasticity": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableLocationAuthorizationAlert": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableMotionActivityUpdates": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableProviderChangeRecord": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableStopDetection": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "distanceFilter": 10,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "elasticityMultiplier": 1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "enableHeadless": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "enableTimestampMeta": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "enabled": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "extras": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "fastestLocationUpdateInterval": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "foregroundService": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceInitialTriggerEntry": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceModeHighAccuracy": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceProximityRadius": 1000,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceTemplate": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geolocation": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "allowIdenticalLocations": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "deferTime": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "desiredAccuracy": 100,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableElasticity": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableLocationAuthorizationAlert": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "distanceFilter": 10,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "elasticityMultiplier": 1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "enableTimestampMeta": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "fastestLocationUpdateInterval": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "filter": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "burstWindow": 10,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "filterDebug": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "kalmanDebug": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "kalmanProfile": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxBurstDistance": 300,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxImpliedSpeed": 60,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "odometerAccuracyThreshold": 20,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "odometerUseKalmanFilter": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "policy": 2,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "rollingWindow": 5,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "trackingAccuracyThreshold": 100,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "useKalman": true
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceInitialTriggerEntry": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceModeHighAccuracy": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceProximityRadius": 1000,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationAuthorizationRequest": "Always",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationTimeout": 60,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationUpdateInterval": 1000,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stationaryRadius": 150,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopAfterElapsedMinutes": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopTimeout": 5,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "useCLLocationAccuracy": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "useSignificantChangesOnly": false
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "headers": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "headlessJobService": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "heartbeatEnabled": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "heartbeatInterval": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "http": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "autoSync": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "autoSyncThreshold": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "batchSync": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableAutoSyncOnCellular": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "headers": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxBatchSize": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "method": "POST",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "params": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "rootProperty": "location",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "timeout": 60000,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "url": ""
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "httpRootProperty": "location",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "httpTimeout": 60000,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "importance": 2,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "isFirstBoot": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "isMoving": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "largeIcon": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "layout": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationAuthorizationRequest": "Always",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationTemplate": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationTimeout": 60,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationUpdateInterval": 1000,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationsOrderDirection": "ASC",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "logLevel": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "logMaxDays": 3,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "logger": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "debug": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "logLevel": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "logMaxDays": 3
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxBatchSize": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxDaysToPersist": 1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxRecordsToPersist": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "method": "POST",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "minimumActivityRecognitionConfidence": 75,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "motionTriggerDelay": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "notification": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "actions": [],
12-24 20:11:50.236 9726 9834 I TSLocationManager: "allowTap": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelDescription": "Location tracking",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelId": "bggeo",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "channelName": "BackgroundGeolocation",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "color": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "importance": 2,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "largeIcon": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "layout": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "priority": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "smallIcon": "mipmap\/ic_launcher",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "sticky": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "strings": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "tapActivity": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "text": "Tracking location",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "title": "Background Geolocation"
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "odometer": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "odometerError": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "params": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "persistMode": 2,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "persistence": {
12-24 20:11:50.236 9726 9834 I TSLocationManager: "disableProviderChangeRecord": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "extras": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "geofenceTemplate": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationTemplate": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "locationsOrderDirection": "ASC",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxDaysToPersist": 1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "maxRecordsToPersist": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "persistMode": 2
12-24 20:11:50.236 9726 9834 I TSLocationManager: },
12-24 20:11:50.236 9726 9834 I TSLocationManager: "priority": -1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "schedule": [],
12-24 20:11:50.236 9726 9834 I TSLocationManager: "scheduleUseAlarmManager": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "schedulerEnabled": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "smallIcon": "mipmap\/ic_launcher",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "startOnBoot": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stationaryRadius": 150,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "sticky": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopAfterElapsedMinutes": 0,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopOnStationary": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopOnTerminate": true,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "stopTimeout": 5,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "strings": {},
12-24 20:11:50.236 9726 9834 I TSLocationManager: "tapActivity": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "text": "Tracking location",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "title": "Background Geolocation",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "trackingMode": 1,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "url": "",
12-24 20:11:50.236 9726 9834 I TSLocationManager: "useCLLocationAccuracy": false,
12-24 20:11:50.236 9726 9834 I TSLocationManager: "useSignificantChangesOnly": false
12-24 20:11:50.236 9726 9834 I TSLocationManager: }
12-24 20:11:50.237 9726 9834 I TSLocationManager: [c.t.l.logger.LoggerFacade$a a]
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╔═════════════════════════════════════════════
12-24 20:11:50.237 9726 9834 I TSLocationManager: ║ DEVICE SENSORS
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╠═════════════════════════════════════════════
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╟─ ✅ ACCELEROMETER: {Sensor name="Goldfish 3-axis Accelerometer", vendor="The Android Open Source Project", version=1, type=1, maxRange=39.300102, resolution=2.480159E-4, power=3.0, minDelay=10000}
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╟─ ✅ GYROSCOPE: {Sensor name="Goldfish 3-axis Gyroscope", vendor="The Android Open Source Project", version=1, type=4, maxRange=16.46, resolution=0.001, power=3.0, minDelay=10000}
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╟─ ✅ MAGNETOMETER: {Sensor name="Goldfish 3-axis Magnetic field sensor", vendor="The Android Open Source Project", version=1, type=2, maxRange=2000.0, resolution=0.5, power=6.7, minDelay=10000}
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╟─ ⚠️ SIGNIFICANT_MOTION: none. Motion-detection system performance will be degraded
12-24 20:11:50.237 9726 9834 I TSLocationManager: ╚═════════════════════════════════════════════Metadata
Metadata
Assignees
Labels
No labels