The short answer
If your app is forms, lists, accounts, payments and content for as many people as possible, build it once with a cross-platform tool and release it on both iPhone and Android. If it depends on hardware, connected devices or deep features of the phone, build it natively, or at least build that part natively. The deciding question is not which technology is better. It is where the difficult work in your product lives.
At a glance
| One shared codebase | Native | |
|---|---|---|
| Best for | Screens, accounts, payments and content for a wide audience | Hardware, connected devices and deep phone features |
| Both platforms | Released together | Built and released separately |
| Cost | Lower, but rarely half | Higher: most work is done twice |
| Still done per platform | Store submission, payments, notifications, device testing | Everything |
Ask where the hard work lives
Most business apps are a window onto a server. The server holds the data and the rules, and the app shows screens and sends requests. For these, one codebase is the sensible default: the same features reach both platforms at the same time, and one team maintains them.
Things change when the phone has to do something difficult itself: hold a connection to a device, work with a sensor, run reliably in the background, or use a part of the system that each platform exposes differently. Shared-code tools reach those features through a thin bridge to native code. The more of your product sits behind that bridge, the less you are really sharing.
An example: a room assistant
One product we built was a personal room assistant: a device mounted in a room, controlled from a phone app. There were two honest ways to build it.
In the first, the device talks to a server and the app talks to the same server. The phone never touches the device directly, so the app is ordinary screens and requests, and shared code would have done the job well.
In the second, the phone connects to the device itself. That is the route the client chose, because they wanted as little backend as possible to run and pay for. It was a fair choice, and it moved the hard work onto the phone: finding the device, connecting, staying connected and recovering when the connection drops. That work is different on each platform, so we built the app natively and built the connection properly for each one.
Same product, two right answers. The architecture decided the technology, not the other way round.
The server talks to the device
The app is screens and requests.
One shared codebase fits.
The phone talks to the device
The app finds the device, connects and recovers.
Native fits.
What one codebase really saves
Clients often expect shared code to halve the cost. It does reduce it, and the saving is real. It is rarely half.
Building the screens once is where the saving comes from. Everything around the screens is still done twice. Each platform has its own store, review rules and submission process. Payments and subscriptions follow different rules on each. Notifications and permissions behave differently, and even small features meet platform rules, as checking for a companion app shows. And the app must be tested on real iPhones and real Android phones, because a build that works on one tells you little about the other.
Plan for one build and two releases. A quote that prices the second platform at nearly nothing is leaving that work out.
The middle path
The choice is not all or nothing. An app can share its screens and logic and still have one or two parts written natively for each platform, when a single feature needs it. This works well when the native part is small and well defined. It works badly when the native part is the product, because then you carry two native codebases and a shared one.
Questions to settle before you choose
Does the phone talk to any device or hardware directly, or does a server do that?
This is the deciding question. If a server does it, shared code fits. If the phone does it, plan for native work.
Does the app need to keep working in the background or without a connection?
Both lean toward native, because each platform has its own rules for background work.
Which matters more for the first release: both platforms at once, or depth on one?
Reach favors one shared codebase. Depth on a single platform favors native.
Who will maintain it after launch, and what do they already know?
Choose something your future team can hire for and maintain. The best technology on paper is a cost if nobody on your side can change it.
Does the quote include store submission, payments and device testing for both platforms?
It should name each one. They are done per platform whichever route you choose.