I think you're right about plugman not guaranteeing unique names. Even if it's a bad idea, I'd like to be able to alias the name of the plugin for the cordova.exec call so the common js is consistent across platforms. I can alias the name on Android, WP, BB10 w/ Cordova 2.x, and BB7.
Is the feature tag is supposed to let me do this? On Sun, Nov 3, 2013 at 7:45 PM, Gorkem Ercan <gorkem.er...@gmail.com> wrote: > > Perhaps it should be the other platforms that should match the Blackberry > behavior. AFAIK plugman does not guarantee feature names to be unique. > -- > Gorkem > > On Sun, Nov 03, 2013 at 01:00:47PM -0500, Don Coleman wrote: > > I'm trying to update a BlackBerry 10 plugin to use Cordova 3.1.0. > > > > I'd like to map the plugin id, com.chariotsolutions.nfc.plugin, to > > NfcPlugin so the cordova.exec calls work across all platforms. > > > > No matter what I put in config.xml, Corodva appears to ignore it and use > > the plugin's id for calls to corodova.exec. > > > > <config-file target="www/config.xml" parent="/widget"> > > <!-- > > <feature name="NfcPlugin" value="NfcPlugin" /> > > --> > > <feature name="NfcPlugin" value="com.chariotsolutions.nfc.plugin" /> > > </config-file> > > > > Is there a way to alias the plugin name for corodva.exec? >