Re: Updating FileTransfer

2013-11-20 Thread Tommy Williams
Nah.. Don't worry about an edge case like me! That was just an extreme
example. I can always just re-do my changes to a new fork of the new
hotness... ((I hate client certificate authentication, not you, heh)).

I am just worried about fallout from users :(

Changes to the File API needs to be NOISY. According to the stats from the
plugin repository, it's one of the top downloaded plugins.

O_o
On 20/11/2013 1:43 AM, Ian Clelland iclell...@google.com wrote:

 Oh, don't hate me, man :)

 If I can manage, I'll try to make FileTransfer *just work* with whatever
 version of File you happen to have installed -- but that won't help you if
 you want to keep your modified version of FileTransfer working with the new
 version of File.

 It's unfortunate that it depends on the internals of File :(

 What are you doing to modify FileTransfer? If there's any way I can make
 your job easier -- any hooks to expose, or extension points that should be
 left in, let me know, and I'll see what I can do.

 Ian


 On Mon, Nov 18, 2013 at 6:51 PM, Tommy Williams to...@devgeeks.org
 wrote:

  I'll hate you, but I guess I'll get over it (I have a plugin that is
  basically a modified fork of file-transfer.. . gonna be a pain updating
 it
  now, heh).
 
  What happened to the suggestions for this all being a new plugin of some
  kind? Though plugins are versioned, an old version gets no bug fixes...
  On 19/11/2013 9:11 AM, Brian LeRoux b...@brian.io wrote:
 
   Answers inline.
  
  
Does FileTransfer implement any published standard, or is it our own
  API?
   
Nope.
  
  
  
Does it make sense for FileTransfer to continue to use raw FileSystem
   paths
(and *not* go through File at all?) given that the File API will soon
  be
returning only relative paths and filesystem:// URLs.
   
Consistent w/ URL scheme makes sense to me but I'll let others chime
 in
   how this will break everything and our users will hate us. But
 remember:
   plugins are versioned!
  
 



library use in plugins

2013-11-20 Thread Erik Jan de Wit
Hi,

I'm a member of the AeroGear team and we have created a number of plugins that 
enable the use of our native libs for cordova development. Now the question is 
how to use libraries with a plugin. Right now our iOS projects use cocaopods, I 
think is the most ideal way as this is just a source dependency like the plugin 
dependency. Only downside to this approach is that it requires to execute a pod 
install after plugin installation. More problems are with android, right now 
we've used a jar file and put it in the plugin.xml as a source with target lib.

Are there alternatives to use libraries in a plugin? And if not are there plans 
to create some support for this, and what about phonegap build, we would like 
to post our plugins there as well.

Looking forward to your thoughts,

Erik Jan

Re: Updating FileTransfer

2013-11-20 Thread Ian Clelland
On Wed, Nov 20, 2013 at 4:24 AM, Tommy Williams to...@devgeeks.org wrote:

 Changes to the File API needs to be NOISY. According to the stats from the
 plugin repository, it's one of the top downloaded plugins.


Agreed 100%. We don't want to just slip this in with no notice other than
on the dev list.

At the very least, there will be a blog post going out with it, as well as
documentation on the differences between the old and the new, any backwards
incompatibilities, and an upgrading guide for those that need it.

It's also coupled with a major version bump (as well as any other impacted
plugins), so it won't be an automatic upgrade for existing projects; only
new projects should get it, once we take it out of dev and publish it on
the registry. (That's not being noisy, it's just being careful not to
surprise people)

Are there any other steps that we should be taking here? Any other blogs or
fora that we should be publishing in to make sure that people know about
the changes?

Ian



 O_o
 On 20/11/2013 1:43 AM, Ian Clelland iclell...@google.com wrote:

  Oh, don't hate me, man :)
 
  If I can manage, I'll try to make FileTransfer *just work* with whatever
  version of File you happen to have installed -- but that won't help you
 if
  you want to keep your modified version of FileTransfer working with the
 new
  version of File.
 
  It's unfortunate that it depends on the internals of File :(
 
  What are you doing to modify FileTransfer? If there's any way I can make
  your job easier -- any hooks to expose, or extension points that should
 be
  left in, let me know, and I'll see what I can do.
 
  Ian
 
 
  On Mon, Nov 18, 2013 at 6:51 PM, Tommy Williams to...@devgeeks.org
  wrote:
 
   I'll hate you, but I guess I'll get over it (I have a plugin that is
   basically a modified fork of file-transfer.. . gonna be a pain updating
  it
   now, heh).
  
   What happened to the suggestions for this all being a new plugin of
 some
   kind? Though plugins are versioned, an old version gets no bug fixes...
   On 19/11/2013 9:11 AM, Brian LeRoux b...@brian.io wrote:
  
Answers inline.
   
   
 Does FileTransfer implement any published standard, or is it our
 own
   API?

 Nope.
   
   
   
 Does it make sense for FileTransfer to continue to use raw
 FileSystem
paths
 (and *not* go through File at all?) given that the File API will
 soon
   be
 returning only relative paths and filesystem:// URLs.

 Consistent w/ URL scheme makes sense to me but I'll let others
 chime
  in
how this will break everything and our users will hate us. But
  remember:
plugins are versioned!
   
  
 



Re: library use in plugins

2013-11-20 Thread Dan Moore
Hi Erik,

Here is a stackoverflow question that might address some of your concerns, at 
least around ios frameworks: 

http://stackoverflow.com/questions/19803542/how-to-add-a-third-party-framework-to-a-cordova-3-0-custom-plugin/20026559#20026559

Dan



Review request: doc pull requests

2013-11-20 Thread Mike Billau
Hello,

Can somebody please review these two documentation pull requests?

https://github.com/apache/cordova-docs/pull/140
https://github.com/apache/cordova-docs/pull/149

I'd like to merge them pretty soon - I guess I can do this on my own based
on silent consensus.

Also, I tried to use the reviewboard, but every time I'd upload a diff or
use the tools, reviewboard would prepend the letter r to one of the
hashes in one of my files. This caused the review tool to reject the diff
since it couldn't match the file and hash. Anybody have any experience with
this?

Thanks,
Mike Billau


Re: Review request: doc pull requests

2013-11-20 Thread Braden Shepherdson
Reviewboard was giving Mark problems last week, too. Pull requests are more
convenient with the exception that they send emails on every comment,
rather than buffering them until you submit the review. One of the Github's
oldest outstanding requests, etc. etc.

Braden


On Wed, Nov 20, 2013 at 12:21 PM, Mike Billau mike.bil...@gmail.com wrote:

 Hello,

 Can somebody please review these two documentation pull requests?

 https://github.com/apache/cordova-docs/pull/140
 https://github.com/apache/cordova-docs/pull/149

 I'd like to merge them pretty soon - I guess I can do this on my own based
 on silent consensus.

 Also, I tried to use the reviewboard, but every time I'd upload a diff or
 use the tools, reviewboard would prepend the letter r to one of the
 hashes in one of my files. This caused the review tool to reject the diff
 since it couldn't match the file and hash. Anybody have any experience with
 this?

 Thanks,
 Mike Billau



Re: Review request: doc pull requests

2013-11-20 Thread Braden Shepherdson
Whoops, I also meant to say, those LGTM, especially the first one. Much
more detailed docs for CLI are very welcome.

Braden


