For my hybrid Cordova app, I need a way to send messages from the Meteor web app over to the native iOS side. I looked around, but could not find existing code for this. The only solution I see so far, is to implement a custom Cordova package, and deal with the message handling myself. Did anybody find another solution?
If a custom plugin should be the only viable option, I am wondering how to add this custom Cordova plugin to my app. According to Meteor docs, there are only two ways available:
a) download it from the Cordova plugin-registry (which would mean I had to publish my package there)
b) put it on Github and load it as a tarball
Option a) does not really make sense for me, since I don’t want to pollute the plugin registry with my private code. Option b) is also not really optimal, since the tarball has to point to a specific version (at least, I think it does).
Is there also a way to include a custom Cordova plugin using the cordova-build-override folder? If so, how do I maintain the dependencies from a Meteor package to this Cordova plugin?