Walkthrough: Design a Ride Hailing Rider App

Topics Covered

Step One: Requirements and Constraints for the Rider App

Scope the core flows

Non functional requirements that come from the device

Rough numbers

Platform constraints to state

Questions that change the design

The happy path in one paragraph

What the interviewer is checking in step one

Design the rider app for a ride hailing service is a favourite mobile prompt because it puts the device's most expensive sensor, its location hardware, at the centre of the product. The app must find the rider, show a car moving toward them in real time, survive the rider locking the phone and walking outside into poor signal, and take payment for a trip whose final price is only known at the end. This lesson applies the course's six step framework to that prompt and goes deep on the areas interviewers push on.

Say early that you are designing the rider app and its contract with the backend. Matching riders to drivers, pricing, dispatch and the driver app are separate systems. You will mention them where the rider app depends on them, but you will not design the dispatch algorithm. If the interviewer wants the driver app instead, the requirements change a lot, because the driver app streams location continuously in the background, which is a very different battery and permission story.

Scope the core flows

Restate the prompt and propose a scope. For a rider app, the core flows are:

  • Set a pickup point and destination on a map, with the pickup defaulting to the rider's current location and adjustable by dragging a pin.
  • See ride options with an upfront price and an estimated pickup time.
  • Request a ride, see a matching state, then the matched driver with car details and a live position.
  • Follow the driver approaching on a map with an updating arrival time, and get alerted when the driver arrives.
  • Ride the trip with a live route and arrival estimate, then pay automatically, rate and tip.
  • Cancel before or during matching, and contact the driver through masked calls or in app chat.

Put out of scope unless asked: scheduled rides, shared or pooled rides, multiple stops, rider safety features beyond a share trip link, loyalty programmes and the driver app. Scheduled and pooled rides are good extension topics if time remains, because they change the state machine, but they are not needed to show the core skills.

Non functional requirements that come from the device

Location accuracy where it matters. The pickup point should be accurate to a few metres when the rider is placing it, because a pin on the wrong side of a large building wastes minutes for both people. Battery. A rider might wait ten minutes for a car and ride for thirty. The app must not drain a meaningful share of the battery in that time, which rules out high accuracy GPS for the whole session. Live updates. The driver's position and arrival estimate should feel live, updating every few seconds while the map is visible. Background presence. When the rider locks the phone, they still need to know when the car arrives, without the app running. Correctness of the trip. A request must never create two trips or two charges, even with a terrible network, and the app must always show the trip state the server believes. Resilience at pickup. Pickups happen at airports, stations and underground car parks, which are exactly where networks are worst. The critical information, the car's plate and colour, the driver's name and the pickup point, must be visible even with no connectivity. Accessibility. Map driven screens need text alternatives: the arrival time and car details announced by VoiceOver and TalkBack, and actions reachable without precise map gestures.

The trip moves through server owned states; the app commits each one only when the server version confirms it.

Rough numbers

A few estimates shape the design. A rider session lasts maybe forty minutes from opening the app to rating the driver. If the driver's position updates every two to four seconds while the map is visible, that is around a thousand small location messages per trip, each well under a hundred bytes. Bandwidth is negligible; what matters is keeping one connection open rather than making a thousand HTTPS requests, each of which would wake the radio and pay for a request round trip.

Map tiles are the heaviest download. A first open in a new city can pull several megabytes of vector tiles, which is why the map SDK's tile cache matters and why the first screen should not wait for tiles before letting the rider type a destination.

On the server side, the requests are tiny but numerous: millions of concurrent riders each receiving a position every few seconds. That is a backend concern, but it explains why the contract should push positions over a long lived connection rather than ask clients to poll, and why the client should tolerate updates being dropped or coarsened under load.

Platform constraints to state

Location permission is the first constraint. Both platforms let the user grant approximate or precise location, and allow access only while the app is in use, or always. A rider app should ask only for while in use access, and should handle approximate location gracefully by asking the user to confirm the pin. Asking for always access is unnecessary for a rider and makes app review and user trust harder.

Background limits are the second. On iOS, a suspended app runs no code, and an app that keeps location updates running in the background must declare the location background mode and shows a visible indicator. On Android, a background app can use location only through a foreground service of the location type, with a persistent notification, and recent versions tighten which foreground service types an app may start from the background. These rules change between releases, so phrase them as approximate, but design for this conclusion: the rider app should not depend on running in the background at all. The OS surfaces built for this, Live Activities on iOS and ongoing progress notifications on Android, driven by push, carry the trip while the app is closed.

Questions that change the design

Some clarifying questions move the design more than others, so ask them even if the interviewer wants to get going. Which markets? Emerging markets mean older Android phones with two or three gigabytes of memory, slow and expensive data, cash payments and sometimes riders without a card at all, which changes the payments flow and the app size budget. Is the price shown upfront and fixed, or metered? Upfront pricing needs a quote with an expiry; metered pricing needs a running fare display and a final calculation the rider can dispute. Do we support guest riders, such as booking a car for a parent? That adds a second phone number and notifications to a person without the app. Must the app work for riders with no smartphone data plan, through SMS updates? That is a product decision, but it tells you how much of the trip must be expressible outside the app.

Also ask what the business cares about most for this version. If the answer is conversion from opening the app to requesting a ride, you will spend more design time on a fast first screen and a quick quote. If it is pickup success, you will spend it on location accuracy and the offline pickup screen. Interviewers often have one of these in mind, and asking lets you aim your deep dives at it.

The happy path in one paragraph

Before drawing anything, narrate the happy path in a few sentences so you and the interviewer share a picture. The rider opens the app and the map centres on their location. They type a destination, see three options with prices, choose one and tap request. Within seconds they see a matching animation, then a driver's photo, car and plate, and a car icon gliding toward them. The phone is locked; the lock screen shows two minutes away, then arrived. They get in, watch the route, arrive, and the fare is charged to their card. A rating prompt appears. Every later decision in the design should serve one of these moments, and naming them helps you notice when you are designing something nobody asked for.

What the interviewer is checking in step one

The interviewer wants to see that you scoped the rider app rather than the whole marketplace, that your requirements mention battery, permissions, background presence and bad networks at pickup, and that you will rely on server owned trip state. Close with a summary and a check in: the core is request, live tracking and automatic payment, with a trip that never duplicates and a pickup screen that works offline. Should I move on to the client architecture?

Ask whether you are building the rider or driver app

The two apps share a backend but have opposite device constraints. The rider app uses location briefly and in the foreground; the driver app streams it all shift long in the background. Confirming which one you are designing in the first minute avoids designing the wrong battery story.