Resources - Pear-Trading/FoodLoop-Ionic-2 GitHub Wiki

Original Storage

Store the original resources in the resource_originals folder - this is for the psd documents and any raw items which are used for this. This is so that Ionic/Cordova do not pick up the large original files and put them in the compiled package, increasing its size.

The following files are known about:

  • splash.psd - this contains a splash page layout with clearance areas for rendering.

Splash Screen and Icons

For splash screens, place a rendered .png or .jpg file in one of the following locations:

  • resources/splash.(jpg|png) - Default splash screen.
  • resources/icon.(jpg|png) - Default icon.
  • resources/*/splash.(jpg|png) - Platform specific splash screen.
  • resources/*/icon.(jpg|png) - Platform specific icon.

To generate the other sizes, run ionic resources in the root of the git repo.

References

Ionic Blog - Automating icons and splash screens