Splash Screens and Icons
Creating Splash Screens and Icons for your ionic app
Support for splash screen and icon generation is now available in Capacitor. For complete details, see the cordova-res docs.
First, install cordova-res:
1
$ npm install -g cordova-res
Copied!
cordova-res expects a Cordova-like structure: place one icon and one splash screen file in a top-level resources folder within your project, like so:
1
resources/
2
├── icon.png
3
└── splash.png
Copied!
Next, run the following to generate all images then copy them into the native projects:
1
$ cordova-res ios --skip-config --copy
2
$ cordova-res android --skip-config --copy
Copied!
Please check the Capacitor official docs for more details.
Last modified 11mo ago
Copy link