Add maskable icons for Android #38
Labels
feature request
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
released
Is your feature request related to a problem? Please describe.
As W3C specs on manifest file has been extended with the new purpose field and maskable icons, it's a good idea to add maskable icons feature to pwa-asset-generator.
Describe the solution you'd like
We need to add a new flag --maskable which will be respected when icons are generated. When flag is provided, the manifest file meta has to be aligned with specs here: https://www.w3.org/TR/appmanifest/#icon-masks
A more detailed article on maskable icons is here: https://css-tricks.com/maskable-icons-android-adaptive-icons-for-your-pwa/
Nice to have: if we can detect the safe zone of a custom html input and warn if it exceeds the zone. Intersection Observer API might be handy for that.
The text was updated successfully, but these errors were encountered: