Everyone has keen interests in Progressive Web App. I was wondering how can I explain it in a simple way.
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="APP title">
<link rel="manifest" href="/manifest.json">
{
"name": "APP title",
"short_name": "AT",
"icons": [
{
"src": "/img/launcher-icon-2x.png",
"size": "192x192",
"type": "image/png"
},
{
"src": "/img/launcher-icon-4x.png",
"size": "512x512",
"type": "image/png"
}
],
"theme_color": "#c3c3c3",
"background_color": "#c3c3c3",
"display": "standalone"
}
You can use
fullscreen
,standalone
,minimal-ui
,browser
fordisplay
. If the mobile browser doesn’t support thefullscreen
. It will degrade tostandalone
. This is a progressively feature.
One handy choice - Add to Homescreen