Skip to content

Instantly share code, notes, and snippets.

@matthewstokeley
Last active November 19, 2019 22:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewstokeley/88ef3d1c1dc4ec86b78c08d869385b16 to your computer and use it in GitHub Desktop.
Save matthewstokeley/88ef3d1c1dc4ec86b78c08d869385b16 to your computer and use it in GitHub Desktop.
Example PWA manifest

<link rel="manifest" href="/manifest.json">

From the google documentation:

{
  "short_name": "Maps",
  "name": "Google Maps",
  "icons": [
    {
      "src": "/images/icons-192.png",
      "type": "image/png",
      "sizes": "192x192"
    },
    {
      "src": "/images/icons-512.png",
      "type": "image/png",
      "sizes": "512x512"
    }
  ],
  "start_url": "/maps/?source=pwa",
  "background_color": "#3367D6",
  "display": "standalone",
  "scope": "/maps/",
  "theme_color": "#3367D6"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment