You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start recording locations, after the first location has been acquired, the plugin seems to send this location to my server. After that, the plugin works fine.
[Optional] Plugin Code and/or Config
{"activityRecognitionInterval": 10000,"allowIdenticalLocations": true,"authorization": {},"autoSync": true,"autoSyncThreshold": 1000,"backgroundPermissionRationale": {"title": "Autorisez {applicationName} a accèder a votre position en arrière plan?","message": "Cette application collecte les informations de localisation pour permettre de mesurer votre temps de travail même lorsque l'application est fermée ou non utilisée. La collecte d'information s'arrêtera si vous éteignez le bouton de l'application.","positiveAction": "Changez à {backgroundPermissionOptionLabel}","negativeAction": "Annuler"},"batchSync": true,"configUrl": "","debug": false,"deferTime": 0,"desiredAccuracy": -1,"desiredOdometerAccuracy": 100,"disableAutoSyncOnCellular": false,"disableElasticity": false,"disableLocationAuthorizationAlert": false,"disableMotionActivityUpdates": false,"disableProviderChangeRecord": false,"disableStopDetection": true,"distanceFilter": 0,"elasticityMultiplier": 1,"enableHeadless": true,"enableTimestampMeta": false,"extras": {},"fastestLocationUpdateInterval": 3000,"foregroundService": true,"geofenceInitialTriggerEntry": true,"geofenceModeHighAccuracy": false,"geofenceProximityRadius": 1000,"geofenceTemplate": "","headers": {},"headlessJobService": "com.transistorsoft.rnbackgroundgeolocation.HeadlessTask","heartbeatInterval": 70,"httpRootProperty": "location","httpTimeout": 30000,"isMoving": false,"locationAuthorizationRequest": "WhenInUse","locationTemplate": "{ \"lat\":<%= latitude %>, \"long\":<%= longitude %>, \"createdAt\":\"<%= timestamp %>\", \"activity\":\"<%= activity.type %>\", \"battery\": \"<%= battery.level %>\", \"accuracy\":\"<%= accuracy %>\", \"is_moving\": \"<%= is_moving %>\", \"speed\":\"<%= speed %>\" }","locationTimeout": 60,"locationUpdateInterval": 3000,"locationsOrderDirection": "ASC","logLevel": 5,"logMaxDays": 1,"maxBatchSize": -1,"maxDaysToPersist": 365,"maxMonitoredGeofences": 97,"maxRecordsToPersist": -1,"method": "POST","minimumActivityRecognitionConfidence": 75,"motionTriggerDelay": 0,"notification": {"layout": "","title": "Aptimiz est en cours d'utilisation","text": "Aptimiz utilise votre position","color": "","channelName": "TSLocationManager","channelId": "","smallIcon": "","largeIcon": "","priority": -1,"sticky": false,"strings": {},"actions": []},"params": {"foo":"bar"},"persist": true,"persistMode": 2,"schedule": [],"scheduleUseAlarmManager": false,"speedJumpFilter": 300,"startOnBoot": true,"stationaryRadius": 25,"stopAfterElapsedMinutes": 0,"stopOnStationary": false,"stopOnTerminate": false,"stopTimeout": 3,"triggerActivities": "in_vehicle, on_bicycle, on_foot, running, walking","url": "https:\/\my.server.com/","useSignificantChangesOnly": false,"enabled": false,"schedulerEnabled": false,"trackingMode": 1,"odometer": 0,"isFirstBoot": false,"didLaunchInBackground": false,"didDeviceReboot": false}
Is there a way to disable this behavior? For example, by setting disableMotionActivityUpdates: true and resetting it to false later? What potential impacts could this have on our system or processes?
To clarify, we are encountering cases where users send a single location and a threshold simultaneously, but the server receives the single location first.
As a result, we are forced to reorder the locations, and it would save time if this step could be avoided.
Required Reading
Plugin Version
4.14.5
Mobile operating-system(s)
What do you require assistance about?
When I start recording locations, after the first location has been acquired, the plugin seems to send this location to my server. After that, the plugin works fine.
[Optional] Plugin Code and/or Config
[Optional] Relevant log output
The text was updated successfully, but these errors were encountered: