hub.eb?material_id=435&track_id=433

Web App Manifests


The Web App Manifest is a JSON file that contains metadata about your application and is a necessary part of a PWA. It is read by the browser and used to determine various style properties such as icons, colour schemes and the application name when installing or displaying the PWA.

An example manifest snippet:

{
  "short_name": "MyPWA",
  "name": "PWA: My First Progressive Web App",
  "description": "A simple PWA",
  "icons": [
    {
      "src": "/images/icons-192.png",
      "type": "image/png",
      "sizes": "192x192"
    }
  ],
  "start_url": "Home.eb",
  "background_color": "#3367D6",
  // ...
}

The browser will use some of these properties to display a loading screen when the PWA is opened.

For more information about the Web App Manifest, see the MDN documentation.

 

Current Module

Related