I received quite a few reports that enabled state doesn't persist across phone reboots. It used to work on earlier version of the plugin. Any ideas why it could be happening?
{
"geolocation": {
"distanceFilter": 75.0,
"desiredAccuracy": 10,
"disableElasticity": true,
"pausesLocationUpdatesAutomatically": true,
"showsBackgroundLocationIndicator": false
},
"app": {
"stopOnTerminate": false,
"preventSuspend": false
},
"http": {
"autoSync": false,
"url": "http://demo.traccar.org:5055/",
"params": {
"device_id": "68003259"
}
},
"activity": {
"disableStopDetection": false
},
"persistence": {
"locationTemplate": "{\"timestamp\": \"<%= timestamp %>\",\"coords\": {\"latitude\": <%= latitude %>,\"longitude\": <%= longitude %>,\"accuracy\": <%= accuracy %>,\"speed\": <%= speed %>,\"heading\": <%= heading %>,\"altitude\": <%= altitude %>},\"is_moving\": <%= is_moving %>,\"odometer\": <%= odometer %>,\"event\": \"<%= event %>\",\"battery\": {\"level\": <%= battery.level %>,\"is_charging\": <%= battery.is_charging %>},\"activity\": {\"type\": \"<%= activity.type %>\"},\"extras\": {},\"_\": \"&id=68003259&lat=<%= latitude %>&lon=<%= longitude %>×tamp=<%= timestamp %>&\"}",
"maxRecordsToPersist": -1
},
"logger": {
"logLevel": 5,
"logMaxDays": 1
},
"isMoving": true
}
I received quite a few reports that enabled state doesn't persist across phone reboots. It used to work on earlier version of the plugin. Any ideas why it could be happening?
Example config: