How to override java classes of a cordova plugin

Please i am trying to override java classes of cordova plugins in my node modules, but after i build apk, it goes back to default state, please what can i do to make it consistent , because i am having security issues with those classes after undergoing veracode scan

It’s not a good idea to override plugin code, it can break and cause problems in the long run.

1 Like

If you have to do this, how about forking the plugin and making an upstream PR to fix whatever issues it is having?