Socket
Book a DemoInstallSign in
Socket

@eventmobi/cordova-splash

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eventmobi/cordova-splash

Automatic splash screen cropping for Cordova

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

cordova

FAQs

Package last updated on 14 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts