Open arjunmenon opened 7 years ago
everytime you change the plugin you must rebuild the application and install the application again. a change in a plugin means the application is a totally new application as it involves native code that needs to be compiled.
now if your plugin changes are only JS changes (that dont require native code updated) then for development id move those to your application JS code out of the plugin and debug them as if you are debugging your application JS code.
Hey I have added a custom cordova plugin to the basic hello-world app - https://github.com/arjunmenon/phonegap-test
After building from the online service and installing it in Android, I can't access the debug service for the custom app? (I have enabled debugging in online build)
I have installed the
weinre
locally as well.Debug only works for the local repo directory but the problem is it does not load the custom cordova plugin. Any changes made there as well is not reflected in the custom app installed in the mobile.
But if the directory is viewed from the phonegap developer app, I can see the changes but since it does not load the custom cordova plugin, no plugin features are shown.
I hope you are getting a picture of the issue.
How to remedy this issue? As of now, every minor change I make I have to online build, install and then test. This gets frustrating.