Manifest doesn’t have a maskable icon

Manifest doesn’t have a maskable icon

Lighthouse maskable icon audit fails to add maskable icon support to your PWA

How to add maskable icon support to your PWA

  1. On manifest file add the purpose line
{
  …
  "icons": [
    …
    {
      "src": "path/to/maskable_icon.png",
      "sizes": "196x196",
      "type": "image/png",
      "purpose": "any maskable"
    }
  ]
  …
}

2. Build and publish the website


One thought on “Manifest doesn’t have a maskable icon

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s