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 on-call, then updates are sent every 300 meters or every 60 seconds.
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.