How to turn your web app into an iOS and Android app
Last reviewed 2 December 2026
Customers want your product on their phone, and you have a web app that works. There are three ways to get there. They differ in what the stores accept, how much of your code you keep and how much work it is.
Let people add the web app to their Home Screen, wrap it in a native shell with Capacitor (or a Trusted Web Activity on Android) and publish it to the stores, or rebuild the key screens with React Native or native code. Wrapping is the usual middle route, but Apple rejects apps that are only a repackaged website, so the app needs real app features.
Rather talk it through with someone? Send us your web app →
The three routes at a glance
| Route | In the App Store and Google Play? | What you keep | Watch out for |
|---|---|---|---|
| Home Screen web app | No. People add it from the browser | All of your code | People have to find and install it themselves |
| Wrapper: Capacitor, or a Trusted Web Activity on Android | Yes | Your web code, plus native plugins | Apple’s and Google’s rules on apps that are just a website |
| Rebuild with React Native, Swift and Kotlin, or Flutter | Yes | Your backend and business logic; the screens are rewritten | The most work, and two codebases to keep in step if the web app stays |
Whichever you choose, your backend, database and accounts stay as they are. The phone app talks to the same server as the web app.
Route 1: a Home Screen web app
On iPhone, people open your site in Safari and tap Share, then “Add to Home Screen”. Since iOS 26, Apple says “every website added to the Home Screen opens as a web app” (WebKit (opens in a new tab)). It costs nothing extra and needs no review.
- Push notifications work on iOS and iPadOS 16.4 or later, and the request has to come “in response to direct user interaction”, such as a tap on a button (WebKit (opens in a new tab)). Apple says you don’t need to join the Apple Developer Program to send them (Apple (opens in a new tab)).
- There’s no store listing. People install it from the browser, so nobody finds it by searching the App Store or Google Play.
It’s a good first step when your users already know you and come back often, and the cheapest way to see whether they want the app on their phone at all.
Route 2: wrap the web app with Capacitor
Capacitor (opens in a new tab) puts your web app inside a native iOS and Android project. Its docs say it “can be dropped into any existing modern JavaScript project”, which covers most React, Vue and Vite apps.
- How it works: you build the web app as usual, and “npx cap sync will copy over your already built web bundle to both your Android and iOS projects” (Capacitor workflow (opens in a new tab)). You then compile in Xcode for iOS and Android Studio for Android.
- Phone features come from plugins, written in Swift on iOS and Java on Android: the camera, push notifications, biometrics, file access and so on.
- You need a Mac for iOS. Capacitor’s setup guide says “To build iOS apps, you will need macOS”, and names cloud builds as the option without one (environment setup (opens in a new tab)).
On Android only: a Trusted Web Activity
A Trusted Web Activity opens your progressive web app full screen from an Android app, using Chrome rather than a web view (Android docs (opens in a new tab)). Google’s Bubblewrap tool generates the Android project for you.
- It only works for your own site. Google says the capability “is restricted to websites that you own” and you prove it with Digital Asset Links. “If verification fails, the browser falls back to displaying your website as a Custom Tab”, with a browser bar showing (quick start (opens in a new tab)).
- The app can’t read the website’s data. Google notes the app has no direct access to its cookies or local storage, so sign-in and saved data stay on the web side.
What Apple and Google check in a wrapped app
Wrapping is where most rejections happen, because both stores look for apps that are just a website.
- Apple, Guideline 4.2: “Your app should include features, content, and UI that elevate it beyond a repackaged website.” Apps that are mainly marketing, web clippings or a collection of links are rejected too. Our Guideline 4.2 guide covers what to add.
- Apple, Guideline 4.2.6: apps made with a commercialised template or app-generation service are rejected “unless they are submitted directly by the provider of the app’s content”. Submit from your own developer account.
- Apple, Guideline 2.5.2: an app may not “download, install, or execute code which introduces or changes features or functionality of the app”. Loading new screens from your server after review can fall foul of it. See Apple’s rule on downloaded code.
- Google Play, webviews: Google doesn’t allow apps that “provide a webview of a website without permission from the website owner or administrator” (Spam policy (opens in a new tab)), or apps “that only have limited functionality and content” (Minimum Functionality (opens in a new tab)). Our guide to Google Play webview rejections goes through both.
What usually gets a wrapped app through: a reason to install it that the website doesn’t give, such as push notifications people want, offline access, the camera or saved items; native navigation; and review notes that point the reviewer to those features.
Google sign-in inside the app
Google doesn’t allow its sign-in page inside an embedded web view: “A developer must not direct a Google OAuth 2.0 authorization request to an embedded user-agent under the developer’s control” (Google OAuth policies (opens in a new tab)). In a wrapped app it shows up as Error 403: disallowed_useragent. Open sign-in in the system browser or use Google’s native sign-in SDK instead. On iPhone, if you offer Google sign-in, also check Apple’s Sign in with Apple rule.
Route 3: rebuild the screens
A rebuild means writing the app’s screens again for phones, usually with React Native and Expo if your web app is in React.
- Screens don’t carry over. React Native creates real iOS and Android views (React Native (opens in a new tab)). Web components such as
<div>and<p>“won’t render on native platforms” (Expo (opens in a new tab)). - Logic can be shared: data fetching, validation and business rules written in TypeScript can often be reused.
- There’s a middle path. Expo’s DOM components let a native app show some existing web components inside a web view, which Expo says enables “incremental migration” one component at a time (Expo DOM components (opens in a new tab)).
- Building and submitting: Expo’s build service produces installable binaries for Android and iOS, and its submit tool works from any operating system, including Windows and Linux for iOS (Expo Submit (opens in a new tab)).
Which route fits your app
- Users already come back to your website, and you don’t need the stores yet: start with the Home Screen web app.
- You need a store listing and the web app works well on a phone: wrap it, and add a few features that make it an app, not a website in a frame.
- The app needs heavy phone features, works offline, or a wrapper was rejected and the fixes keep growing: rebuild the key screens and keep the backend.
Built with Lovable, Bolt, Replit or Base44? The same routes apply, with a few tool-specific catches: see Lovable to iOS and Android, publishing a Base44 app and AI-built apps and the App Store. Then how to publish an app covers the accounts and listings.
Questions founders ask
Will Apple reject an app made with Capacitor?
Not for using Capacitor. Apple’s Guideline 4.2 judges whether the app offers more than a repackaged website. Apps built with wrappers are approved when they do, and rejected when they look like the website in a frame.
Can I reuse my React code in React Native?
Partly. Your logic, data handling and validation can often be shared. The screens can’t, because web components such as <div> don’t render on native platforms, so they’re rewritten with React Native components.
Do I need a Mac?
For iOS with Capacitor, its docs say you need macOS to build, or a cloud build service. With Expo, builds run in Expo’s cloud and its submit tool works from Windows and Linux too.
Can a Home Screen web app send push notifications on iPhone?
Yes, on iOS and iPadOS 16.4 or later, once it’s added to the Home Screen and the person allows notifications after tapping something in the app.