Riders can view all his new/pending orders. Once rider pick the order from restaurant, the rider will be started with live tracking option to reach users location. Rider can see his all earnings and order history.Rider Allows background location because customer needs to track the order. Customer view rider current location(foreground and background)
because for the customer ease it make customer to get linked with the rider location where the order reached.