android icon indicating copy to clipboard operation
android copied to clipboard

[Feature request] See track history

Open TimSC opened this issue 3 years ago • 11 comments

A fairly standard feature of tracking apps is to see the track history of a single user. I know recorder provides something like this but we could do with it in the mobile app as well.

TimSC avatar Dec 18 '21 19:12 TimSC

I've thought about this before. The main challenge is now the app needs to store a history of points, so coming up with a sensible value for "how many points?", as well as other things like "do we also keep the inaccurate locations?" and "what about points for contacts?".

None of that is particularly hard though, we can aim to have something simple in the next major release and see what people think.

growse avatar Dec 18 '21 22:12 growse

Just to clarify, I was thinking of the track history for a friend, as well as yourself. This would require changes to the server side?

TimSC avatar Dec 18 '21 23:12 TimSC

in iOS we keep the last positions (setting) positions of the user and for the contacts. Default ist 50. „Inaccurate positions“ are not sent and not stored. We show the track on the map when selected. There is no list view of the track and no export of track points in the app.

ckrey avatar Dec 19 '21 06:12 ckrey

Just to clarify, I was thinking of the track history for a friend, as well as yourself. This would require changes to the server side?

The app can store a list of positions it receives for a contact, so that ask shouldn't require any changes outside of the app.

growse avatar Dec 19 '21 08:12 growse

So there would be no history while the phone is off or out of network connectivity?

TimSC avatar Dec 19 '21 13:12 TimSC

Yes, without a live connection to an instance, the client's not going to receive any locations from contacts. It can obviously store its own location history while offline, but there's no mechanism in the OT protocol / spec to allow a client to pull a history of locations for a contact from a recorder instance.

growse avatar Dec 19 '21 16:12 growse

If you are using an MQTT backend and use QoS>0 which is the default, messages from contacts will be queued until you are back online.

ckrey avatar Dec 20 '21 09:12 ckrey