PetroStock: modernise an application without stopping operations
We modernised PetroStock's mobile application without interrupting the service or throwing away what was already working.
PetroStock had a mobile application that needed to evolve. Continuing to develop on the same foundation was becoming increasingly difficult, but replacing it all at once could affect a service that was already part of its daily operations.
We analysed the existing application, its dependencies, and the processes that could not fail during the change. From there, we carried out a progressive transition to a new application for iOS and Android, modernising the technology and experience without breaking the service.
Modernise an application without stopping operations
PetroStock had a mobile application that had been part of its service for some time.
The application worked, but its technical foundation had fallen behind. Every change required more effort than it should, maintaining the iOS and Android versions made the work harder, and continuing to add features would only make the problem bigger.
On paper, the solution seemed obvious: develop a new application.
In practice, it was not that simple.
The existing application was still being used and formed part of the daily operations. We could not switch it off for a few months, build another one at our own pace, and hope everything fitted together on launch day.
We had to change the foundation without breaking the service along the way.
The challenge: replacing something that was still being used
Modernising a working product is very different from creating a new one.
When you start from scratch, you can make decisions without worrying too much about what came before. In an application that is already being used, every change can affect users, processes, integrations, or data that continues to move every day.
Also, an application being old does not mean that everything is wrong.
Some parts of the product did their job, users already knew certain journeys, and operations depended on behaviours that were already familiar. Throwing everything away would have been as unwise as endlessly patching the old application.
Our work was to understand that difference.
What needed to change. What was worth keeping. What could be improved during the transition. And, above all, what could not stop working while we did everything else.
Before developing, understand the dependencies
We did not start by designing new screens or choosing a technology.
First, we analysed the existing application.
We needed to understand how it worked, which systems it communicated with, which processes it supported, and which parts could cause problems during the change. We also reviewed which limitations came from the technical foundation itself and which belonged to how the product worked.
This part of the work does not look very impressive in a presentation. There is no new interface to show and no spectacular list of features.
But it is what prevents expensive surprises.
An application rarely exists in isolation. It may depend on external services, internal systems, business rules accumulated over years, or behaviours nobody documented because everyone assumed they would remain there.
If you do not understand those dependencies before replacing it, you end up discovering them when something stops working.
A progressive transition, not a leap into the unknown
Once we had analysed the product, we planned the modernisation in phases.
The old application had to keep providing the service while we developed and validated the new one. This allowed us to move forward with control, check the important journeys, and avoid making the entire transition depend on a single launch day.
We developed the new application with React Native, sharing one codebase for iOS and Android.
The decision was not made because React Native was fashionable or because it let us add another technology to the case study. It responded to a specific need: reducing duplicated work between platforms and making it easier to add future improvements without solving the same problem twice.
A shared foundation does not make both platforms identical or remove all their particularities. We still needed to test the application on each system and take care of how it behaved on different devices.
What it did allow was a more coherent structure and a product that could be maintained without carrying two completely separate developments.
Preserving what worked was also part of the project
A modernisation can easily fall into the temptation of changing everything.
Once the technology is replaced, every journey gets redesigned. Once the journeys are reviewed, the rules change. And once the rules change, new features are added.
The result can be a technically new application that is much harder to adopt.
With PetroStock, we did not want users to have to relearn the product without a clear reason. We reviewed the experience and reorganised what could be simplified, but kept the focus on service continuity.
It was not about copying the old application screen by screen.
Nor was it about using the modernisation as an excuse to turn it into a different product.
The goal was to bring what still made sense to a more current foundation, fix known friction points, and leave a cleaner path for what came next.
Change the technology without carrying over the disorder
Rewriting an application does not guarantee that it will be easier to maintain.
If the same dependencies, unclear decisions, and shortcuts are transferred to a new technology, the only thing that changes is the date of the problem.
That is why the modernisation also helped organise the product’s structure.
We reviewed how the application was organised, simplified the technical foundation, and better prepared the points where it needed to connect with other systems. The intention was that a new integration or feature would not require reopening the same technical debate from the beginning.
This work does not eliminate maintenance. No technology change does.
What it does is help the team understand the product better, locate changes, and evolve it with less friction.
The launch could not be a gamble
The most delicate moment in a modernisation is not always development.
It is the change from one application to the other.
A new version can work perfectly in a test environment and encounter different situations when it reaches users. That is why we did not treat the transition like a switch: old application off, new application on, and fingers crossed.
The roadmap made it possible to review the important elements progressively, validate the behaviour of the new application, and reduce uncertainty before completing the change.
The goal was not to avoid every imaginable incident. That would be an unserious promise.
The goal was to understand the risks, control the transition, and avoid discovering in production something we could have detected earlier.
The result: a new application without breaking the service
PetroStock was able to modernise its application while keeping its operations running.
The new application works on iOS and Android from a shared foundation. The product now has a clearer technical structure, a renewed experience, and better conditions for adding new features and integrations.
The project made it possible to:
- Complete the modernisation without stopping the service.
- Replace a technical foundation that made the product difficult to evolve.
- Provide a new application for iOS and Android.
- Reduce duplication between both platforms.
- Simplify future maintenance.
- Prepare the product to connect with other systems.
- Preserve the journeys and behaviours that remained useful.
We did not modernise the application so we could say it used more recent technology.
We modernised it because PetroStock needed to keep evolving without every change becoming a problem.
What another company can learn from this case
An old application does not automatically become a bad application.
It may still solve a need, have active users, and support important processes. Maintenance becomes a concern when it costs more and more, changes become unpredictable, or the technology starts limiting business decisions.
At that point, “build it again” can seem like the obvious answer.
But serious modernisation starts well before writing new code.
1. Do not replace what you still do not understand
Before rebuilding an application, you need to know what it really does.
Going through its screens is not enough. You need to identify connected systems, business rules, data flows, permissions, expected behaviours, and exceptions that have been handled over time.
Some of that information will be documented. Some of it will be in the heads of the people who use or maintain the product.
If you do not do this work, it is easy to develop an apparently complete application that is missing precisely the things nobody remembered to include in the requirements.
2. Distinguish what is old from what is unnecessary
An interface being years old does not mean that all its journeys need to change.
Some parts may look dated and still work well for the people who use them every day. Changing them only to make the new application look newer can create confusion without delivering a real improvement.
Modernisation should review the experience, but not assume that everything before it was wrong.
Keep what works, simplify what creates friction, and change what limits the product.
3. Decide what cannot fail during the transition
Not all processes are equally important.
Before planning the change, identify which operations must keep working, which data must be preserved, which integrations are critical, and how much room there is to fix an incident.
This classification helps decide where to test more, what to migrate first, and which parts need a rollback plan.
Without it, effort is usually distributed evenly and important risks end up mixed with secondary details.
4. Do not make everything depend on launch day
The larger the product, the less reasonable it is to entrust the entire modernisation to a single change.
A progressive transition allows you to validate parts of the system, discover dependencies, and fix problems before they affect the whole service.
It will not always be possible to keep two applications running side by side for a long time. But even when the final change has a specific date, the work beforehand can be divided into phases and checked in a controlled way.
Launch should be the culmination of several validations, not the moment when you find out whether the approach was right.
5. Do not choose technology only to erase the old one
Changing technology has a cost.
The team has to learn it, maintain it, update it, and deal with its limitations. That is why it is not enough for an alternative to be newer.
It needs to fit the product, the required platforms, the integrations, the team’s capacity, and the expected evolution.
At PetroStock, sharing a foundation between iOS and Android helped reduce duplication and made maintenance easier. In another project, the right decision could be different.
The question is not which technology is the most modern.
The question is which one reduces problems without introducing more expensive ones.
6. Do not copy technical debt into new code
Rewriting can create a false sense of cleanliness.
If you do not review the responsibilities, dependencies, and decisions that made the product difficult to maintain, the new application will inherit many of the same problems. It will have newer code, but it will get stuck again as soon as it starts to grow.
Modernisation also means putting things in order.
You do not need to design a perfect architecture or prepare the product for every possible future. But it is worth making clear how it is organised, where systems connect, and how the next changes will be introduced.
7. Measure success by continuity, not by the launch
A new application looks great in a presentation.
But the result of a modernisation should not be measured only by publishing a new version. It also matters whether the service kept running, whether users were able to adapt, whether the team can maintain it, and whether developing the next feature becomes easier.
Launch lasts one day.
The ability to keep evolving is what justifies the project.
PetroStock did not need to erase its old application as if it had never existed.
It needed to move on from a foundation that had fallen behind without losing the service it already had.
The modernisation worked not only because we finished a new application, but because operations could continue while we replaced it.
Results
04 señalesModernisation completed without interrupting operations
A new application available for iOS and Android
A clearer, easier-to-maintain technical foundation
A product ready for new integrations and features
Does your application need to change without stopping the service?
Before starting from scratch, it is worth understanding what still works, which systems it depends on, and what cannot fail during the transition. We modernise working products in phases, reducing risk without losing sight of real operations.
Let's talk about your application