A UK rail ticketing provider launched NFC tickets a month inside its public-sector deadline
The client's Android app, two years old and built by 10 developers before us, had to become a ticket store and a valid ticket within 7 months. We brought its mixed architecture to one approach, added a purchase flow with NFC smart cards, and released it in 6.

A UK rail ticketing provider with a journey planner app
The client runs a service that lets rail passengers in the UK buy tickets online and travel on them from their phones, next to train schedules, routes and journey updates. The app was part of a UK government rail project and sells tickets for several train operators.
The app already had around 500,000 active users when the client decided to sell tickets in it and make the phone the ticket.
Need to add payments, tickets or NFC to an app that is already live? The same work applies: build the new flow on its own, plug it in where users already are, and keep the core untouched.
Turn a journey planner into a ticket store and a ticket, in 7 months
Passengers planned trips in the app but bought tickets somewhere else. The client had a public-sector obligation to change that within 7 months: sell tickets in the app, let passengers travel on a phone or an NFC card, and add no technical debt to an app that two years of work by 10 developers had already made hard to change. Switching to an off-the-shelf ticketing app wasn't an option: 500,000 passengers already used this one, and the obligation was to sell tickets in it.
One app to plan, buy and travel
The client wanted new passengers through online purchase and mobile tickets, with tickets from several train operators in one place. Until then, passengers had to buy at the station or through another service.
Legacy code and closed SDKs
The code mixed several architecture approaches. NFC cards and the backend each ran through a third-party SDK: both closed, with custom data formats and non-standard handling. Card upload had to work on older Android devices too.
A fixed date, a live app, a mixed team
Buying had to work from saved routes, trip history, the schedule and the journey planner, about 20 screens in all. New logic needed unit tests, and the old unit tests had to keep passing. The Android developers had different levels of experience, and the deadline could not move.
Cost of waiting: missing the deadline put the client's public-sector contract at risk, and passengers would have kept queuing at stations for tickets.
The date came from the authority, not from us. We needed a team that would solve the NFC problem, not send it back to us.Head of Digital, the client
One architecture first, then the purchase flow and NFC
One architecture
MVVM and Data Binding as the base, with base classes that also work with the old code.
Purchase and QR tickets
Buying from routes, history, the schedule and the planner. QR tickets stored in the app.
NFC card upload
Up to 5 tickets written to the card, with our fix for the SDK.
Release
Testing on older devices, then release a month before the deadline.
A ticket store and a ticket in the app passengers already had
Passengers buy where they plan the trip and travel on a QR code or an NFC card. Each part below closes one of the three challenges.

Buy a ticket from anywhere in the app
Passengers buy tickets where they already are: saved routes and favourite places, trip history, the train schedule, or while planning a new journey. After payment the app creates a QR code, and the passenger shows it to the conductor. There is no limit on how many QR tickets the app can store, and tickets from several train operators sit in one place.
- Purchase from routes, history, schedule and planner
- Unlimited QR tickets stored in the app
- Tickets from several operators in one app

NFC card upload that works on older phones
A passenger who buys tickets for future trips can send up to 5 of them to a physical NFC card by holding the phone to it. At the station they tap the card on the reader. No internet, no charged phone. The SDK behind the cards is closed and handles data in its own way. We found the failures through trial, error and debugging, worked through them with the vendor's support team, and wrote our own fix that made upload stable, even on older devices.
- Up to 5 tickets on one card
- Travel without internet or a charged phone
- Stable upload on older Android devices
One architecture without a rewrite, and a purchase flow beside it
A full refactor of two years of code would not fit the deadline. We made MVVM with Android Data Binding the base, with ViewModels injected through Dagger2, and wrote base classes that work with the older approaches too, even Data Binding and Butterknife on the same screen. Old screens kept working with small changes, and the old unit tests kept passing. The purchase flow was built as one module of about 20 screens, with the NFC logic inside, covered with unit tests and connected to each place a passenger can start buying. Our developer also led the Android team: split the tasks and handled communication with product management. The release came in 6 months against a 7-month deadline.
- One base architecture, no big refactor
- Old unit tests passing, new logic covered
- A month to spare before the deadline
What changed for passengers and for the client
| Area | Before | After |
|---|---|---|
| Buying a ticket | Outside the app | From routes, history, schedule and planner |
| Ticket on the journey | Paper ticket or station machine | QR code in the app or an NFC card |
| Travel without a phone | Not possible with a mobile ticket | Up to 5 tickets on an NFC card |
| Train operators | Tickets bought per operator | Several operators in one app |
| Architecture | Several approaches mixed | One MVVM base, old code still working |
| Unit tests | Old tests only | Old tests passing, new flow covered |
| NFC upload | Unstable with the vendor's SDK | Stable, including older devices |
| Delivery | 7-month deadline | Released in 6 months |
Passengers stopped asking where to buy a ticket. They buy it on the same screen where they plan the trip.Head of Digital, the client
Adding tickets or NFC to a live app? Tell us your deadline, and we'll tell you what fits in it.
Features in daily use
Ticket purchase anywhere
From saved routes, history, the schedule or the journey planner.
QR tickets
Unlimited tickets stored in the app, shown to the conductor.
NFC card upload
Up to 5 tickets on a physical card, tapped at the station reader.
Several operators
Tickets from other train companies in the same app.
Journey planning
Schedules, routes and journey updates next to the tickets.
Purchase module
About 20 screens in one module, separate from the app's core.
What it runs on
We came to ByteCrab with a fixed date and an NFC SDK nobody could explain. They shipped a month early and never sent a problem back to us. When something broke, they came back with the fix.

A print and fulfilment group raised warehouse productivity by 30% without replacing its old system

A Japanese carrier cut delivery wait times by 34% and sold its driver app to other carriers

A secure patient transport operator replaced a subscription platform it had outgrown
years solving real-world tech challenges
products shipped and scaling
countries where our clients run and grow their products
Project inquiries
hello@bytecrab.comPhone number
+38 095 537 6119