On Wed, Nov 20, 2013 at 1:20 PM, Braden Shepherdson bra...@chromium.orgwrote:

 Reviewboard was giving Mark problems last week, too. Pull requests are
 more convenient with the exception that they send emails on every comment,
 rather than buffering them until you submit the review. One of the Github's
 oldest outstanding requests, etc. etc.

 Braden


 On Wed, Nov 20, 2013 at 12:21 PM, Mike Billau mike.bil...@gmail.comwrote:

 Hello,

 Can somebody please review these two documentation pull requests?

 https://github.com/apache/cordova-docs/pull/140
 https://github.com/apache/cordova-docs/pull/149

 I'd like to merge them pretty soon - I guess I can do this on my own based
 on silent consensus.

 Also, I tried to use the reviewboard, but every time I'd upload a diff or
 use the tools, reviewboard would prepend the letter r to one of the
 hashes in one of my files. This caused the review tool to reject the diff
 since it couldn't match the file and hash. Anybody have any experience
 with
 this?

 Thanks,
 Mike Billau





amazon-fireos core plugin pull requests..Please review

2013-11-20 Thread Naik, Archana
Hello, Devs

I have sent this earlier but thought would remind you guys for these core 
plug-ins. Amazon-fireos has been added as a platform in all these. Can someone 
please review and merge?

cordova-plugin-battery-status

Dev -  https://github.com/apache/cordova-plugin-battery-status/pull/6
Master - https://github.com/apache/cordova-plugin-battery-status/pull/5

cordova-plugin-camera

Dev - https://github.com/apache/cordova-plugin-camera/pull/4
Master - https://github.com/apache/cordova-plugin-camera/pull/5

cordova-plugin-contacts

Dev - https://github.com/apache/cordova-plugin-contacts/pull/12
Master - https://github.com/apache/cordova-plugin-contacts/pull/13

cordova-plugin-device

Dev - https://github.com/apache/cordova-plugin-device/pull/6
Master - https://github.com/apache/cordova-plugin-device/pull/7

cordova-plugin-device-motion

Dev - https://github.com/apache/cordova-plugin-device-motion/pull/6
Master - https://github.com/apache/cordova-plugin-device-motion/pull/7

cordova-plugin-device-orientation

Dev -  https://github.com/apache/cordova-plugin-device-orientation/pull/4
Master - https://github.com/apache/cordova-plugin-device-orientation/pull/5

cordova-plugin-dialogs

Dev - https://github.com/apache/cordova-plugin-dialogs/pull/7
Master - https://github.com/apache/cordova-plugin-dialogs/pull/8

cordova-plugin-file

Dev - https://github.com/apache/cordova-plugin-file/pull/10
Master - https://github.com/apache/cordova-plugin-file/pull/11

cordova-plugin-file-transfer

Dev - https://github.com/apache/cordova-plugin-file-transfer/pull/10
Master - https://github.com/apache/cordova-plugin-file-transfer/pull/11

cordova-plugin-geolocation

Dev - https://github.com/apache/cordova-plugin-geolocation/pull/9
Master - https://github.com/apache/cordova-plugin-geolocation/pull/10

cordova-plugin-globalization

Dev - https://github.com/apache/cordova-plugin-globalization/pull/3
Master - https://github.com/apache/cordova-plugin-globalization/pull/4

cordova-plugin-inappbrowser

Dev - https://github.com/apache/cordova-plugin-inappbrowser/pull/12
Master - https://github.com/apache/cordova-plugin-inappbrowser/pull/13

cordova-plugin-media

Dev - https://github.com/apache/cordova-plugin-media/pull/7
Master - https://github.com/apache/cordova-plugin-media/pull/8

cordova-plugin-media-capture

Dev - https://github.com/apache/cordova-plugin-media-capture/pull/6
Master - https://github.com/apache/cordova-plugin-media-capture/pull/7

cordova-plugin-network-information

Dev - https://github.com/apache/cordova-plugin-network-information/pull/3
Master - https://github.com/apache/cordova-plugin-network-information/pull/4

cordova-plugin-splashscreen

Dev - https://github.com/apache/cordova-plugin-splashscreen/pull/7
Master - https://github.com/apache/cordova-plugin-splashscreen/pull/8

cordova-plugin-vibration

Dev - https://github.com/apache/cordova-plugin-vibration/pull/6
Master - https://github.com/apache/cordova-plugin-vibration/pull/7


