Repository navigation
Releases
v0.1.8
v0.1.8 ~ "iPhone only"
Highlights
- The iOS app is iPhone only, like Storefront. It was built for iPhone and iPad, so App Store Connect asked for iPad icons and would have asked for iPad screenshots too. It refused AppHelm's first Passenger upload for the missing 167×167 iPad Pro icon. On an iPad, riders can still install it and run it as an iPhone app.
Changes
TARGETED_DEVICE_FAMILYis1(iPhone) in both build configurations.Info.plistno longer lists iPad orientations.
Upgrading
Nothing to do. An operator who wants an iPad app can set the device family back in Xcode, and needs iPad icons and screenshots of their own.
What's Changed
Full Changelog: v0.1.7...v0.1.8
v0.1.7
v0.1.7 ~ "Hosted previews"
Highlights
- Hosted previews. A web build made with
PASSENGER_PREVIEW_ORIGINcan run inside another site, such as AppHelm. The host page gives it the operator's brand and the area to show, throughwindow.__PASSENGER_PREVIEW__. AppHelm uses this to show operators their app and to take their store screenshots.
Changes
- The host's brand: a hosted preview's
branding,logoandlogoDarkreplace the build's brand file and logos. - Sample data anywhere: the sample places sit around
sample.center, so the map shows the operator's city, and sample fares are shown insample.currency, scaled roughly for currencies like JPY or IDR. Without them, sample data is as before. - No banner in a hosted preview: it always runs on sample data, and the host labels it.
Upgrading
Nothing to do. Native builds, and web builds without PASSENGER_PREVIEW_ORIGIN, behave as before.
What's Changed
Full Changelog: v0.1.6...v0.1.7
v0.1.6
v0.1.6 ~ "Android, fixed"
Highlights
- The Android app works again. v0.1.5 crashed on launch on Android. This release fixes that crash and three more Android problems found while capturing screenshots.
Fixes (Android)
- Crash on launch: the notifications package is now built without the old
ReactNativeHost, which React Native 0.86 no longer has. - Buttons hidden by the keyboard: on Android 15 and later the window no longer shrinks for the keyboard. The sign-in, account, saved places and chat screens now move their content up themselves.
- Startup crash without Firebase: a build without a Firebase project no longer asks for a push token. With Firebase, the token reaches the app through React Native's new
ReactHost. - No pickup position: the app asks for the rider's position at high accuracy, so phones without network location still get a pickup.
Changes
- Screenshot flows:
.maestro/screenshots/has Maestro flows for Fleetbase's screenshot pipeline. They cover sign-in, account, booking and a whole trip. - Test IDs: screens have
testIDs for those flows. Nothing visible changes. - README screenshots: the README shows the app on iOS and Android, in dark and light, from the screenshot pipeline, and links to the new Passenger page. It no longer says push notifications don't work, since they have since v0.1.4.
- Patch:
patches/react-native-notifications+5.1.0.patchholds the Firebase andReactHostfixes.patch-packageapplies it on install.
Upgrading
Run yarn install so the new patch is applied, then rebuild Android. iOS needs nothing.
What's Changed
- Screenshot flows for Fleetbase's screenshot pipeline by @roncodes in #9
- Android: ask for the pickup position at high accuracy by @roncodes in #10
- Release v0.1.6 by @roncodes in #11
Full Changelog: v0.1.5...v0.1.6
v0.1.5
v0.1.5 ~ "Your own app icon"
Highlights
yarn generate:app-iconmakes every icon size from one image. Put a square image of at least 1024×1024 atbrand/app-icon.pngand run it: it writes the iOS icon set and Android's square, round and adaptive icons, so a store build ships the operator's icon instead of Passenger's. Fleetbase's build machines run it whenever a build hasbrand/app-icon.png.
Changes
- New
scripts/generate-app-icon.js. It uses ImageMagick (magick, orconvertfrom ImageMagick 6) and adds no dependency.- iOS icons are opaque 24-bit PNGs: transparency is filled with white.
- Android's adaptive icon uses the whole image as its foreground, on the image's top-left colour.
- Tests: a test makes the icons from a non-square image with a transparent corner. It's skipped where ImageMagick isn't installed.
- README: explains
brand/app-icon.pngand the command.
Upgrading
Nothing to change. Without brand/app-icon.png, nothing changes: builds keep Passenger's icon.
What's Changed
Full Changelog: v0.1.4...v0.1.5
v0.1.4
v0.1.4 ~ "Push notifications, checks on release branches, and no setup for the order config"
Highlights
- Push notifications. Riders get a push at each step of a trip and when the driver is close, from the Passenger order config's triggers. After sign-in the app asks for permission and registers its push token with Fleet-Ops, with the build's push app key (
FLEETBASE_PUSH_APP) so pushes go out with the operator's own Apple and Firebase keys. Tapping a push brings the trip back up. Needs Fleet-Ops v0.7.2 and core-api v2.0.3. - CI runs on pull requests into release branches. Lint, typecheck, tests, the web build and the Android and iOS builds now run for pull requests into
release/v*anddev-v*branches, not onlymain, as in Navigator. - The Passenger order config needs no setup from Fleet-Ops v0.7.2. Every organization has it, so the server setup no longer asks you to run
fleetops:create-order-config passenger. On Fleet-Ops v0.7.0 or v0.7.1 you still run it.
Changes
- Adds
react-native-notifications5.1.0, patched to drop adexOptionsblock Android Gradle Plugin 8 rejects. - iOS: AppDelegate passes push events on, plus a bridging header, the
aps-environmententitlement and the remote-notification background mode. - Android:
POST_NOTIFICATIONS, and the Google Services plugin whenandroid/app/google-services.jsonis there. Without it the app doesn't register for pushes on Android. - New setting
FLEETBASE_PUSH_APP. .github/workflows/ci.ymlruns on pull requests intomain,release/v*anddev-v*.- README and
.env.exampledescribe the Passenger config that Fleet-Ops creates. - A code comment no longer points at a planning document outside the repository.
Upgrading
Nothing to change.
What's Changed
Full Changelog: v0.1.3...v0.1.4
v0.1.3
v0.1.3 ~ "Ready for store builds on Android"
Highlights
- Android store builds set their own identity and key. A release build reads its application ID, version and upload key from the build's settings, so a build machine such as AppHelm's can publish an operator's app under their own name without editing the project. Without an upload key, a local release build is still signed with the debug key.
Changes
android/app/build.gradlereadsAPP_IDENTIFIER,ANDROID_VERSION_CODE,ANDROID_VERSION_NAME,GOOGLE_MAPS_API_KEYandANDROID_UPLOAD_STORE_FILE,ANDROID_UPLOAD_STORE_PASSWORD,ANDROID_UPLOAD_KEY_ALIAS,ANDROID_UPLOAD_KEY_PASSWORD: from the environment first, then.env, thenandroid/local.properties.GOOGLE_MAPS_API_KEYcan now also go in.env.
Upgrading
Nothing to change. GOOGLE_MAPS_API_KEY in android/local.properties still works.
Need help?
What's Changed
Full Changelog: v0.1.2...v0.1.3
v0.1.2
v0.1.2 ~ "Built on Fleet-Ops' generic order configs"
Highlights
- No ride-only server code. Fleet-Ops no longer has ride-specific endpoints or fields. The app now books an order config made from Fleet-Ops'
passengertemplate. That config's flow, policies and triggers decide how trips are offered, priced, paid and announced. - Prices from Fleet-Ops' own pricing. The total comes from the order's purchase rate, and the breakdown comes from the service quote it was bought at, including when the price is worked out again from the actual trip. A trip shows as paid when its transaction is settled.
- Support number from the organization. The operator's phone number now comes from their Fleetbase organization. The emergency number and a support email still come from the brand config.
Changes
- New setting
FLEETBASE_ORDER_CONFIG, which defaults topassenger: the order config the app books, and the only one it lists in trip history. - The README's server setup uses
php artisan fleetops:create-order-config passenger --company={company}in place offleetops:create-ride-config.
Upgrading
The server needs Fleet-Ops v0.7.0 with order config policies (fleetbase/fleetops#426). Ledger v0.1.0 is needed for card payments.
Need help?
What's Changed
Full Changelog: v0.1.1...v0.1.2
v0.1.1
v0.1.1 ~ "Passenger's own icon and logo"
Highlights
Passenger now has its own app icon and logo, in Fleetbase's colours: a taxi roof light with signal arcs on Fleetbase blue. It replaces React Native's stock Android icon and the empty iOS icon, and the web build gets a favicon.
Changes
- App icon on iOS (every size, including the App Store's 1024 px), on Android (square, round and adaptive), and on the web as the favicon.
- Logo for light and dark backgrounds, now at the top of the README.
- Source files in
assets/brand/, so the icons can be rendered again from one SVG.
Operators' builds still set their own icon when they're published.
Need help?
What's Changed
Full Changelog: v0.1.0...v0.1.1
v0.1.0
v0.1.0 ~ "First release: a full ride on Fleet-Ops, from sign-in to payment"
Highlights
The first release of Passenger, an open-source rider app that taxi and private-hire operators rebrand and publish as their own. It runs on iOS, Android and the web, and the whole ride runs on Fleet-Ops.
This is an early development release. It has been proven on the web build against a local Fleetbase, not yet on a phone. Don't use it for real rides.
What's in it
- Sign-in with a phone number and a texted code.
- Booking by search, saved places or the map, with a fare estimate, seats and pickup time for each car class, and cash or card.
- Finding a driver through Fleet-Ops adhoc dispatch, offered to nearby drivers of the right vehicle type one at a time. The rider sees when no driver is found.
- The trip: the live car and ETA, the driver and plate, chat with the driver, a trip link to share and a safety screen.
- After the trip: the final fare from the actual distance and time, cash or card through Ledger's hosted checkout, and a driver rating.
- Account: trip history and receipts, saved places, appearance, help and account deletion.
- White-label branding and screen overrides kept in
brand/, so upgrades never conflict. - Sample data to try the whole journey with no server.
Needs
- Fleet-Ops with the rider routes and adhoc dispatch strategies from fleetbase/fleetops#424.
- Ledger with a payment gateway for card payments.
- A ride order config:
php artisan fleetops:create-ride-config {company}.
Known gaps
- No push notifications yet.
- The API key is built into the app and can't yet be limited to rider routes, so don't publish a build to the public.
Need help?
What's Changed
- Connect Passenger to Fleet-Ops, from sign-in to payment by @roncodes in #1
- Release v0.1.0 by @roncodes in #2
New Contributors
Full Changelog: https://github.com/fleetbase/passenger-app/commits/v0.1.0