Test new completely rewritten Traccar Client app

Anton Tananaev3 days ago

App logs. It should store 24 hours of logs.

bones3 days ago

Thanks Anton, I'll check tomorrow. Appreciate your help.

Anton Tananaev3 days ago

We have a new version - 9.2.0.

It should have more logging and also some fixes. If something still doesn't work, please send us new logs.

alexsahka3 days ago

My phones (Android S25 / S22) with Traccar 9.2.0 are acting up. The behavior is similar to before, where if the 'older' app's location accuracy was set to 'Low,' it resulted in very few location recordings. However, it's now set to 'High,' and I'm still getting very few location recordings. All server-side filtering is disabled, as it was functioning well on the previous server or app version before these major changes. I don't even know what to do.

Unconnected3 days ago

For me the app on iOS works perfectly. With medium setting and 200m I get points almost every 400m (think it is using some kind of radius). It starts 'motion' after leaving the house either on my bicycle or walking. Also detects the right type of action. Cycling gives me more points unless I drive fast enough then the amount of points are lower and have greater distance. Think that is the elasticy right? Think it is a nice feature because that will lower the amount of data points and therefor give less battery usage. Can I ask why you removed it in the last version and set default to true? It seemed to be working perfectly. Hope you can give us that option back.

https://github.com/traccar/traccar-client/commit/57a38d964f5584d07d0258e5464dabaa01b897fa

(this commit removed it)

Anton Tananaev2 days ago

Unconnected Yeah, that's elasticity. Removed it for now because it was confusing. It shouldn't affect battery too much. To track distance you still need location provider to be on. But we can bring it back later once we sort out other stability issues.

Tinus882 days ago

I have an Android phone with version 9.1.0.
Settings:
Accuracy: high
Distance: 0
Interval: 0
Heartbeat: 300
Offline buff: off
Disable elasticity: off
Stop detection: off
As soon as I set these settings and return to "home" screen of the traccar app and turn off screen, the phone starts sending like crazy. Every second a new message. It does that for about 1,5 minute, then radio silence for about 20 minutes. Then, again every second a message now already for more than 30 minutes.

On my iPhone, with the same app version and settings:
accuracy: high
distance: 10
Heartbeat: 300
Offline buffering: off
Disable elasticity: off
Stop detection: off
Prevent suspend: on
Only once a message is received. No new messages during the last hour. Nothing.
I intentionally try to keep settings for both Android and iOS the same.

I am completely lost.
Did I not configure it right or is this app still in development and are we involuntarily your debug subjects?

Anton Tananaev2 days ago

New version is out and I made a port with all configuration details:

https://www.traccar.org/forums/topic/traccar-client-930/

Two important things for keeping tracking reliable:

  1. Add the app to battery optimization exceptions on your device
  2. If (1) doesn't help, there's now a more extreme option - wake lock; that's what we used in the old app
bones2 days ago

@Anton, This sounds promising, how long until it will reach the Google Play store? I'd rather not have to sideload an apk, but if that is necessary then I will do so. Currently on 9.1.0 and it's not showing any updates available in the play store.

I've got accuracy set to high but it can go hours without a location update even when the device is moving, so I need to do something to get it working to how it used to be.

Thanks for your hard work as always, it is appreciated.

Anton Tananaev2 days ago

Hopefully within a few hours, but Google has been slow with reviews recently, so it could be a couple of days.

Am I right in understanding that in order to use the new version of the Traccar app, I need to update the server to the latest version?
I read something else about ports, now my server is running on port 8082. Do I need to change something in this part?

Not necessarily. It should work on older versions, but you won't get all the data.

Странно. Мой сервер работает с четырьмя клиентами. На двух телефонах клиенты сами обновились и перестали отдавать местоположение. Вручную поставил старые версии клиента - всё снова заработало...

What Traccar server version?

bonesa day ago

Is the stationary heartbeat setting in the app in seconds or minutes? Running 9.1.0 from the play store here and have set it to 300, which I would expect to be 5 mins. Currently both clients have not checked in for over 40 minutes. They aren't moving, but I was expecting a heartbeat check in at least.

Or is this one of the things that has been fixed up in 9.3.0?

Edit: forgot to mention, I have stop detected enabled (as it was by default) if that makes a difference.