Runtime Diagnostics

Spent way too long diagnosing an issue only to realize a plugin wasn’t firing or installed? Ionic Native lets you know what the issue is and how you can resolve it.

Installation

To add Ionic Native to your app, run following command to install the core package:

npm install @ionic-native/core --save

Note that Ionic Native core package is included by default with every Ionic app.

Usage

Install the Needed Plugins

Install the Ionic Native package for each plugin you want to add.

For example, if you want to install the Camera plugin, you will need to run the following command:

npm install @ionic-native/camera --save

Then install the plugin using Cordova or Ionic CLI.

For example:

ionic cordova plugin add cordova-plugin-camera

All package names are documented on the plugin’s documentation. It is recommended to follow the installation instructions on each plugin’s documentation, as some plugins require additional steps to fully install.