How do I customize a ngCordova plugin so that changes in the plugin source code are updated in app?


Hey guys I’m trying to use the com.phonegap.plugins.barcodescanner plugin but in android it displays only horizontally I need it vertically, so I’m trying to tweak the source code of the plugin but all the changes I do they do not load in the app.

I have tried:
following this Cordova plugin not updating with no success.

Can anyone give me a hand, this is my plugin folder structure:

I want changes made inside LibraryProject to be reflected in the app.


Have you tried removing the platform, then adding it back?


do you mean:

cordova platform rm android
cordova platform add android

Yes I tried


Hmm, you could fork the plugin, make your changes, and install from you’re own repo.
Not sure why those changes made in ./plugin/ aren’t being transferred over