Resurrecting this old thread
I think we need a resource-file tag on the config.xml (as the one on
plugin.xml) to copy resources to the projects, not just images as this
thread started.
Examples:
Images for push notifications
Sounds for push notifications
.plist and .json files with user data now
Yes, I agree, and the notification icon is a good example. There is nothing
in config.xml that currently does just a copy over, which is why I'm
proposing to add this functionality in. I am actually just using a hook
script to copy the images over right now, but I figure it might be
beneficial to
One example that comes to mind is notification icons for Android. It
used to be fine to reuse the app icon, but as of Lollipop notification
icons are only transparent and white. If your app icon is square, your
notification icon will be a white square unless you provide a
different one.
Currently
Buttons were just an example. The image could really be of anything the
user wants in the application.
What's in cordova now in config.xml is:
icon src=res/android/button.png platform=android density=mdpi /
The line above will copy button.png into the drawable-mdpi directory and
rename it to
But you want it for native buttons?
If not, you can just put the images on the www folder
El viernes, 1 de mayo de 2015, Karen Tran ktop...@gmail.com escribió:
I am looking for a way to be able to specify an image in the config.xml and
have it be placed in the drawable directory. Under my
I am looking for a way to be able to specify an image in the config.xml and
have it be placed in the drawable directory. Under my circumstances, I have
to assume that when the user creates a cordova project, he/she only knows
how to modify the config.xml, so that's why I'm pushing for a way to do
Hi dev-list,
I wanted to get your input on a feature I want to add to the config.xml.
Currently there are only the icon tag and splash tag that allows the user
to specify the icon and splash image in the config.xml respectively.
I want to be able to specify multiple images that will be used in
What is the use for the images? Is this for a plugin, or an app template?
I can think of a couple ways to do this, but none would affect configure.xml.
I suggest you look at how the splash screen plugin does this for android.
On May 1, 2015, at 8:39 AM, Karen Tran ktop...@gmail.com wrote: