vidriloco/Wikicleta-iOS

The app should be able to track the moves of a user and store them or upload them when necessary

Closed this issue · 0 comments

Given the user has allowed this feature to be active, the app should be collecting the location of a user (on an always alive background process) and be sending packets of collected locations. A new location request will be issued each 5 minutes on this first feature version.

Locations should be stored on a FIFO data-structure such as a queue, that allows us to pop the 5 locations at the front of it and send them.

Before adding a location, it's speed should be within a normal cycling speed range [0km-30km per hour].

An average speed of zero for more than 10 consecutive locations request fetched should stop the location requests until a new location is retrieved which is at a distance of at least 1km