Capacitor lets you take a web app — the HTML, CSS, and JavaScript you already know — and run it as a native app on iOS and Android. You do not rewrite your app. You wrap it in a native shell and add access to native features like the camera, storage, and push notifications through plugins.
Capacitor is made by the Ionic team, and it works with any web framework — React, Vue, Angular, Svelte, or plain JavaScript. Your web code runs in a native WebView, and Capacitor's bridge lets JavaScript call native code and get results back.
Here is how you add it to an existing web project:
npm install @capacitor/core @capacitor/cli npx cap init MyApp com.example.myapp npx cap add ios npx cap add android npm run build npx cap sync
Enter fullscreen mode
Exit fullscreen mode
After that, your built web files live inside a real iOS and Android project that you open in Xcode or Android Studio.…