A DoorDash Inc. delivery personA DoorDash Inc. delivery person arranges an order in the back of a vehicle outside of a DoorDash Kitchens location in Redwood City, California, U.S., on Friday, Nov. 29, 2019.

DoorDash is taking steps to help drivers offset rising gas prices, but unlike ride-share apps, the added costs won't be passed on to consumers.

DoorDash said on Tuesday that delivery drivers in the U.S. will be able to get 10% cash back on gas through a Visa card. The online delivery service said they will earn cash back on their card even when they are not working.

Over the last few weeks, prices at the pump have increased all across the world, and for Dashers who deliver by car, this economic reality presents unique and unprecedented challenges.

Retail gasoline prices across the country went up last week because of the high oil prices. The average price of gas in the US is $4.32 per gallon, according to the American Automobile Association.

The temporary rider surcharge is being added by both companies. The company said last week that it would charge 45 cents to 55 cents for trips and 35 cents to 45 cents for deliveries. The amount of the rider surcharge was not specified.

The company is taking a different approach, according to a DoorDash spokesman.

We know that Dashers aren't the only ones facing pain at the pump, and we're not passing the cost of these programs on to consumers at this time.

The weekly gas bonus for those who drive more frequently in their job was announced by DoorDash.

Relief will stay in place at least through April as the cash back reward program begins.

We will continue to monitor gas prices, listen to the Dasher community, and seek feedback as we evolve these programs and explore additional resources in the coming weeks and months.

The U.S. is growing oil production.