Re: How to provide more files from plugin.xml for project and native?

2014-07-31 Thread julio cesar sanchez
I have a related question, is it possible to add folders to a plugin as if I seletected Create folder references for any added folders option? (blue folder) with resource-file src=path/to/file / I get the resource as if I selected the Create groups for any added folder option (yellow folder)

Re: How to provide more files from plugin.xml for project and native?

2014-07-31 Thread Carlos Santana
Use asset element your folder will be included inside as blue folder inside the www bluefolder inside your Mobile App You can do a file or folder For example a folder named workligh: !-- a directory, also to be copied in the root directory -- asset src=www/worklight target=worklight / On

How to provide more files from plugin.xml for project and native?

2014-07-30 Thread Carlos Santana
I already know about asset and resource-file [1] in plugin.xml I'm currently working with ios: asset copy files will be available inside mobile app www path resource-file files will be available to mobile app from root path I want to be able to provide files to other locations that do not go

Re: How to provide more files from plugin.xml for project and native?

2014-07-30 Thread Michal Mocny
First, the easy one: Certainly you should have a way to drop files into platforms/ios/HelloCordova, and I think source-file is probably the way to go. The root seems to be the plugin folder by default, so you may need to prefix with ../.. right now. Also seems hacky, not sure if there is a

Re: How to provide more files from plugin.xml for project and native?

2014-07-30 Thread Carlos Santana
On Wed, Jul 30, 2014 at 10:54 AM, Michal Mocny mmo...@chromium.org wrote: First, the easy one: Certainly you should have a way to drop files into platforms/ios/HelloCordova, and I think source-file is probably the way to go. The root seems to be the plugin folder by default, so you may need

Re: How to provide more files from plugin.xml for project and native?

2014-07-30 Thread Michal Mocny
On Wed, Jul 30, 2014 at 11:38 AM, Carlos Santana csantan...@gmail.com wrote: On Wed, Jul 30, 2014 at 10:54 AM, Michal Mocny mmo...@chromium.org wrote: First, the easy one: Certainly you should have a way to drop files into platforms/ios/HelloCordova, and I think source-file is probably the

Re: How to provide more files from plugin.xml for project and native?

2014-07-30 Thread Carlos Santana
Would appreciate help to brainstorm I want to come out what is best for cordova developers. Today we have a downstream that ships cordova, I want to see if we can provide better experience I'm trying to experiment with the crazy idea of providing our value-add thru a cordova plugin, meaning