How to change app icon and splash from the root source?

For iOS, I need to change the image in:

platforms/ios/APPNAME/Resources

and for Android:

 platforms/android/res

But, sometimes I need to remove the platforms, so I have to take care of the resource files very carefully.
The default icons are Cordova logo in different size, they’re auto-generated from Cordova.
So is there any way to override the default logo?
What I want to achieve is: when I add a new platform, the logo is ready.

I have found this script to copy icons files and splascreens when I build, it works fine:

http://devgirl.org/2013/11/12/three-hooks-your-cordovaphonegap-project-needs/

1 Like

It can be helpful to You

1 Like