I have recently been trying to add a plugin to an existing Cordova app (using Cordova 3.7.0). Since I didn't create my app using the CLI I had 2 options:





Create a new app using the CLI and copy my source files overAdd the plugin files to my existing app



For some reason I don't really like the idea of the CLI and wanted to do do this manually into an existing Android app, using Cordova, rather than use the CLI. Don't ask me why, I just like doing things manually so I know what's going on under-the-hood I guess



If you are like me and want to add a plugin manually, this is how to do it. These instructions, though written for Android, will work for any any supported platform. I will call out any differences between platforms that I know of



Get the plugin source files You need the source code files for your platform (so .java for Android, .m .h for iPhone etc) as well as the plugin javascript files. You might be able to get the source files from the internet but if not …