Generate Icons & Splash
#resize icons in resources folder
magick convert -density 300 -background none icon.svg -resize 1024x1024 -gravity center -extent 1024x1024 icon.png
#resize splash screen - make sure size value fit in extent
magick convert -density 300 -background none splash.svg -resize 1800x1800 -gravity center -extent 2208x2208 splash.png
#Make sure you name the files splash.png and icon.png
ionic resources android
#for both platforms
ionic resources