Thanks
Archana


Re: amazon-fireos core plugin pull requests..Please review

2013-11-20 Thread Steven Gill
I will get to this today/tomorrow


On Wed, Nov 20, 2013 at 12:45 PM, Naik, Archana na...@lab126.com wrote:

 Hello, Devs

 I have sent this earlier but thought would remind you guys for these core
 plug-ins. Amazon-fireos has been added as a platform in all these. Can
 someone please review and merge?

 cordova-plugin-battery-status

 Dev -  https://github.com/apache/cordova-plugin-battery-status/pull/6
 Master - https://github.com/apache/cordova-plugin-battery-status/pull/5

 cordova-plugin-camera

 Dev - https://github.com/apache/cordova-plugin-camera/pull/4
 Master - https://github.com/apache/cordova-plugin-camera/pull/5

 cordova-plugin-contacts

 Dev - https://github.com/apache/cordova-plugin-contacts/pull/12
 Master - https://github.com/apache/cordova-plugin-contacts/pull/13

 cordova-plugin-device

 Dev - https://github.com/apache/cordova-plugin-device/pull/6
 Master - https://github.com/apache/cordova-plugin-device/pull/7

 cordova-plugin-device-motion

 Dev - https://github.com/apache/cordova-plugin-device-motion/pull/6
 Master - https://github.com/apache/cordova-plugin-device-motion/pull/7

 cordova-plugin-device-orientation

 Dev -  https://github.com/apache/cordova-plugin-device-orientation/pull/4
 Master -
 https://github.com/apache/cordova-plugin-device-orientation/pull/5

 cordova-plugin-dialogs

 Dev - https://github.com/apache/cordova-plugin-dialogs/pull/7
 Master - https://github.com/apache/cordova-plugin-dialogs/pull/8

 cordova-plugin-file

 Dev - https://github.com/apache/cordova-plugin-file/pull/10
 Master - https://github.com/apache/cordova-plugin-file/pull/11

 cordova-plugin-file-transfer

 Dev - https://github.com/apache/cordova-plugin-file-transfer/pull/10
 Master - https://github.com/apache/cordova-plugin-file-transfer/pull/11

 cordova-plugin-geolocation

 Dev - https://github.com/apache/cordova-plugin-geolocation/pull/9
 Master - https://github.com/apache/cordova-plugin-geolocation/pull/10

 cordova-plugin-globalization

 Dev - https://github.com/apache/cordova-plugin-globalization/pull/3
 Master - https://github.com/apache/cordova-plugin-globalization/pull/4

 cordova-plugin-inappbrowser

 Dev - https://github.com/apache/cordova-plugin-inappbrowser/pull/12
 Master - https://github.com/apache/cordova-plugin-inappbrowser/pull/13

 cordova-plugin-media

 Dev - https://github.com/apache/cordova-plugin-media/pull/7
 Master - https://github.com/apache/cordova-plugin-media/pull/8

 cordova-plugin-media-capture

 Dev - https://github.com/apache/cordova-plugin-media-capture/pull/6
 Master - https://github.com/apache/cordova-plugin-media-capture/pull/7

 cordova-plugin-network-information

 Dev - https://github.com/apache/cordova-plugin-network-information/pull/3
 Master -
 https://github.com/apache/cordova-plugin-network-information/pull/4

 cordova-plugin-splashscreen

 Dev - https://github.com/apache/cordova-plugin-splashscreen/pull/7
 Master - https://github.com/apache/cordova-plugin-splashscreen/pull/8

 cordova-plugin-vibration

 Dev - https://github.com/apache/cordova-plugin-vibration/pull/6
 Master - https://github.com/apache/cordova-plugin-vibration/pull/7


 Thanks
 Archana



Re: amazon-fireos core plugin pull requests..Please review

2013-11-20 Thread Naik, Archana
Thank you steven. :) Please let me know if anything doesn't seem right.

