Noticed the changes, and curious to know more.
The Device Identifier in new code is randomly generated number and not imie? why so?
And The app (Hidden option) Is compatible for all versions of android?
Foreground service removed?
The main reason is that to get IMEI number I need special permissions. That kind of permissions also allow to make call which can be suspicions from the user point of view. Are there any benefits of using IMEI instead of randomly generated id?
Yes, it should be.
It's not removed. I found a way to hide notification, so it's always running in foreground mode now.
The benefit is for users who have large scale deployment of this app, where they do not have to then worry about recollecting which ID belongs to who, as they obviously have IMIE of devices mapped to users the device is allocated to.
I havent tested it, but random generated ID/Number will also change if re-installed. However IMIE to a large extent will remain same (until and unless the devices is not rooted and changed).
If you reinstall the app, a new ID would be generated, but you can always put your own custom ID or even IMEI manually.
I guess there is some valid point about large scale deployments, but I think advantage of not asking for extra permissions outweighs that.
I have deployment on large scale' where I have single Traccar Server with few hundred android client deployed.
Now, I was thinking it would be a good idea, to also list (latest unknown device ID's) also on the default web-front or in any other way you might think appropriate.
Probably just storing/displaying last 1 hours unknown device list.
This will help (Administrators/Installers) to Install and get the device Identifiers, specially in-cases where the user uninstalls the app, or re-installs etc.
do you feel this would be a potential feature that would make any sense or have any use?
It can be easily done by a simple script. On Linux or Mac you can do something like this:
tail -1000 tracker-server.log | grep "Unknown device"
Perfect thanks Anton, Will Create a script on my application :)
thanks for the help, You are a star !!!
It worked for me, Now am able to display (unknown devices on my web app).