- Every installable PWA needs a web manifest and a service worker in order to be ready to be published on app stores.
- manifest needs to be linked to your
index.html
Manifest
Some non-intuitive properties
{
"display": "standalone (look like native browser), browser",
"theme_color": "the little bar at the top of the application",
"icon": [
],
}
Service Workers
Attributes
- Load content offline
- Background sync when a connection is re-established
- Push notifications to notify users
Fetch event
- It works as the proxy between the browser and the server