Open source rideshare app
Find a file
Philip Peterson da9172e594 Add driver app with driving mode, and mock location in the simulator
Build a separate driver app from the same codebase: APP_VARIANT=driver
(app.config.ts) sets its name, bundle ID and scheme, eas.json gets
driver build profiles, and Stack.Protected keeps each app to its own
screens. metro.config.js keys Metro's cache by variant so switching
apps never serves the other's baked-in config.

Drivers get ride requests only in driving mode. While driving they see
a waiting animation or, on a ride, turn-by-turn directions; requests
slide up over either without disturbing it. Accepting mid-ride queues
the ride (one in progress plus one queued). Going offline or online
mid-round leaves or joins it.

Simulated phones no longer touch the location API: each sits at a
mocked position from its URL (default downtown San Francisco). Phone
specs in sim.html move to named key=value options.

Scenarios cover driving mode, interruptions, the ride queue and
mocked location, each with a slow version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 08:14:23 -08:00
.claude Initial commit 2026-09-28 00:56:27 -08:00
assets Add ride app, auction dispatch, and multi-phone Cypress simulator 2026-09-30 01:56:54 -08:00
cypress Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
docs Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
public Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
server Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
src Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
.gitignore Add ride app, auction dispatch, and multi-phone Cypress simulator 2026-09-30 01:56:54 -08:00
AGENTS.md Initial commit 2026-09-28 00:56:27 -08:00
app.config.ts Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
app.json Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
CLAUDE.md Initial commit 2026-09-28 00:56:27 -08:00
cypress.config.ts Split auction scenarios into one Cypress spec each 2026-09-30 06:39:14 -08:00
eas.json Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
eslint.config.js Add ride app, auction dispatch, and multi-phone Cypress simulator 2026-09-30 01:56:54 -08:00
LICENSE Initial commit 2026-09-28 00:56:27 -08:00
metro.config.js Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
package-lock.json Add ride app, auction dispatch, and multi-phone Cypress simulator 2026-09-30 01:56:54 -08:00
package.json Add driver app with driving mode, and mock location in the simulator 2026-09-30 08:14:23 -08:00
tsconfig.json Add ride app, auction dispatch, and multi-phone Cypress simulator 2026-09-30 01:56:54 -08:00