On 11/20/13 12:57 PM, Steven Gill stevengil...@gmail.com wrote:

I will get to this today/tomorrow


On Wed, Nov 20, 2013 at 12:45 PM, Naik, Archana na...@lab126.com wrote:

 Hello, Devs

 I have sent this earlier but thought would remind you guys for these
core
 plug-ins. Amazon-fireos has been added as a platform in all these. Can
 someone please review and merge?

 cordova-plugin-battery-status

 Dev -  https://github.com/apache/cordova-plugin-battery-status/pull/6
 Master - https://github.com/apache/cordova-plugin-battery-status/pull/5

 cordova-plugin-camera

 Dev - https://github.com/apache/cordova-plugin-camera/pull/4
 Master - https://github.com/apache/cordova-plugin-camera/pull/5

 cordova-plugin-contacts

 Dev - https://github.com/apache/cordova-plugin-contacts/pull/12
 Master - https://github.com/apache/cordova-plugin-contacts/pull/13

 cordova-plugin-device

 Dev - https://github.com/apache/cordova-plugin-device/pull/6
 Master - https://github.com/apache/cordova-plugin-device/pull/7

 cordova-plugin-device-motion

 Dev - https://github.com/apache/cordova-plugin-device-motion/pull/6
 Master - https://github.com/apache/cordova-plugin-device-motion/pull/7

 cordova-plugin-device-orientation

 Dev -  
https://github.com/apache/cordova-plugin-device-orientation/pull/4
 Master -
 https://github.com/apache/cordova-plugin-device-orientation/pull/5

 cordova-plugin-dialogs

 Dev - https://github.com/apache/cordova-plugin-dialogs/pull/7
 Master - https://github.com/apache/cordova-plugin-dialogs/pull/8

 cordova-plugin-file

 Dev - https://github.com/apache/cordova-plugin-file/pull/10
 Master - https://github.com/apache/cordova-plugin-file/pull/11

 cordova-plugin-file-transfer

 Dev - https://github.com/apache/cordova-plugin-file-transfer/pull/10
 Master - https://github.com/apache/cordova-plugin-file-transfer/pull/11

 cordova-plugin-geolocation

 Dev - https://github.com/apache/cordova-plugin-geolocation/pull/9
 Master - https://github.com/apache/cordova-plugin-geolocation/pull/10

 cordova-plugin-globalization

 Dev - https://github.com/apache/cordova-plugin-globalization/pull/3
 Master - https://github.com/apache/cordova-plugin-globalization/pull/4

 cordova-plugin-inappbrowser

 Dev - https://github.com/apache/cordova-plugin-inappbrowser/pull/12
 Master - https://github.com/apache/cordova-plugin-inappbrowser/pull/13

 cordova-plugin-media

 Dev - https://github.com/apache/cordova-plugin-media/pull/7
 Master - https://github.com/apache/cordova-plugin-media/pull/8

 cordova-plugin-media-capture

 Dev - https://github.com/apache/cordova-plugin-media-capture/pull/6
 Master - https://github.com/apache/cordova-plugin-media-capture/pull/7

 cordova-plugin-network-information

 Dev - 
https://github.com/apache/cordova-plugin-network-information/pull/3
 Master -
 https://github.com/apache/cordova-plugin-network-information/pull/4

 cordova-plugin-splashscreen

 Dev - https://github.com/apache/cordova-plugin-splashscreen/pull/7
 Master - https://github.com/apache/cordova-plugin-splashscreen/pull/8

 cordova-plugin-vibration

 Dev - https://github.com/apache/cordova-plugin-vibration/pull/6
 Master - https://github.com/apache/cordova-plugin-vibration/pull/7


 Thanks
 Archana




Testing multiple iOS versions

2013-11-20 Thread Michael Gauthier

Is there a way to test apps in older versions of iOS using the CLI?

cordova emulate just runs iOS7.

I want to test iOS6.

Thanks,
Mike


