Migrating from Cordova to Capacitor can occur over time or can be fully replaced in many cases. The effort involved will largely depend on the complexity of the app.
Long-term stability and peace of mind.
Capacitor is backed by Ionic, a long-term contributor to Cordova and the larger open source ecosystem. Ionic still uses Cordova heavily and will continue to invest in the platform for a long time to come.
It’s backward-compatible with Cordova, so you can comfortably switch your existing web apps to it whenever you’re ready. Capacitor was designed from the start to support the rich Cordova plugin ecosystem out of the box. Thus, using Cordova plugins in Capacitor is easy.
Why Use Ionic with Capacitor?
Using Ionic and Capacitor together is the way to build the best app experience possible, since Ionic Framework provides UI and UX enhancements that Capacitor does not have. Additionally, it works with your favorite web app framework, including Angular, React, and Vue.
Are you using any newer flavors of Ionic, such as
Ionic React or
Ionic Vue? Capacitor is the officially supported native runtime.
Using Ionic Already? Consider Updating to Ionic 4
Capacitor works with any Ionic project (1.0 to 4.x+), but in order to enjoy the best app development experience, Ionic 4 and above is recommended. If you have an existing Ionic 1 to 3 app, begin by following the Ionic 4 migration guide. If you need further assistance, Ionic can help. Advisory Services are available, which includes Ionic 4 training, architecture reviews, and migration assistance.
Migration Process Overview
Audit Then Migrate Existing Cordova Plugins
Begin by auditing your existing Cordova plugins - it's possible that you may be able to remove ones that are no longer needed.
Next, review all of Capacitor's core plugins as well as community plugins. You may be able to switch to the Capacitor-equivalent Cordova plugin.
Some plugins may not match functionality entirely, but based on the features you need that may not matter.
Continue to Use Cordova or Ionic Native if Needed
To leverage Cordova and/or Ionic Native plugins in your Capacitor app, see here. If a replacement plugin doesn't exist, continue to use the Cordova plugin as-is. If there's a plugin you'd like to see supported, please let us know.
Ready to migrate to Capacitor?