Create icons/splash screens for native applications
cviebrock opened this issue · comments
I've used pwa-asset-generator
to create icons for PWAs, but I'm now using Ionic and Capacitor to create "native" apps. There are a few packages out there to help create the icons and splash screens for iOS and Android, but they all use a JPG/PNG image and just scale it appropriately. I really like the way pwa-asset-generator lets me use SVGs, linear gradients, CSS padding, etc. to make higher-quality assets. It would be great if the package worked for both PWAs and native apps.
https://www.npmjs.com/package/cordova-res is the recommended package to use, but it simply crops/resizes a single JPG/PNG file for both the icon and splash screen. Most other packages seem to work this way as well:
- https://www.npmjs.com/package/splash-n-icons
- https://www.npmjs.com/package/cordova-media-gen
- https://www.npmjs.com/package/capacitor-resources
https://www.npmjs.com/package/splicon is the only one I've found that uses an SVG source file, but it doesn't appear to be maintained, and doesn't include the nice background features ofpwa-asset-generator
.
Thanks!