I want to develop a hybrid mobile application and I want to know what is the difference between Cordova and ionic?
Ionic started working on a new native runtime to replace Cordova that was fully built in house and deeply integrated into the Ionic developer experience: Capacitor.
React Native provides better performance than Ionic. The additional layer in Ionic, which involves Cordova plugins adds to the slowness since it is building a WebView and not a native app. React Native, on the other hand, wraps around native components, hence providing better performance.
In cordova there is a config. xml that automatically configures and builds the native project/app and the user doesn't do anything manually. While with a capacitor you can open the project and do changes in it. This can be one of the reasons why Capacitor developed and people should use it.
Apache Cordova is an open source native runtime that allows developers to build native mobile apps with HTML, CSS, and JavaScript. Similar to Capacitor, Ionic's own native runtime, Cordova allows developers to access native device features, such as camera, keyboard, and geolocation, using a system of plugins.
Here is an extract from Apache Cordova Wikipedia page, but that is true for PhoneGap and Ionic as well:
The resulting applications are said to be hybrid, meaning that they are neither truly native mobile application (because all layout rendering is done via Web views instead of the platform's native UI framework) nor purely Web-based (because they are not just Web apps, but are packaged as apps for distribution and have access to native device APIs).
All three projects are free and open-source.
PhoneGap is the base, cordova is from Apache which acquired Phonegap. They both are nearly the same now, and ionic is a framework to enhance frontend UI
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With