Native Mobile
Native or cross-platform? Questions to answer before choosing
Native and cross-platform mobile development are both valid. A practical framework to decide, based on platform integration, team, lifetime and the cost of the abstraction layer.
By Kevin Vavelin, Founder, CodeticsPublished 7 min read
- Swift
- SwiftUI
- Kotlin
- Jetpack Compose
- Architecture
"Should we build native or cross-platform?" is often asked as if one answer were right for every product. It is not. Frameworks such as Flutter, React Native or Kotlin Multiplatform power successful applications, and native development with Swift and Kotlin powers others. The useful question is narrower: what does this particular product need from the platform, and what will it cost to get it through an abstraction layer for the next five years?
Here are the questions we work through with clients before recommending an approach.
1. How much of the product lives in the operating system?
Some applications are mostly screens that display data from an API. Others depend on the operating system for their core value: widgets and Live Activities, background location, Bluetooth accessories, NFC, CarPlay or Android Auto, wallet passes, health data, camera pipelines.
Every one of these features is designed and documented first for the platform's own languages. A cross-platform framework reaches them through plugins or bridges. When the plugin exists and is maintained, that works well. When it does not, your team writes and maintains native code anyway, plus the bridge between both worlds.
In EV Supervision Lite, the driver applications use CarPlay on iOS, Android Auto, NFC card reading and Google Wallet passes on Android. Those integrations were central to the product, which made native development the straightforward choice.
2. What should the application feel like?
iOS and Android users have different expectations: navigation patterns, typography, gestures, system sheets, haptics and accessibility settings. SwiftUI and Jetpack Compose give you the platform's components and behaviours by default, including the ones introduced in the next OS release.
Cross-platform frameworks either render their own widgets or map to native ones. Both approaches can produce good results, but matching each platform closely requires deliberate work, and that work has to be repeated when the platforms evolve.
3. Who will maintain the code?
Technology choices are also staffing choices. A team of web developers fluent in TypeScript may be more productive with React Native at first. A team that already has iOS and Android engineers will usually move faster natively. Consider who will be on the team in two years, not only who is available today.
4. How long will the product live?
A prototype meant to validate demand in three months has different constraints from a product expected to run for years. Long-lived applications go through many OS releases, framework upgrades and store policy changes. Each additional layer between your code and the OS is something that must be upgraded in step.
5. Where should shared logic live?
The main argument for cross-platform development is sharing code. It is worth asking which code. Interfaces benefit least from sharing, because they are where platforms differ most. Business rules, validation and data synchronization benefit most.
There are several ways to share that logic without sharing the interface:
- Move rules to the backend and expose them through a well-designed API, so both applications stay thin clients. This is our default for most products.
- Share a core module with Kotlin Multiplatform while keeping SwiftUI and Compose interfaces.
- Generate API clients for both platforms from one OpenAPI contract.
A summary
| Situation | Leaning |
|---|---|
| Content-driven app, few platform APIs, short timeline | Cross-platform or responsive web |
| Deep OS integration: widgets, CarPlay, Android Auto, NFC, Bluetooth | Native |
| Experience is the product, and must match each platform | Native |
| Team already fluent in one cross-platform framework, simple app | Cross-platform |
| Shared business rules, distinct interfaces | Native UI with a shared backend or a shared core |
Whatever you choose, write down why. The reasons that led to a decision are what lets you revisit it calmly when the product changes.
If you are weighing this decision for your own product, we can help you work through it. See our native mobile engineering or technical consulting pages.