Deeplinking question about lib/configuration_service.dart

Antony7 days ago

Why isn't there an option to also set server url in lib/configuration_service.dart via a url string parameter ?

Anton Tananaev7 days ago

There is.

Antony7 days ago

Hmm it might be that I missed it while skimming through the code. Thanks one more time for implementing this very useful feature that will be put to use right away :D

Antony7 days ago

Can you please post a template url (an example) to configure traccar with a url here for anyone who might not know how to do it and check the forum? will it be traccar.org?url=xyz&id=string&accuracy=Highest& distance=number&interval=number&angle=number&heartbeat=number&fastestInterval=boolean&buffer=boolean&wakeLock=boolean&stopDetection=boolean

Where
url : is the server url to be passed
id: is the device id which can be a string
accuracy : one of values from Highest, High, Medium, Low
distance: an integer number
fastestInterval: true or false
buffer: true or false
wakeLock: true or false
stopDetection: true or false

Anton Tananaev7 days ago

An example URL:

org.traccar.client://config?url=https://demo.traccar.org&id=test123&interval=30
Antony7 days ago

Ok. Thanks

tw20065 days ago

IF I read correctly the commit, It's working from 9.6.1 version, correct? Actually on google play there is 9.6.0

Anton Tananaev5 days ago

Both should work.

tw20065 days ago

I tried sending an email with an hyperlink to my account but it doesn't work. It open on google chrome instead traccar client (9.6.0)
I tried with org.traccar.client://config?url=https://demo.traccar.org&id=test123&interval=30

AJ4Cf7AuH2.png

Anton Tananaev5 days ago

Not sure email support these kinds of links. I tried it using direct intent.

tw20065 days ago

I don't understand how to test and how i can share the configuration link with my users

Anton Tananaev5 days ago

You need to send it as an intent somehow.