Ionic 6 Full Starter App
IonicThemesBuy NOWLive Preview
  • What is Ionic 6 Full Starter App?
  • About this Ionic template
  • Template versions
  • Set up the development environment
  • Running the Ionic app
  • How to use this template?
  • Ionic Capacitor
  • Ionic Code Structure
  • Ionic Data Integration
  • Theming
  • Ionic Progressive Web App
  • Ionic Navigation
  • Ionic Server Side Rendering (SSR)
  • Ionic Splash Screens and Icons
  • App Shell
    • Image Shell
    • Text Shell
    • Aspect Ratio
  • Ionic Custom Components
    • Checkbox Wrapper
    • Countdown timer
    • Ionic Show/Hide Password
  • Ionic Walkthrough (or tutorial)
  • Categories
  • Ionic Firebase Integration
    • Firebase Authentication
    • Firebase CRUD
    • Firebase Hosting
    • Push Notifications
  • Google Maps & Geolocation
  • Ionic Video Playlist
  • Ionic Multi Language
  • Getting Started
  • Ionic Authentication
  • Ionic Side Menu
  • Ionic Profile
  • Contact Card
  • Social Sharing
  • Ionic Notifications
  • Forms and Validations
  • Filters
  • FAQs
  • Common Errors and Solutions
  • Glossary
  • Upcoming features
  • 🧐Changelog
  • Reviews / Testimonials ⭐️⭐️⭐️⭐️⭐️
Powered by GitBook
On this page

Was this helpful?

Ionic Splash Screens and Icons

Creating Splash Screens and Icons for your Ionic app

PreviousIonic Server Side Rendering (SSR)NextApp Shell

Last updated 3 years ago

Was this helpful?

Splash Screen and App Icons

Support for splash screen and icon generation is now available in Capacitor. For complete details, see the .

This tool will crop and resize JPEG and PNG source images to generate icons and splash screens for modern iOS, Android, and Windows. cordova-res was developed for use with Cordova, but Capacitor and other native runtimes are supported.

First, install cordova-res globally.

$ npm install -g cordova-res

cordova-res expects a Cordova-like structure such as:

resources/
├── android
|   ├── icon-background.png
|   └── icon-foreground.png
├── icon.png
└── splash.png
config.xml

Place one icon and one splash screen file in a top-level resources folder within your project.

  • resources/icon.(png|jpg) must be at least 1024×1024px

  • resources/splash.(png|jpg) must be at least 2732×2732px

  • config.xml is optional. If present, the generated images are registered accordingly

Now, run the following commands to generate all images and to copy the generated resources into the native projects:

$ cordova-res ios --skip-config --copy
$ cordova-res android --skip-config --copy

Please check the Capacitor for more details.

Resource Generator documentation
official docs