I need to add a custom png file to be used as smallicon in cordova-plugin-local-notifications.
I’ve been trying this in config.xml, but it doesn’t work, the resulting apk does not contain the image:
<platform name="android"> <resource-file src="www/img/icon_72.png" target="res/drawable-hdpi/myres_icon.png" /> <resource-file src="www/img/icon_192.png" target="res/drawable-mdpi/myres_icon.png" /> <resource-file src="www/img/icon_512.png" target="res/drawable-xhdpi/myres_icon.png" /> </platform>
I’m building with: VoltBuilder run android -debug.
I’m pretty sure that that the source files are in the right place, since in my first attempts i got errors about the source of the file.
Now I don’t get any errors, but I find no image in the res folder.