Ionic 5 – How to replace default icon and splash screen image and generate resources

Automatic icon and splash screen resizing CLI tool for Capacitor based applications.

It automatically resizes and copies your icon.png and splash.png files to platform dedicated directories.

It does NOT require any external binary libraries. Javascript only.


$ npm install capacitor-resources -g


Required files
Add your icon.png (1024×1024 px) and splash.png (2732×2732 px) files to the ‘resources’ folder under the root of your capacitor based project.

$ capacitor-resources

UPDATE – It Copies the files AUTOMATICALLY now!

Leave a Comment