Web App Icon
data class WebAppIcon(val url: String, val sizes: String, val mimeType: String, val density: String) : Icon
Icon information described in Web App Manifest.
This is described by the following JSON.
{
"short_name": "short name",
"name": "long name",
"icons": [
{
"src": "icon-1x.png",
"type": "image/png",
"sizes": "48x48"
},
{
"src": "icon-2x.png",
"type": "image/png",
"sizes": "96x96"
},
{
"src": "icon-4x.png",
"type": "image/png",
"sizes": "192x192"
}
],
"start_url": "index.html"
}
Content copied to clipboard
And it is described as follows in HTML.
<link rel="manifest" href="/manifest.json">
Content copied to clipboard