cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Santana <>
Subject How to provide more files from plugin.xml for project and native?
Date Wed, 30 Jul 2014 14:32:32 GMT
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 inside
mobile app:
1. I want to add files to <cordovaproject>
Also here to add scripts/files that will be use by XCode build phases but
do not go inside mobile App

Right now I'm doing something like this, and it feels like a hack that
might not work for all operating systems.

<asset src="src/ios/www/default/worklight/checksum.js"
target="../../../merges/ios/default/worklight/checksum.js" />

Maybe we need to add new feature for more elements like?
<cordova-file src="" target="">
<native src="" target="">


Carlos Santana

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message