You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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/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 of
pwa-asset-generator
.Thanks!
The text was updated successfully, but these errors were encountered: