Dispatch is the product your taxi app has to deliver
Taxi app development starts with a promise a fleet can keep: a rider requests a pickup, an eligible driver agrees to take it, and both sides see the same assignment. An interface can make a ride request easy, but the service still depends on dispatch decisions, accurate pickup instructions, and a way to recover when a phone loses its connection. A city fleet with employed or contracted drivers can define those decisions directly. It can decide how the system handles a missing vehicle capability, how long an offer stays open, and when an operator takes over. Those choices should be captured as operating rules before the three interfaces are drawn.
Consider a fictional fleet called Eastbank Taxis. It operates a limited city zone with staffed dispatch and sets different rules for requesting an immediate pickup and scheduling one for a future time. This guide follows immediate ride R-21. The rider supplies a pickup point and requests a vehicle with an accessibility feature the fleet supports. One driver’s location is too old under fleet policy. A second driver is eligible and can accept an offer for a limited time. We can use this case to design the rider, driver and dispatcher views around the same record, then run it on actual devices to test whether interruptions produce an intelligible result.
Give the rider a way to describe the pickup
A location coordinate is useful for ranking nearby vehicles, while a passenger normally needs a place they can recognize. A large venue may have two exits on different roads, a loading entrance, and a separate taxi pickup lane. Store the structured pickup place the fleet can serve alongside any coordinates and a short note. Let the rider check the named entrance before submitting. The interface should remain usable when the rider allows approximate location, declines access or cannot obtain a fresh fix indoors. Search by address, a list of supported pickup areas, and a manual note are practical alternatives when the person knows where they are.
Treat assistance requirements as specific service constraints. An eligible vehicle may require a particular ramp, space or boarding procedure, depending on how the fleet has chosen to represent its service. Define a compact list that operations can maintain and train drivers to interpret. The app can pass an operational instruction without collecting advice, diagnoses or an explanation of why an individual needs the service. If the requested combination cannot be confirmed by the fleet, route the request to dispatch or explain the next step. A generic vehicle icon does not establish that a person can board safely or that the right equipment is present.
Separate a driver shift from a rider’s map interaction
Driver location serves several fleet purposes while a person is on duty. It can help identify a driver near a pickup, support dispatch while a ride is underway, and make a reported arrival easier to investigate. The rider’s location is normally needed only when selecting or revising a pickup. Use the rider’s approved pin or written instructions as the destination for the first leg. This gives the team a way to avoid monitoring a rider’s device during an ordinary trip and keeps the driver’s work account focused on activities during a shift. Represent shift start, pauses and shift end as events the driver can see.
Choose permissions through actual operating scenarios rather than a shared checklist for all devices. Android’s guidance on requesting background location covers behavior differences by target SDK and the effect of approximate-location preferences. Apple’s Core Location guidance covers handling location updates in the background for its own frameworks. Confirm the behavior for the supported operating systems, app states and versions. Test showing the rider a useful fallback, as well as a driver seeing an explanation of which on-shift functions pause when permission is withdrawn. Record only the operational details the dispatch service uses.
What a successful driver assignment looks like
Filter vehicles before sorting by travel time
First determine who can perform R-21. Begin with duty status, service zone, vehicle capability, shift availability and location freshness. Then sort the eligible pool according to the fleet’s assignment rules. A driver closer on the map may be unable to serve the request because they already hold another offer, the vehicle has changed or the road layout makes a direct pickup impractical. An assignment should use the latest confirmed configuration of the current vehicle. A driver can acknowledge a change of vehicle at shift start, and dispatch can record the equipment check separately with its confirmation time and the responsible operator.
Eastbank uses a 30-second location age for automatic assignment in this fictional exercise. Driver A’s last accepted location report is 45 seconds old. The driver stays visible to the operator with a stale indicator, but cannot enter the automatic offer pool. Driver B reports a current fix, is on duty, and has a suitable vehicle. Dispatch sends B one offer for R-21 with a 20-second expiry. Present the rider’s request as searching while the offer is active. Assignment becomes visible to the rider after dispatch has verified and saved B’s acceptance, along with the information the rider needs to identify the correct vehicle.
Make the server record the winner
The service needs a rule for two acceptance requests that refer to the same offer. A driver can tap twice or retry after a lost response, so record a unique acceptance identity and enforce one active assignment for the ride. If the first request succeeded but its response timed out, the second should return the already-recorded outcome or a request to retrieve the ride. The app should display a pending message while it verifies what happened. When a driver’s action arrives after expiry, compare against the server’s own stored state and times. A phone’s clock is helpful for presentation and diagnostics, while offer eligibility must use the agreed record.
When the only active offer expires, the fleet can try another eligible driver, hand the ride to a dispatcher or report that it cannot assign a driver. Establish the total amount of time the rider waits and how the rider exits the request if circumstances change. Suppose B’s first acceptance arrives after expiry and dispatch has already routed the request to C. Record B’s response as expired, keep C’s offer or assignment intact, and display the same ride outcome in each operator view. Keep the earlier offer for investigation, with a separate event for the next attempt and the business reason.
A second rider can request a pickup at the same time. Protect the capacity promised by an active offer or accepted ride according to operating policy. R-22 might need to search a different eligible pool while B considers R-21. An implementation should define when a driver becomes offerable again, including after an expired offer, before pickup cancellation, handover, or completion. If the service needs high throughput, measure the tradeoff between holding availability briefly and making excessive simultaneous promises. Base this decision on peak arrival patterns the fleet can reproduce in a test, with representative vehicle types and pickup destinations.

Follow R-21 through pickup and completion
The example below assumes the rider cancels only before boarding, payment is handled separately from ride completion, and only one assignment can be active. It uses the fictional server time and events a test can assert. A real fleet can use a different event vocabulary but should decide which transitions are permitted, who starts each one, and which evidence supports it. Include the actor’s role and source in the history. If dispatch overrides an ordinary restriction in a supported scenario, preserve the specific reason and any verification performed instead of rewriting the earlier status.
| Recorded event | Condition and evidence | Visible result |
|---|---|---|
| Request saved at 08:12:00 | Pickup East Entrance, accessibility requirement confirmed by rider, request ID R-21 | Rider sees searching and the named entrance |
| Offer B-21 issued at 08:12:03 | A is stale, B passes vehicle and shift rules, expiry 08:12:23 | Driver B sees expiring offer, rider still sees searching |
| Acceptance saved at 08:12:15 | Active offer matches current driver, vehicle and ride version | Rider and B see an assigned ride |
| Arrival marked at 08:19:08 | B selects arrived and verifies the correct entrance | Pickup instructions stay available to the rider |
| Ride complete at 08:37:44 | B closes ride after drop-off, calculated trip record available | Trip marked complete, payment is independently recorded |
Handle a reassignment before pickup
If B reports a vehicle problem after accepting but before pickup, dispatch can reopen the ride according to a defined flow. Close the old assignment with the reason and time, stop its reminders, and start a fresh offer for an eligible vehicle. The rider should see that dispatch is finding a replacement until the next assignment is confirmed. Keep the previous and next driver records available to staff while giving the rider only information needed for the next attempt. In a test, send a delayed arrive event from B after C takes over. It must fail to move the current ride, and staff can see why.
Give the driver a simple status flow that can be operated when safely stopped, with brief labels and a clear action to report a problem. The app may show an estimated arrival time obtained from a routing service. Label it as an estimate and keep the time it was calculated. When data becomes stale, omit the countdown or replace it with a useful status. For instance, if the taxi has accepted the ride but no recent location is available, the rider may need to see the confirmed vehicle and dispatch contact instead of a vehicle icon moving on a guessed route.
Plan the arrival action for a busy venue. Eastbank’s rider could choose East Entrance, then report waiting at West Entrance. If the new entrance falls in a different approved pickup area, let the driver or operator confirm what can be serviced. Keep an audit trail showing the prior entrance, current instructions, who changed them and when the change was acknowledged. When arrival is marked from the wrong side of the building, staff can use an authorized channel to clarify. A location fix alone cannot prove who was waiting, which side was accessible, or whether the rider agreed to move.
Complete the trip and obtain payment evidence separately
The ride record describes the transport service. Payment describes how the agreed amount was collected or adjusted. A card authorization can precede the pickup, while a capture can happen after drop-off. A cash payment might be recorded against a driver remittance rather than a card processor transaction. Define which amount the rider agreed to, what evidence authorizes any change, and what artifact confirms payment for each method. The receipt should reflect the payer, payee, ride details and currently recorded payment result without relying on driver or customer access to an internal settlement dashboard.
If a payment status is delayed, a driver can mark the trip complete while the system investigates or retries the financial operation under the provider’s rules. Consider R-21 complete after drop-off while a card transaction waits for a provider response. The passenger app can display the trip in history and offer a payment status rather than issuing a duplicate charge from an interrupted tap. If staff later correct the record, retain the original payment entry and the authorized adjustment separately. Operations and finance can then compare the same ride and the different facts each role needs to explain.
Design for missing permission or network service
Preserve passenger service when location fails
A location permission can change mid-ride. Tell the driver when the app cannot provide a recent fix, and keep essential actions available according to the operating policy. A dispatcher may continue supporting the existing ride from confirmed pickup and next contact. Decide if the driver becomes unavailable for new automatic offers when live updates stop. When network access returns, re-establish freshness before ranking the driver for a new job. Test changes while a trip is active, after the driver signs out and during an OS transition, and verify the app does not continue tracking the device outside the allowed duty period.
Offer manual dispatch in acceptance testing. In this case the operator identifies an on-duty driver through the fleet’s authorized contact path, confirms equipment and present availability, and records the decision with time and case history. Define whether the driver acknowledges in the app or via a dispatch-controlled confirmation before assignment is shown to the rider. Avoid fabricating a location point to make the ride appear as if the automatic algorithm assigned it. An explicit exception record lets the fleet measure how often automatic assignment cannot proceed and which fallback worked on the day.
The driver’s device can store the currently assigned pickup instructions and trip reference for a bounded time when a tunnel or terminal loses coverage. Queue limited changes with their originating trip version and an explicit pending status, then reconcile once connectivity returns. If another operator already updated the ride, compare the queued event with the current version and require attention where it can no longer apply. The driver should see that a late event was rejected or needs action. A retry can be appropriate for sending an already recorded action, subject to server deduplication and the operator’s service policy.
Consider the rider who submits R-21 and hears nothing because the phone drops its connection. Build a safe lookup around the original request identity. The rider can reopen the app and retrieve the original request before submitting a new one. If the request never arrived, the app can say so after it confirms the current state or guide the rider to dispatch. If B has been assigned already, show the assignment and current pickup details. Test repeat actions across both devices and on both sides of the timeout to see both versions of the failure: the server never received the action, and the server did receive it but the device missed the response.
Plan the rollout around conditions dispatch can reproduce
Start the pilot within an area the fleet can supervise during real operating hours. Define the review process for stored locations, limited role access, shift closure and resolution history before enrolling drivers. Observe how often a rider edits the pickup, how many offers expire, how much time dispatch spends correcting vehicle capabilities, and which exception types require a phone call. Compare assignment time with whether the fleet actually reaches the pickup. A faster offer response does little for a rider if arrival instructions are routinely confusing or support cannot find the approved vehicle history.
Make each acceptance test carry an expected decision
Before launch, have dispatch replay R-21 with realistic notification delays, a stale A fix and a single B offer. Repeat it with B accepting twice and with B responding after the 20-second expiry. Move B’s device offline for one action and confirm the driver and rider eventually converge on a single assignment. Reassign to C and send an arrival event from B. Run a case where the requested vehicle capability is missing, and verify that the operator speaks with the rider through the agreed channel before changing the selected service. Save a record of expected actions, times and responsible parties.
Test an accepted ride with payment evidence that arrives later. Confirm that the complete trip can be retrieved while finance is resolving the payment and that a second tap does not create an extra charge. Test cash settlement separately if the fleet supports it. Rehearse a controlled rollout rollback in which new app requests pause, existing assignments remain visible, and dispatch keeps serving trips already accepted. Define the owner who can authorize resumption and the evidence they review first. When comparing taxi app development services, ask each team to demonstrate the same pilot exceptions. A pilot is ready to expand when the team can repeatedly reproduce the service promise and explain the result to both sides after routine failures.
Use supervisor review to improve dispatch rules
Bring a small sample of real pilot cases to a weekly supervisor review, with any unnecessary passenger details removed. For a late pickup, check the moment a fresh eligible driver became available, the time the offer reached the device, the acknowledgment, and the accuracy of the pickup instructions. For a missed assignment, identify whether the fleet was fully occupied or a software assumption excluded suitable drivers. Turning those findings into another small test helps the team adjust thresholds and improve driver support without accidentally loosening vehicle requirements or losing auditability.
Make the pickup decision accessible under time pressure
In a pilot, ask a rider using a screen reader to change the pickup point while a driver offer is active. The app should state whether the update can be applied to the current request and return focus to a confirmation that names the chosen location. The driver’s view can then show which instruction changed. Use more than color to display looking for driver, assigned, and arrived. Automated checks can find labels and markup mistakes, while a test using the real device can establish whether a passenger is able to complete the specific sequence in a noisy terminal or on a busy pavement.
Measure support workload as well as rider success. If dispatch commonly opens a separate tool to find canceled requests, capture the information the operator is missing and include it in a limited-access view. A supervisor looking at a single ride may need to identify relevant offers, reported arrival, manual assignment evidence and any open payment case. The view can omit live location details that do not help with the current support decision. Give operators a reference they can read to a colleague and an escalation path for disputes or service issues that require a second owner.
Review how well the pilot serves requests with a particular capacity or boarding requirement. Compare the result of R-21 with an ordinary ride and with a request the fleet cannot currently fulfil. Each case should close with an understandable outcome, so a rider who needs an adapted vehicle can make another plan while the team learns which service boundaries to improve.
