RE: Does this plugin support the current platform?

2015-02-10 Thread Horn, Julian C
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, 2015 5:28 PM, Steven Gill stevengil...@gmail.com wrote

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 stevengil...@gmail.com 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

RE: Does this plugin support the current platform?

2015-02-10 Thread Tommy Williams
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 Subject: Re: Does this plugin support the current platform? And then the app has

Re: Does this plugin support the current platform?

2015-02-10 Thread Michal Mocny
. 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, 2015 5:28 PM, Steven Gill stevengil

Re: Does this plugin support the current platform?

2015-02-10 Thread tommy-carlos williams
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, 2015 5

Re: Does this plugin support the current platform?

2015-02-10 Thread Steven Gill
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 Subject: Re: Does this plugin support the current platform

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* platforms, then only apply global

Does this plugin support the current platform?

2015-02-10 Thread Axel Nennker
Hi, is there a way how an app can determine whether a plugin supports the current platform? E.g.: the barcodescanner plugin is not supporting firefoxos How could an app know that which out hardcoding this into the app? If there is a standard way in Cordova then this is a userland question. If

Re: Does this plugin support the current platform?

2015-02-10 Thread Michal Mocny
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