1 - Cordova
Well, it’s not just that. What happens is that the view part of the app runs on top of the webview, but Cordova provides a native integration with the device’s own features. The great advantage beyond the speed of development is that you don’t have to worry about the component patterns of each platform, since the plugins handle them for you.
Ionic (which works on top of Cordova), creates an object called window.Cordova, which allows direct system api access. This allows you to make a javascript call, and internally Cordova detects the platform it is running on and then runs the appropriate tool for it. You can access camera, accelerometer, microphone, files, location and any other feature of your device, as long as you develop a plugin for it (which even you can do).
It’s worth keeping up to date looking at the plugins developed for Cordova, one has recently been created to use native animations, native dialog boxes and native page transitions. There is really a lot of cool stuff that you can implement in your app, it is increasingly difficult to differentiate a native app from an app developed based on Ordova.
2 - React Native
There is also how to create hybrid apps using js without being on top of web views. This is the case with React Native, a platform developed by Facebook developers (even used in Facebook apps). It allows you to create native cross-platform code apps using React, and its advantages are a better performance than the previous option and as Cordova also allows you to have less headaches with other platforms.
With a hybrid application, you’ll have the ability to develop apps for three or more different platforms faster, without worrying too much about the native features of a particular platform. see the case of the webview that is used to load a web page or an internal file.
– user28366