How we build native iOS and Android apps with AI
“What if instead of using a multi-platform app technology, we make the developers multiplatform?”
Martin Johannesson
Principal Engineer, Framna Sweden
That’s how we work. Instead of relying on a cross-platform framework to cover iOS and Android, our developers work across both platforms, and AI makes that practical. We write a specification for a feature once, and AI coding agents build it natively in Swift for iOS and in Kotlin for Android at the same time, adapting the solution to each platform as the code is generated.
The result is two fully native apps, built side by side by the same team.
One feature, two native apps
Mobile teams have traditionally been organized by platform, with iOS developers building one app and Android developers building the other. We organize the work around features instead. The same developer, or the same small group, builds a feature on both platforms at the same time.
That makes coordination much simpler. Features reach iOS and Android together, and the two apps stay consistent because the same people shaped both versions. To make sure they really do behave the same, we use parity tests, automated tests that check both implementations against the same expected behavior.
It also changes how the work looks from the business side. There are no separate iOS and Android tracks to plan around. The app is just the app, and how it reaches each platform is a technical detail. Each app is still fully native. The iOS version is written in Swift with Apple’s tools, and the Android version in Kotlin with Google’s.
Why AI needs structure
You can ask an AI agent to port an app from one platform to another, and it will get you part of the way. The results are hard to predict, though, and the agent spends a lot of effort solving problems that have been solved many times before. The two apps also tend to end up structured differently, which makes them harder to maintain.
We give the agents a foundation to build on: ready-made building blocks and shared conventions that work the same way on both platforms. The blocks have already been reviewed and tested, so the agent can put its effort into the feature itself. Because the code follows the same structure on iOS and Android, an iOS developer can open the Android project and quickly find their way around, and vice versa.
“Writing the code is not what takes time. It’s designing the structure of the implementation.”
Martin Johannesson
Principal Engineer, Framna Sweden
The foundation is organized in four layers: a shared base that most apps need, reusable blocks that can carry over between projects, the code that makes each product unique, and the parts that are specific to each platform. Each project chooses how much of it to use, and the same approach works in React Native projects and with any agentic AI coding tool.
We’ve also built a set of tools that handle parts of the work without AI at all. One of them turns the description of a backend API into ready-to-use networking code for both platforms in a single step. The result is predictable and doesn’t use any AI.
That structure is also what makes the effort add up. Even cross-platform apps have always needed some native code on the side, for things like notifications and widgets. With AI and this way of working, building two native apps now takes about as much time and budget as a cross-platform app has. We’ve written more about what AI changes in app development here.
What changes for your product
For anyone responsible for a digital product, this way of working changes how iOS and Android fit into the plan. New features can reach both platforms at the same time, built by people who know both versions. Each app is written the way Apple and Google intend, so it feels at home on the phone and can use new platform features as soon as they’re released.
That’s what we mean when we say the app is just the app. If you’re working on an app, new or existing, we’d like to hear about it and talk through how to bring it to iOS and Android.
Subscribe
Join our newsletter and stay up-to-date