• Resolved hawkesley

    (@hawkesley)


    Hi
    I have been using your app successfully using the IOS option.
    As I have reported before the fact that the app updates every 5 seconds means the battery runs out pretty quickly.Using the background option while useful is not accurate enough for some purposes.
    I use this app to track walks and it really only needs to update every minute.
    If there was a setting in the app to set the update time depending on what you are using it for that would be very helpful.
    Updating often also increases the server usage , additionally, or instead of , is it possible to add an option to update the database at pre-defined intervals.
    I understand if this is too much to ask, but perhaps you could indicate in the code where such a mod could be made.
    Thanks for listening

Viewing 1 replies (of 1 total)
  • Plugin Author tinuzz

    (@tinuzz)

    Hi,

    I’m not sure I understand what you are asking. First of all, I don’t kow what ‘app’ you are talking about. Are you using SendLocation? If you would like the app to behave differently than it does, I suggest you contact the people who built that app. There isn’t much I can do for you, since Trackserver is in no way officially related to any of the mobile apps that it can be used with.

    Regarding a limit on the number of database updates on the server side:

    I can see how ‘rate limiting’ could be helpful in some cases, for example to prevent abuse on a busy server, but I think you are asking for it for the wrong reasons. This is something that should be fixed on the side of the app. Furthermore, I am afraid such a setting would lead to a lot of confusion about why updates don’t appear on the map, and I’ll be getting a lot of ‘It doesn’t work!’ type of questions.

    I’m sorry, but this will not be high on my ‘todo’ list.

    If you want to take a swing at it yourself, all the code is in trackserver.php, and I hope and think the code is readable enough to allow easy hacking.

    Best regards,
    Martijn.

Viewing 1 replies (of 1 total)

The topic ‘Sending tracks at variable intervals’ is closed to new replies.