Hi Tobias, You are correct it is not supported. I might be mistaken but I think the feature tag params are for the loading of the plugin themselves by the platform, and not for its configuration.
We could support this scenario, it probably should go in a major release if adopted -- propose it, and see what the others think about it for the other platforms. Per plugin configuration makes sense -- right now a <preference> has to be unique and there is a high chance for name collision. I suppose for now we could build it in to iOS (and OS X) since we are bumping the major versions for next release. On Thu, Aug 20, 2015 at 10:57 PM, Tobias Bocanegra <[email protected]> wrote: > Hi, > > I'm sure this was asked before, so forgive me my ignorance. > > what is the reason that the feature configuration does not allow > plugin local config? i.e. configuration that only makes sense for the > plugin but is not an overall preference? > > eg: > > <feature name="MyPlugin"> > <param name="ios-package" value="SistineTouch" /> > <param name="onload" value="true" /> > --> <param name="some-private-param" value="foo"/> > </feature> > > Looking at the parser at [0] it is not supported. > > Thanks. > Regards, Toby > > [0] > https://github.com/apache/cordova-ios/blob/master/CordovaLib/Classes/Public/CDVConfigParser.m#L47 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
