How to develop custom Cordova plugin

So you wanted to develop a custom cordova plugin. At this point i am guessing already you have installed NodeJS, NPM, Cordova and Android SDK/xCode.

To start with the cordova plugin development, there is a great tool, which is also suggested by Apache Cordova to manage Cordova plugins. So that great tool name is plugman. You can execute this command from the command prompt/terminal.

1

npm install plugman -g

After installing the plugman, go to terminal and execute the following command to create a hello world plugin