cordovahook-copy-graphics

Copy icons and splash screens to correct places from a single folder within your project root

Usage no npm install needed!

<script type="module">
  import cordovahookCopyGraphics from 'https://cdn.skypack.dev/cordovahook-copy-graphics';
</script>

README

cordovahook-copy-graphics

  

Manually copying icons and splashes to their places for each platform can be a pain. Doing it all over again when something changes is a constant headache, which this hook aims to treat.

How to install?

npm install cordovahook-copy-graphics --save

How to use inside hooks?

#!/usr/bin/env node
require('cordovahook-copy-graphics');

What maps to what?

Take a look over here. Graphics are named after their sizes in pixels.

What platforms are supported?

Currently, supports only android and ios platforms.

Example, please!

Refer to howtouse folder to get an understanding of how to setup this hook in your project.

Release History

  • 0.2.0 / 2015-02-08
    • Updated dependencies.
  • 0.1.0 / 2014-12-26
    • First version.