Re: Testing multiple iOS versions

2013-11-20 Thread Shazron
There is no spec for this in the CLI. But for iOS, using the underlying
ios-sim tool which runs the emulator, it is possible.


On Wed, Nov 20, 2013 at 1:26 PM, Michael Gauthier m...@silverorange.comwrote:

 Is there a way to test apps in older versions of iOS using the CLI?

 cordova emulate just runs iOS7.

 I want to test iOS6.

 Thanks,
 Mike



Re: Testing multiple iOS versions

2013-11-20 Thread Michael Gauthier
Am I crazy, or is that an important missing feature of the CLI? It would 
be useful for Android as well.


On 2013-11-20 17:36, Shazron wrote:

There is no spec for this in the CLI. But for iOS, using the underlying
ios-sim tool which runs the emulator, it is possible.


On Wed, Nov 20, 2013 at 1:26 PM, Michael Gauthier m...@silverorange.comwrote:


Is there a way to test apps in older versions of iOS using the CLI?

cordova emulate just runs iOS7.

I want to test iOS6.

Thanks,
Mike







Re: Testing multiple iOS versions

2013-11-20 Thread Joe Bowser
It would be impractical to add for Android.  All you would need to do
is make sure that you have a device running a different version of
Android connected every time you tested, and for the emulator, that
means manually controlling the emulator.  Trying to control the
emulator from the command line has proven to be a futile exercise,
since the emulator still is too slow to be of use to anyone.

On Wed, Nov 20, 2013 at 1:46 PM, Michael Gauthier m...@silverorange.com wrote:
 Am I crazy, or is that an important missing feature of the CLI? It would be
 useful for Android as well.


 On 2013-11-20 17:36, Shazron wrote:

 There is no spec for this in the CLI. But for iOS, using the underlying
 ios-sim tool which runs the emulator, it is possible.


 On Wed, Nov 20, 2013 at 1:26 PM, Michael Gauthier
 m...@silverorange.comwrote:

 Is there a way to test apps in older versions of iOS using the CLI?

 cordova emulate just runs iOS7.

 I want to test iOS6.

 Thanks,
 Mike





Media device does not initiate

2013-11-20 Thread Peter Miles
Hi,

I have created my second ios phonegap project with the media plugin and it just 
does not work!

I have followed the same steps as the first project, ie 

1. phonegap create Project2 com.companyname.project2 Project2

2. cd Project

cordova platform add ios

3. cd platform/ios
phonegap local plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-media.git

I can see that config.xml refers to 
feature name=Media

param name=ios-package value=CDVSound/
/feature
and the directory structure appear the ame

Mt index.html calls the cordova.js (even though it should not need to).



When it runs, it calls deviceready() but the 'device' is not there. Can anyone 
suggest how I might investigate this further?

Peter Miles
Storm Educational


Re: Media device does not initiate

2013-11-20 Thread Dan Moore
Hi Peter,

This is a mailing list about the development of the Cordova framework.  

For questions regarding actual use of Cordova, you should post to the google 
group: https://groups.google.com/forum/m/#!forum/phonegap

Thanks,
Dan 



Review Request 15750: Adding/Removing custom frameworks to iOS projects

2013-11-20 Thread Anis Kadri

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15750/
---

Review request for cordova, Max Woghiren and Braden Shepherdson.


Bugs: CB-5238
https://issues.apache.org/jira/browse/CB-5238


Repository: cordova-plugman


Description
---

Adding/Removing custom frameworks to iOS projects

node-xcode 0.6.3 needs to be pushed to npm for this to be tested.

Custom frameworks can be defined in plugin.xml like so:

framework src=src/ios/Custom.framework custom=true

if @custom=true is not defined, plugman will think it is a System framework 
and will therefore fail to add it properly.


