Re: Does this plugin support the current platform?

2015-02-11 Thread Axel Nennker
> > > > build for firefoxos, you must remove the barcodescanner plugin (and > > then > > > > add it back when you build for supported platforms). Granted, this is > > > > awkward, but I think it's worse to read the package.json file. > >

Re: Does this plugin support the current platform?

2015-02-10 Thread Michal Mocny
ard, but I think it's worse to read the package.json file. > > > > > > Really the CLI should make the feature detection pattern work without > > > having to exclude plugins on unsupported platforms. That is, if a > plugin > > > doesn't support a platform,

Re: Does this plugin support the current platform?

2015-02-10 Thread Steven Gill
; > having to exclude plugins on unsupported platforms. That is, if a plugin > > doesn't support a platform, then it should contribute nothing when you > > build for that platform. > > > > Julian > > > > -Original Message- > > From: Axel Ne

Re: Does this plugin support the current platform?

2015-02-10 Thread tommy-carlos williams
having to exclude plugins on unsupported platforms. That is, if a plugin > doesn't support a platform, then it should contribute nothing when you > build for that platform. > > Julian > > -----Original Message- > From: Axel Nennker [mailto:ignisvul...@gma

RE: Does this plugin support the current platform?

2015-02-10 Thread Horn, Julian C
I like it! -Original Message- From: agri...@google.com [mailto:agri...@google.com] On Behalf Of Andrew Grieve Sent: Tuesday, February 10, 2015 3:52 PM To: dev Subject: Re: Does this plugin support the current platform? Strawman: If plugin.xml has *any* s, then only apply global tags to

Re: Does this plugin support the current platform?

2015-02-10 Thread Andrew Grieve
the feature detection pattern work without > having to exclude plugins on unsupported platforms. That is, if a plugin > doesn't support a platform, then it should contribute nothing when you > build for that platform. > > Julian > > -----Original Message- > From:

RE: Does this plugin support the current platform?

2015-02-10 Thread Tommy Williams
t having to exclude plugins on unsupported platforms. That is, if a plugin doesn't support a platform, then it should contribute nothing when you build for that platform. Julian -Original Message- From: Axel Nennker [mailto:ignisvul...@gmail.com] Sent: Tuesday, February 10, 201

Re: Does this plugin support the current platform?

2015-02-10 Thread Michal Mocny
is, if a plugin > doesn't support a platform, then it should contribute nothing when you > build for that platform. > > Julian > > -Original Message- > From: Axel Nennker [mailto:ignisvul...@gmail.com] > Sent: Tuesday, February 10, 2015 11:48 AM > To: dev &g

RE: Does this plugin support the current platform?

2015-02-10 Thread Horn, Julian C
nothing when you build for that platform. Julian -Original Message- From: Axel Nennker [mailto:ignisvul...@gmail.com] Sent: Tuesday, February 10, 2015 11:48 AM To: dev Subject: Re: Does this plugin support the current platform? And then the app has to load that package.json ? On Feb 10, 20

Re: Does this plugin support the current platform?

2015-02-10 Thread Axel Nennker
And then the app has to load that package.json ? On Feb 10, 2015 5:28 PM, "Steven Gill" wrote: > Plugin.xml has a platforms tag for what platforms it supports. That info > gets uploaded to the Cordova plugins registry when publishing. > > Soon this info will be available in package.json file each

Re: Does this plugin support the current platform?

2015-02-10 Thread Steven Gill
Plugin.xml has a platforms tag for what platforms it supports. That info gets uploaded to the Cordova plugins registry when publishing. Soon this info will be available in package.json file each plugin has. On Feb 10, 2015 7:25 AM, "Axel Nennker" wrote: > Hi, > > is there a way how an app can de