Hi there,
I need to automatically add a new config value to the iOS plist file. The way I understand it, is that the “cordova-build-override” is available for this. Unfortunately I wasn’t able to figure out what it expects, due to missing documentation. Here is what I tried:
I never got this working with the override approach. So I am using my own custom Cordova plugin that sets the plist entries as I need them. Here’s a sample I am using in my apps:
Feel free to fork it and set your own flags.
In newer Meteor versions, you can install such a local Cordova package directly.
To make it available in older Meteor apps, upload it to Github like I did and use a private Atmosphere package, placed in the packages folder, with a package.js like this:
Installing plugins from the local filesystem is now supported using file:// URLs, which should make developing your own plugins more convenient. It is also needed as a temporary workaround for using the Facebook plugin. Relative references are interpreted relative to the Meteor project directory. (As an example, meteor add cordova:phonegap-facebook-plugin@file://…/phonegap-facebook-plugin would attempt to install the plugin from the same directory you Meteor project directory is located in.)