1.0.3 • Published 5 years ago

cordova9-icon v1.0.3

Weekly downloads
2
License
MIT
Repository
-
Last release
5 years ago

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