Skip to content

Commit d94d417

Browse files
alan-agius4mgechev
authored andcommitted
fix(@angular/pwa): add purpose any to manifest icons
The `purpose` property defines the purpose of an icon, for example if the icon is intended to serve some special purpose in the context of the host OS (i.e., for better integration). `Purpose` can have one or more of the following values, separated by spaces: - `badge`: A user agent can present this icon where space constraints and/or color requirements differ from those of the application icon. - `maskable`: The image is designed with icon masks and safe zone in mind, such that any part of the image outside the safe zone can safely be ignored and masked away by the user agent. - `any`: The user agent is free to display the icon in any context (this is the default value). Closes #17384
1 parent 4f3eab9 commit d94d417

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/angular/pwa/pwa/files/root/manifest.webmanifest

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,49 +11,49 @@
1111
"src": "assets/icons/icon-72x72.png",
1212
"sizes": "72x72",
1313
"type": "image/png",
14-
"purpose": "maskable"
14+
"purpose": "maskable any"
1515
},
1616
{
1717
"src": "assets/icons/icon-96x96.png",
1818
"sizes": "96x96",
1919
"type": "image/png",
20-
"purpose": "maskable"
20+
"purpose": "maskable any"
2121
},
2222
{
2323
"src": "assets/icons/icon-128x128.png",
2424
"sizes": "128x128",
2525
"type": "image/png",
26-
"purpose": "maskable"
26+
"purpose": "maskable any"
2727
},
2828
{
2929
"src": "assets/icons/icon-144x144.png",
3030
"sizes": "144x144",
3131
"type": "image/png",
32-
"purpose": "maskable"
32+
"purpose": "maskable any"
3333
},
3434
{
3535
"src": "assets/icons/icon-152x152.png",
3636
"sizes": "152x152",
3737
"type": "image/png",
38-
"purpose": "maskable"
38+
"purpose": "maskable any"
3939
},
4040
{
4141
"src": "assets/icons/icon-192x192.png",
4242
"sizes": "192x192",
4343
"type": "image/png",
44-
"purpose": "maskable"
44+
"purpose": "maskable any"
4545
},
4646
{
4747
"src": "assets/icons/icon-384x384.png",
4848
"sizes": "384x384",
4949
"type": "image/png",
50-
"purpose": "maskable"
50+
"purpose": "maskable any"
5151
},
5252
{
5353
"src": "assets/icons/icon-512x512.png",
5454
"sizes": "512x512",
5555
"type": "image/png",
56-
"purpose": "maskable"
56+
"purpose": "maskable any"
5757
}
5858
]
5959
}

0 commit comments

Comments
 (0)