cordova-splash-cli

Automatic splash screen cropping for Cordova

Usage no npm install needed!

<script type="module">
  import cordovaSplashCli from 'https://cdn.skypack.dev/cordova-splash-cli';
</script>

README

cordova-splash

Automatic splash screen generator for Cordova. Create a splash screen (2208x2208) once in the root folder of your Cordova project and use cordova-splash to automatically crop and copy it for all the platforms your project supports (currenty works with iOS and Android).

Installation

 $ sudo npm install cordova-splash-cli -g

Usage

Create a splash.png file in the root folder of your cordova project and run:

 $ cordova-splash

To specify a custom splash image or config file use it like this:

$ cordova-splash --splash path/to/splash --config /path/to/config

Requirements

  • ImageMagick

Install on a Mac:

 $ brew install imagemagick

License

MIT