cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wargo, John" <john.wa...@sap.com>
Subject RE: core APIs and the CLI
Date Thu, 22 Aug 2013 21:36:18 GMT
I thought I did - I will setup a scenario and try it again.

John M. Wargo
SAP | Charlotte, NC | USA
Office: +1 704.321.0265 | Mobile: +1 704.249.7476
Email: john.wargo@sap.com
Twitter: @johnwargo

-----Original Message-----
From: braden@google.com [mailto:braden@google.com] On Behalf Of Braden Shepherdson
Sent: Thursday, August 22, 2013 11:12 AM
To: dev@cordova.apache.org
Subject: Re: core APIs and the CLI

Are you sure you ran a "cordova prepare" in both cases? There should be a
<feature> tag for Camera on both platforms, as far as I know.

Braden


On Thu, Aug 22, 2013 at 7:46 AM, John Wargo <john@johnwargo.com> wrote:

> I'm working on the part of my book that deals with the core APIs and I
> need some guidance on how things are supposed to work.
>
> I noticed that if I added the Camera API plugin to a project, that the CLI
> manages adding the camera feature to the android project's config.xml file
> in res/xml/config.xml. If I remove the plugin, the settings are removed
> from the config.xml.
>
> The documentation says that a setting is also required for the iOS
> config.xml, but in my testing, the CLI doesn't make that change for me. The
> Xcode project's config.xml doesn't change as I add and remove the Camera
> plugin.
>
> So am I seeing an anomaly here or is this behavior as expected?  I assumed
> the CLI would take care of everything, but my testing here says otherwise.
> How's this supposed to work or what must the developer do? It doesn't make
> sense that the CLI would do this for Android and not iOS.
>

Mime
View raw message