Answer» - A capacitor is a cross-platform SOFTWARE that allows you to create web applications that work natively on iOS, Android, Electron, and the Web using a single code base. These applications are known as Native Progressive Web applications, and they are the next development after Hybrid applications.
- It is INTENDED to be a successor for Apache Cordova and Adobe Phonegap, DRAWING influence from other successful cross-platform technologies such as React native, but it is only focused on allowing MODERN web applications to operate on all major web platforms. Many existing Cordova plugins are supported by the capacitor in a backwards-compatible manner.
- Capacitor converts your web application into a platform-specific native binary. As a result, you'll spend a lot of time establishing and then building a mobile-friendly web app. Using Capacitor's plugins (such as Camera) or existing Cordova plugins with Capacitor's Cordova Compatibility, you'll communicate with the native platform UNDERNEATH. Capacitor or Cordova plugins are used to interact between the Web View and the native app. Plugins provide your web application access to native APIs like the camera, geolocation, and filesystem. The capacitor includes a number of JavaScript utilities that can help you make sure your apps operate on many platforms with the same codebase. To utilise them, first import Capacitor, then call the utility function you want.
|