We don't have a way of doing it currently.
Ok, so setting up 50 devices is a manual task?
Are there any plans for this? I am using Headwind MDM in this project and would like to do all config in there for all applications.
This would save allot of time and ensure that everything is done correct.
Having users do this config in the field is a big risk.
If you have MDM, you might be able to do it through that. We use standard preferences for settings.
OK greate can you give me a pointer to some doc?
There's no doc for it. You should check doc from your MDM provider if that's something they allow.
OK Head wind supports application setting
So what are the names of the attributes for server and so on?
I can set attribute and value in Headwind for a specific application
You can find it in the code. There's a resource file with a list of preferences.
Super thanks Anton!
Are these the correct preferences?
<?xml version='1.0' encoding='UTF-8'?>
<resources>
<string name="app_name">Traccar Client</string>
...
<string name="settings_buffer_off_summary">Buffering off</string>
No, those are just localization strings.
https://github.com/traccar/traccar-client-android/blob/master/app/src/main/res/xml/preferences.xml
ok, sorry for all the questions, I'm new to this.
so let's say I want to set the server url
In Headwind i can set application settings in my config so i would set:
application:org.traccar.client
attribute:url
value:123.123.123.123:5050
Is the correct?
The value is incorrect. That's not a proper URL. But other things look fine.
from your code i think these are the correct values to set:
Key Value
url https://your.server.com
id ${imei}
interval 60
distance 0
angle 0
buffer true
wakelock true
accuracy 0
I've now tried to set this in the application settings as attributes and values for the application traccar under config.
So i have a specific config that installs traccar. I can set application settings in this config
The mobile client updates and things look fine. But when opening traccar nothing has changed.
I am using Headwind mdm
Hi All,
I am in the works of setting up a new project where we will have 50 mobile phones in rotation tracking a fleet.
I don't know if I've missed something here but is there not a way of bulk initiating the clients?
If I can avoid setting up 50 phones with the same config that would be great.
Regards
//VIktor