Diffs
-

  spec/platforms/ios.spec.js cb7460d 
  spec/plugins/ChildBrowser/plugin.xml 512c02f 
  spec/plugins/DummyPlugin/plugin.xml fad5072 
  spec/plugins/FaultyPlugin/plugin.xml 30af6e7 
  spec/util/config-changes.spec.js 5e46b69 
  src/install.js c0a4de9 
  src/platforms/ios.js 065c4a7 
  src/uninstall.js 11ff7fb 
  src/util/config-changes.js 0239b61 

Diff: https://reviews.apache.org/r/15750/diff/


Testing
---


Thanks,

Anis Kadri



Re: Review Request 15750: Adding/Removing custom frameworks to iOS projects

2013-11-20 Thread Ian Clelland

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/15750/#review29208
---


The documentation should probably be clear that 'custom=false' will *also* 
designate a custom framework -- I suspect that some people will try that, 
rather than simply removing the attribute.

Also, what happens if two plugins depend on the same framework? It looks like 
uninstalling either of them will remove the framework, but I'm not certain.

- Ian Clelland


On Nov. 21, 2013, 3:26 a.m., Anis Kadri wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/15750/
 ---
 
 (Updated Nov. 21, 2013, 3:26 a.m.)
 
 
 Review request for cordova, Max Woghiren and Braden Shepherdson.
 
 
 Bugs: CB-5238
 https://issues.apache.org/jira/browse/CB-5238
 
 
 Repository: cordova-plugman
 
 
 Description
 ---
 
 Adding/Removing custom frameworks to iOS projects
 
 node-xcode 0.6.3 needs to be pushed to npm for this to be tested.
 
 Custom frameworks can be defined in plugin.xml like so:
 
 framework src=src/ios/Custom.framework custom=true
 
 if @custom=true is not defined, plugman will think it is a System framework 
 and will therefore fail to add it properly.
 
 
 Diffs
 -
 
   spec/platforms/ios.spec.js cb7460d 
   spec/plugins/ChildBrowser/plugin.xml 512c02f 
   spec/plugins/DummyPlugin/plugin.xml fad5072 
   spec/plugins/FaultyPlugin/plugin.xml 30af6e7 
   spec/util/config-changes.spec.js 5e46b69 
   src/install.js c0a4de9 
   src/platforms/ios.js 065c4a7 
   src/uninstall.js 11ff7fb 
   src/util/config-changes.js 0239b61 
 
 Diff: https://reviews.apache.org/r/15750/diff/
 
 
 Testing
 ---
 
 
 Thanks,
 
 Anis Kadri
 




[For discussion] windows8 and run/emulate commands meaning

2013-11-20 Thread Sergey Grebnov (Akvelon)
Hi,

Cordova cli provides the following three options to execute your app from the 
shell:

* run --emulator (or emulate) - to run the app on emulator

* run --device - app will be executed on the connected device

* run --target - same as above, but you specify particular device

Right now the only known method to programmatically start Windows Store app is 
to start it locally right on your system. Windows8 platform is special since 
you technically build your app right on the target platform/device. Due to this 
I propose to treat both run/emulate commands for Windows8 platform as running 
app locally.

Motivation:

1.   People actively use both run and emulate commands so it will be great 
to somehow support them both.

2.   Right now we only know how to start app locally. Not sure we will be 
able to implement other options in the near future. If we find the way to 
support additional options we will change run/emulate meaning later.

Thoughts?

Additional details
When you are working with Windows Store app in Visual Studio there are the 
following three options to test your app

* Local Machine - app will be run right on your local system

o   easy to automate from command prompt

o   
https://github.com/sgrebnov/cordova-windows/commit/7577a589766e14c2e2674ffb5a8081a308a743be

* Emulator - starts Windows RT emulator

o   at present time I don't have solution to do the same from command line, 
continue research..

* Remote Machine - app will be run on remote machine (you should 
specify target machine ip address + install special software on remote machine 
- VS Remote Debugging Tools)

o   looks like we won't be able to support this option in the near future since 
it is very complex

Thx!
Sergey