Clone the Ionic Native Git Repository
Clone the repository and install the npm packages.git clone https://github.com/ionic-team/ionic-native.git
cd ionic-native-master
npm i
Create the Plugin
Use plugman to create the plugin.gulp plugin:create -n PluginName
code .
// This is a sample line of code
for(let i: number = 0; i < count; i++) {
console.log('index', i);
}