As a seller, I want the app to periodically send my current location to the server, so that my location can be updated on the customer’s map in real-time. This will allow customers to see where I am, helping them track my movement and decide whether I am within their vicinity for placing an order. The location updates should be sent at regular intervals, ensuring that the map reflects my accurate position without draining too much battery or consuming excessive data.
Acceptance Criteria:
The seller’s location is sent to the app as they move.
The app ensures that only relevant, updated locations are sent to the server, to minimize unnecessary data usage.
Seller’s location updates in real-time on the customer’s map, showing the most current position.
The seller’s marker on the map is updated automatically for customers within range based on the new location data.
Seller’s location update stops when they log out of the app or turn off location services.
Task
[x] Send seller's location every 5m distance #35
[x] Research background task to send periodically
[x] Send update periodically/when moving -> research background task
Description
As a seller, I want the app to periodically send my current location to the server, so that my location can be updated on the customer’s map in real-time. This will allow customers to see where I am, helping them track my movement and decide whether I am within their vicinity for placing an order. The location updates should be sent at regular intervals, ensuring that the map reflects my accurate position without draining too much battery or consuming excessive data.
Acceptance Criteria:
The seller’s location is sent to the app as they move. The app ensures that only relevant, updated locations are sent to the server, to minimize unnecessary data usage. Seller’s location updates in real-time on the customer’s map, showing the most current position. The seller’s marker on the map is updated automatically for customers within range based on the new location data. Seller’s location update stops when they log out of the app or turn off location services.
Task