How can I call native Java methods through Cordova with Meteor? I've tried cordova.exec () declaring plugins, but I do not know exactly where to declare these plugins. I found that I should declare them in the following way, in the config.xml file
<feature name="namePlugin">
<param name="android-package" value="name package" />
</feature>
Besides that, I declared within the android project generated by cordova a class that inherits from CordovaPlugin with their respective methods.
All this without success because every time I try to run the Meteor project it overwrites the config.xml file and removes the plugin's declaration.
I have also edited the android.json file to add the plugin from there without any result