ParcelKit
Docs/The rider app/The rider app

The rider app

source/rider-app is the riders' app for Android and iOS (React Native with Expo). It is published under your name, icon and store accounts.

What a rider does with it

  • Signs in with their phone number and a texted code, then completes the checklist your market asks for: name, the documents (licence, ID, the market's own), a vehicle. You check them in the console (Riders marks a rider not yet verified and opens their documents); only a verified rider is given runs.
  • Today — the hub they work from and the runs the dispatcher gave them: a pickup round or a delivery round, what each carries, and what the doors will ask for (a code, a photo) before the first one.
  • A run — the next door fills the screen: who, where, the cash it owes, directions in the phone's own maps app, a call one tap away. Below, the round in order, each stop coloured by how it went. While a run is on the road the app shares the rider's position (in the background too), and stops sharing when the run ends.
  • The door — a delivery hands parcels over with what your market asks for: the customer's code, a photo, the exact cash, a cashless payment by QR, link or phone prompt (see Payments and providers), who took it, the ID check for parcels that need one. "Delivered" stays shut until it is all there. A pickup scans each label (or types a torn one's number). Either can fail, with a reason the merchant reads.
  • After the run — what to hand in at the hub's cash desk.
  • Money — earnings by day, week and month; the wallet and withdrawals to the bank; the monthly statement; and where the market withholds tax, the rider's own records (India's TDS, the US W-9 and 1099, Brazil's RPA receipts and annual informe).

The app speaks 16 languages and starts in the market's; Arabic is laid out right to left.

Make it yours

  1. Identity — edit rider-app/brand.config.json:

    {
      "name": "SwiftDrop Rider",
      "scheme": "swiftdroprider",
      "iosBundleId": "com.swiftdrop.rider",
      "androidPackage": "com.swiftdrop.rider",
      "brandColor": "#0a7cff"
    }

    The bundle id and package can never be changed after the first store release: choose them once. Replace the images in rider-app/assets/ (icon 1024×1024 PNG, adaptive icon, splash, notification icon), then:

    cd rider-app && npm install && npm run brand:check

    brand:check catches what the stores reject late: wrong icon sizes, a JPEG saved as .png, an id left on ours.

  2. Your API — cp env.example .env.production and set EXPO_PUBLIC_API_URL=https://api.yourcourier.com/api. A production build refuses to start without a public address.

  3. Colours at runtime — the app takes its accent colour from the console (Settings → Branding), so a colour change needs no new build.

Build and publish

See Building & publishing your rider app: EAS or your own machine, the store listings, and the sign-in to give the stores' reviewers. rider-app/ENV.md lists every build variable.

source: docs/rider-app.md (ships identically in the product zip)