The Ionic Framework provides awesome front-end view components for your hybrid mobile application. However, it does have a few limitations. Unlike a Native mobile app that is written in Android or iOS SDK, the Ionic framework doesn’t have native phone functionalities on its own (such as Geo Location, Camera control and the other physical components of the mobile device).
But don’t worry as this is actually not a problem at all. On the front-end, Ionic relies on the Angular framework to render the view components and on the back-end, it is harnessing the power of Apache Cordova to use the native phone functionalities.
Today, there are a lot of readily available native Cordova plugins that you can integrate in your Ionic app. These plugins will enable you to have native functions that can open up the phone camera, search the contacts directory, manage the calendar, add a splash screen, connect to a local database, and many more.
This is where the Ionic Native comes in.
The Ionic Native is simply a module in the Ionic Framework that enables you to manage all the Cordova plugins of your app. Technically, this is just a TypeScript wrapper for the Apache Cordova plugins. Hence, you can run both a Cordova plugin and Ionic native plugin commands interchangeably, as these items are basically just the same.
On our succeeding lessons, we will demonstrate how to use the Ionic Native module to harness the power of the native mobile functions into our hybrid ionic mobile app.