Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Automatic splash screen generator for Cordova

License

Notifications You must be signed in to change notification settings

EventMobi/cordova-splash

 
 

Repository files navigation

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, Android and Windows 10).

Installation

$ sudo npm install cordova-splash -g

Requirements

  • ImageMagick installed (Mac: brew install imagemagick, Debian/Ubuntu: sudo apt-get install imagemagick, Windows: See here)
  • At least one platform was added to your project (cordova platforms docs)
  • Cordova's config.xml file must exist in the root folder (cordova config.xml docs)

Usage

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

$ cordova-splash

You may specify the output path and directory as follows:

# output to path/to/res/screen
$ cordova-splash -p path/to/res -s screen

WARNING: If you were using a previous version of cordova-splash and expect the generated files to be in their respective ./platforms path, use the compability mode:

$ cordova-splash -c

This will override the -p and -s settings.

Icons

Check out cordova-icon

License

MIT

About

Automatic splash screen generator for Cordova

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%