Closed reslin closed 5 years ago
I suggest putting "fixes #355" into the PR description so that PR will be linked to the ticket #355 in such a way that ticket will be closed when this is merged into master.
On the other hand there still need to be done some changes on the traccar website for this to be completely resolved.
Some news:
closing the PR because I didn't follow best practises
It has been requested that an Android Traccar-client can be configured remotely, see #355.
@stefanb has had the idea of an Android App Link which carries config-data and opens the Traccar-client directly and shows/requests a new configuration, in order to free the user of bothering about settings.
My solution doesn't use an App Link, but it reacts on a deep link like "https://www.example.org/config/?url=https://receiving.server.com/receive.php&id=12345&interval=120&accuracy=high" if Traccar is installed (and not running). Otherwise the device opens the link in a browser and shows install directions.
Every distributing developer has to customize the intent-filter in AndroidManifest.xml to get a match for their config-link, or if not: no harm is done, the remote-configuring is never triggered.
Request for comments / corrections.