Get Last Position Of Device

Elder Pereiraa day ago

Hello everyone.

I am upgrading a proprietary protocol from a very old version of Traccar (4.10 to 6.3).

In the older version, I can get the last position of the device using:

Context.getIdentityManager().getLastPosition(position.getDeviceId())

Is there any alternative to do this in newer versions?

cacheManager.getPosition(position.getDeviceId());
Elder Pereiraa day ago

Thanks.

Are there any docs about the changes in development between versions?

In next days i will upgrade some protocols to newer versions.

If you mean developer docs, no. But we have blog post for each release:

https://www.traccar.org/blog/category/releases/