cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Higgins <br...@bryanhiggins.net>
Subject Re: BlackBerry 10 plugins and config.xml
Date Tue, 05 Nov 2013 14:25:16 GMT
Logged an issue for this: https://issues.apache.org/jira/browse/CB-5281


On Mon, Nov 4, 2013 at 1:40 PM, Braden Shepherdson <braden@chromium.org>wrote:

> This sounds like a bug in BB10. The aliasing is the intended behavior and
> supposed to work - both sides of cordova.exec should be using the name from
> the <feature> tag, not the plugin ID.
>
> Braden
>
>
> On Mon, Nov 4, 2013 at 12:33 PM, Don Coleman <don.coleman@gmail.com>
> wrote:
>
> > 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.ercan@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?
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message