Have recently tried my hands at creating a plugin using the cordova CLI 3.5.1.
The plugin was created and added to a project. However, on execution and trying to create a instance of the plugin I am recieving the following error
uncaught module my_module not found.
<pre>
─── com.org.cordova.plugins.HttpRequestPlugin
│ .fetch.json
│ plugin.xml
│ README.md
│
├───src
│ └───android
│ │ HttpRequestPlugin.java
│ │
│ └───libs
│ wikitudesdk.jar
│
└───www
HttpRequestPlugin.js
</pre>
Also using the following code for creation of the instance.
var httpRequestPlugin = cordova.require("com.northgate.cordova.plugins.HttpRequestPlugin.HttpRequestPlugin");
This line itself throws the error as mentioned above.