There was an error while loading. Please reload this page.
Background location tracking is handled on the DashboardScreen.
If permissions are granted by the user and the driver is logged in and on-call, then updates are sent every 1200 meters.
Location tracking continues as long as the driver is on-call.
Because it is a background task, the function that sets the location is defined in the TaskManager, called in the global scope of the app.