Capacitor
Native BridgeCapacitor is a native runtime that lets you deploy web applications as native mobile apps on iOS and Android, with optional desktop support. Built by the Ionic team, Capacitor acts as a bridge between your web code and native device APIs, camera, GPS, push notifications, biometrics, file system, and more. Unlike older hybrid approaches like Cordova, Capacitor treats the native project as a first-class citizen: you have direct access to the Xcode and Android Studio projects, making it easy to add native code or third-party SDKs when needed. For custom web application development, Capacitor is ideal when a client has a web app and wants to ship it to app stores without rebuilding the entire frontend in Swift or Kotlin. The web code runs in a native WebView, and Capacitor plugins provide the JavaScript-to-native communication layer.
How It Changed Everything
Capacitor was created by the Ionic team, led by Max Lynch and Ben Sperry, and announced in 2018. Ionic had previously relied on Apache Cordova as the native bridge for its mobile framework, but Cordova's aging architecture and slow development cycle were becoming a bottleneck. Max Lynch described Capacitor as a "spiritual successor to Cordova", built from scratch with modern web standards and native tooling in mind. Version 1.0 shipped in May 2019, and adoption was swift among Ionic users who appreciated the cleaner native project management. By version 3, Capacitor had surpassed Cordova in downloads within the Ionic ecosystem.
One Thing Most People Miss
Capacitor plugins work differently from Cordova plugins in a way that surprises most developers migrating between the two. In Cordova, plugins are installed and the native code is injected automatically during the build. In Capacitor, the native project is persistent and plugins are synced into it, meaning you can see, modify, and debug the native code directly in Xcode or Android Studio. This design decision was intentional: the Ionic team found that the "black box" nature of Cordova's native layer was the number-one complaint from developers building production mobile apps.
Visit: capacitorjs.com