Put your Lovable app on the App Store and Google Play with Capacitor: a beginner path
Updated
This guide is for you if you built an app in Lovable and want people to install it from the App Store or Google Play. It shows the honest path, what you need for it, and the point where you may need a developer.
The facts below come from Lovable’s docs on publishing, its FAQ, npm packages, GitHub sync, the Git sync overview and TanStack Start; from Capacitor’s docs on installing, environment setup, the workflow, iOS and configuration; and from Apple’s Developer Program, enrollment and App Review Guidelines pages and Google’s Play Console Help on getting started and testing requirements, all checked on October 26, 2026. Button and menu names are in English, as in each tool.
First, what Lovable says about mobile apps
Lovable builds web apps. Its docs say publishing “always deploys to a web URL”, like yourproject.lovable.app or your own domain, and that “Lovable has no built-in flow that packages and submits your project to the App Store or Google Play.”
They give two options:
- Progressive Web App (PWA). Your published app becomes installable, so people can add it to their phone’s home screen and open it like an app, with offline support and a full-screen view. Lovable calls this “the fastest path”, and it works from any modern mobile browser.
- Capacitor wrapper. You wrap your app in a native shell with Capacitor, outside of Lovable, and submit that to the App Store or Google Play. Lovable says this is the right path when you need native features, like the camera, push notifications or biometrics, or when a store requires a real native app.
Lovable doesn’t generate React Native projects, a developer tool for building native mobile apps. And the Lovable mobile app is for building your projects from your phone. It doesn’t turn your project into an app for your users.
If a home-screen app is enough, ask Lovable for the PWA. Lovable’s changelog says that when you ask it to make your app installable, work offline or send push notifications, it picks the setup that fits the request. This guide is about the second path.
What Capacitor is, in plain words
Your Lovable app is a website. Capacitor takes the built files of that website and puts them inside a real iOS app and a real Android app. Lovable’s docs call this a native shell, and say it’s what lets your app use native device features, like the camera, push notifications or biometrics.
Capacitor’s docs say: “Because Capacitor apps are normal native apps at the end of the day, the way they are deployed to the App Store is just like any other native app.” So once Capacitor has made the app, you publish it with Apple’s and Google’s normal tools and rules.
What you need
On your computer
- Node.js 22 or newer. Capacitor’s docs say you need it for any Capacitor app.
- For iOS: a Mac with Xcode and the Xcode Command Line Tools. Capacitor says “To build iOS apps, you will need macOS.” Capacitor 8 needs Xcode 26.0 or newer. You install Xcode from the App Store on your Mac.
- For Android: Android Studio and an Android SDK. Capacitor 8 needs Android Studio 2025.2.1 or newer. Capacitor’s docs say Android Studio installs the right Java for you.
- Git, to copy your code from GitHub. If you’re new to it, see what GitHub is.
Accounts
- A GitHub account. Lovable’s docs say you can create one for free at github.com.
- Apple Developer Program. Apple’s enrollment page says the annual fee is 99 USD, “in local currency where available”, and that prices may vary by region. Apple also says that with just an Apple Account you can use Xcode and test apps on your own devices. You need the paid program to put an app on the App Store.
- Google Play Console. Google charges a one-time registration fee. Its Play Console Help page has the amount. You must be at least 18, and Google may ask for a valid government ID and a credit card in your legal name.
One more thing for Google Play. Google’s help says that personal developer accounts created after November 13, 2023 “must run a closed test for their app with a minimum of 12 testers who have been opted in continuously for at least 14 days” before they can apply to publish. Plan for that time.
Check which kind of Lovable app you have
This matters more than anything else in this guide. Capacitor’s docs say your project needs three things: a package.json file, a separate folder for your built web files (like dist or www), and an index.html file in that folder.
Lovable has two kinds of apps. To find out which one you have, ask Lovable in the chat. Its docs suggest this exact question:
What stack is this project on?
- Older apps, on React + Vite. Lovable’s docs say these send the browser a mostly empty page, and the browser builds the content with JavaScript. That’s the kind of app Capacitor’s steps expect. Capacitor’s docs say that with Vite, you build with
npm run build, and Vite’s docs say the built files go to a folder calleddistby default. - Newer apps, on TanStack Start. Lovable’s docs say this is the default for new projects since May 13, 2026, and that it renders each page into finished HTML on the server. Lovable’s docs also say that when you run a copy of a newer app on your own computer, its server code runs there, and calls to connectors and Lovable AI fail. We found no official page from Lovable or Capacitor that shows how to package a TanStack Start Lovable app with Capacitor.
Lovable’s docs describe the Capacitor path as wrapping “your published URL” in a native shell. Capacitor does have a setting that loads a web address inside the app, but its docs say it’s “intended for use with live-reload servers” and that it’s “not intended for use in production.” And Apple’s guidelines ask for apps that go “beyond a repackaged website” (more on that in step 6).
So: if you have an older React + Vite app, the steps below fit. If you have a newer TanStack Start app, this is the point where a developer can save you a lot of time, or where a PWA may be the better choice.
1. Connect your project to GitHub
Lovable’s GitHub sync keeps a copy of your project’s code in your own GitHub account, and keeps it in sync both ways. It’s available on all plans.
- In your Lovable project, open Project settings → Git → GitHub. You can also get there from the + button next to the chat box, under Project → GitHub.
- If your workspace isn’t connected to GitHub yet, a workspace owner or admin clicks Add connection, then Add account. In the GitHub window, choose your account, choose All repositories or Only select repositories, and click Install & Authorize.
- Click Connect next to your GitHub account. Lovable creates a new repository and starts syncing. Lovable’s docs say the repository is private by default.
Don’t delete that repository later. Lovable’s docs say deleting it stops the sync.
2. Get the code on your computer
In the same GitHub settings, Lovable shows clone URLs (HTTPS, SSH and GitHub CLI). Copy the HTTPS one and, in a terminal, run:
git clone <the URL you copied>
Before you clone, let any edit Lovable is still making finish, and check that the sync status says Lovable and GitHub are in sync.
Use a separate branch for the mobile work. Lovable’s docs say changes you push to the branch Lovable syncs (usually main) come back into your Lovable project. They suggest keeping Lovable on that branch and making your own changes on a separate one. For example:
git switch -c mobile
Then install what the project needs. Lovable’s docs say to check the project’s README and package.json for the commands that install its dependencies.
Careful with your data. Lovable’s docs say a copy of your app that keeps its settings “reads and writes the same backend as your published app, so records you create or delete locally change real data.” That goes for the app on your phone too. Use test accounts while you try it.
3. Add Capacitor
These are the commands from Capacitor’s docs. Run them in your project’s folder.
Install Capacitor:
npm i @capacitor/core
npm i -D @capacitor/cli
Set it up. Capacitor asks a few questions, starting with your app name and a package ID, the unique name the stores use for your app:
npx cap init
Capacitor saves your answers in a config file, including webDir, the folder with your built web files. Capacitor tries to detect it, but its docs say to check it. For a React + Vite app, that’s dist.
Add iOS and Android:
npm i @capacitor/android @capacitor/ios
npx cap add android
npx cap add ios
You can only build the iOS app on a Mac. You’ll now have ios and android folders in your project.
4. Build your web app and sync it
Build the web app, then copy the result into the iOS and Android projects:
npm run build
npx cap sync
Capacitor’s docs say npx cap sync copies your built web files to both projects and updates their native parts. If you get an error that it can’t find the web assets directory, fix webDir in the config file.
Every time your app changes in Lovable, bring the latest changes into your mobile branch, then run npm run build and npx cap sync again. The app in the stores only changes when you send a new version.
5. Open the app in Xcode and Android Studio
To test on a phone or a simulator, Capacitor gives you these commands:
npx cap run ios
npx cap run android
Or open the native projects:
npx cap open ios
npx cap open android
The first opens your app in Xcode, the second in Android Studio. In Xcode, Capacitor’s docs say to select a device or simulator, then click the play button to run the app. Capacitor recommends opening Xcode or Android Studio to make the final version you send to the stores.
Check the parts that talk to other services, like sign-in and payments. Lovable’s docs say that a login provider “redirects only to URLs it knows”. We found no official Lovable page on sign-in inside a Capacitor app, so test it carefully.
6. Send it to the stores
From here, it’s the same as for any native app. Capacitor’s docs point you to Apple’s and Google’s own instructions.
Apple. Join the Apple Developer Program, then follow Apple’s steps to submit your app. Before you do, read guideline 4.2 of Apple’s App Review Guidelines. It says: “Your app should include features, content, and UI that elevate it beyond a repackaged website. If your app is not particularly useful, unique, or ‘app-like,’ it doesn’t belong on the App Store.” It also says apps shouldn’t mainly be “marketing materials, advertisements, web clippings, content aggregators, or a collection of links.” Only Apple’s review decides if your app passes.
Google Play. Create your Play Console account and, if it’s a new personal account, run the closed test Google requires: at least 12 testers, opted in for at least 14 days in a row. Then apply for production access in Play Console.
Before either one, go through the publish checklist.
What to ask the Lovable AI, and what not to
Good things to ask Lovable:
- “What stack is this project on?” (from Lovable’s docs), before you start.
- To make every screen work well on a phone. Lovable’s FAQ says you can design your app to be fully mobile friendly.
- To make the app installable as a PWA, if a home-screen app is enough for you.
Things not to ask Lovable:
- To add Capacitor plugins, for the camera or notifications, for example. Lovable’s docs say Capacitor native plugins “install without errors but do not work in your published app”, because Lovable apps run in the browser.
- To publish to the App Store or Google Play. Lovable has no flow for it, so you’d only spend credits.
- To turn your app into React Native. Lovable’s docs say it doesn’t generate React Native projects. If you need one, they suggest using Lovable to design the screens, then rebuilding them outside Lovable.
- To put secret keys in the app’s code. Lovable’s docs warn that variables starting with
VITE_are included in the code sent to the browser. In a store app, that code is on every user’s phone.
If your app has grown messy after many quick fixes, clean it up before you package it: Technical debt in a Lovable app shows how. And if you’re also wondering whether to keep the web version on Lovable or move it, see Where to host a vibe-coded app. New to the word? See what deploy means.
What we don’t know
- How to package a newer TanStack Start Lovable app with Capacitor. We found no official page from Lovable or Capacitor about it.
- Whether Apple or Google will accept your app. That depends on their review.
- The Google Play registration fee in your currency. Google’s help page gives the amount. We only cite fees from Apple’s and Google Play’s own pages, and the Play pages we checked didn’t show it.
Questions people ask
Can Lovable publish my app to the App Store or Google Play?
Not by itself. Lovable's docs say it builds web apps, that publishing always deploys to a web address, and that it "has no built-in flow that packages and submits your project to the App Store or Google Play". They suggest two options: make the app installable as a Progressive Web App, or wrap it with Capacitor outside Lovable and submit that to the stores. Lovable also doesn't generate React Native projects. The Lovable mobile app is for building projects from your phone, not for turning your project into an app.
What is Capacitor?
Capacitor is a tool that puts a web app inside a native app shell for iOS and Android, so it can be installed from the App Store or Google Play. Lovable's docs call this a Capacitor wrapper, and say it's the right path when you need native features like the camera, push notifications or biometrics, or when a store wants a real native app. Capacitor's own docs say the result is a normal native app, published like any other.
Do I need a Mac?
For iOS, yes. Capacitor's docs say: "To build iOS apps, you will need macOS." You also need Xcode and the Xcode Command Line Tools. Capacitor mentions cloud build services for people without a Mac, but recommends having the tools on your own computer to test the app properly. For Android, you need Android Studio and an Android SDK.
How much does it cost to be on the App Store and Google Play?
Apple's enrollment page says the Apple Developer Program annual fee is 99 USD, in local currency where available, and that prices may vary by region. Without it, Apple says you can still use Xcode and test apps on your own devices, but to distribute apps you join the program. Google Play Console charges a one-time registration fee. Google's Play Console Help page has the amount. You must be at least 18, and Google may ask for a government ID and a card in your legal name.
Can I ask Lovable to add Capacitor for me?
Lovable's docs say to do the Capacitor wrapper outside of Lovable. They also say that Capacitor native plugins install without errors but don't work in your published app, because Lovable apps run in the browser. So do the Capacitor steps on your computer, on a separate branch. Use Lovable for what it does well: making every screen work on a phone, which its docs say you can do.
Will Apple accept an app that is just my website in a shell?
There's no guarantee. Apple's App Review Guidelines say your app "should include features, content, and UI that elevate it beyond a repackaged website", and that apps shouldn't mainly be marketing material, web clippings or a collection of links. Only Apple's review decides. If your app is mostly what your website already does, a Progressive Web App may be the better fit.
New guides by email. An email when we publish a new guide, error fix or chapter, in plain English. Subscribe