cordova9-icon

1.0.3 • Public • Published

cordova9-icon

Automatic icon resizing for Cordova. Create an icon in the root folder of your Cordova project and use cordova9-icon to automatically resize and copy it for all the platforms your project supports. Based on cordova-icon package

Installation

$ sudo npm install cordova9-icon -g

Requirements

Usage

Create an icon.png file in the root folder of your cordova project. You can provide a platform-specific icon by naming it icon-[platform].png (e.g icon-android.png, icon-ios.png). Then run:

 $ cordova9-icon

Notes:

  • Your config.ml file will not be updated by the tool (because images are automatically created in the good folders)
  • Therefore, in your config.xml, be sure to remove all lines looking like <icon src="res/android/ldpi.png" density="ldpi" />

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i cordova9-icon

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

25.3 kB

Total Files

10

Last publish

Collaborators

  • divich