By default, Chrome's install dialog shows only your icon, name and origin. Add a description and screenshots to the manifest and Chrome and Edge show a richer install dialog that looks like an app store listing, with a carousel of images.
Screenshots
"description": "Guides, browser support and free tools for Progressive Web Apps.",
"screenshots": [
{ "src": "/shots/wide-1.png", "sizes": "1280x800", "type": "image/png", "form_factor": "wide", "label": "Guides and tools" },
{ "src": "/shots/narrow-1.png", "sizes": "750x1334", "type": "image/png", "form_factor": "narrow", "label": "Reading a guide offline" }
]
form_factor: "wide"screenshots are used on desktop,"narrow"on mobile. Provide at least one of each.- Width and height must be between 320 and 3840 px, and the longer side no more than 2.3 times the shorter one.
- Each screenshot in a group should have the same aspect ratio.
- Use real screens from your app, not marketing art. Add a short
labelfor screen readers. - Up to about eight are shown; three or four is plenty.
Use our screenshot sizes check (part of the manifest validator) to catch size mistakes.
Shortcuts
Shortcuts appear when people long-press (Android) or right-click (desktop) your app icon, and in the Windows taskbar jump list.
"shortcuts": [
{
"name": "New note",
"short_name": "New",
"description": "Start a blank note",
"url": "/notes/new?source=shortcut",
"icons": [{ "src": "/icons/new-96.png", "sizes": "96x96", "type": "image/png" }]
}
]
- Keep to two to four shortcuts for the most common tasks.
- Give each a 96 x 96 icon.
- URLs must be inside the app's
scope.
This site's manifest has four shortcuts: the PWA checker, the manifest generator, browser support and the open-source directory. Install PWA.live and right-click its icon to see them.
Categories
"categories": ["productivity", "utilities"]
These are hints for stores and app lists. Use common lowercase words such as books, business, education, entertainment, finance, food, games, health, lifestyle, music, news, photo, productivity, shopping, social, sports, travel and utilities.
Compatibilidade de navegadores
| Recurso | Chrome / Edge desktop | Chrome Android | Safari iOS / iPadOS | Safari macOS | Firefox desktop | Firefox Android | Samsung Internet |
|---|---|---|---|---|---|---|---|
| Richer install dialog (screenshots) | Chrome / Edge desktop: Sim | Chrome Android: Sim | Safari iOS / iPadOS: Não | Safari macOS: Não | Firefox desktop: Não | Firefox Android: Não | Samsung Internet: Varia |
| App shortcuts | Chrome / Edge desktop: Sim | Chrome Android: Sim | Safari iOS / iPadOS: Não | Safari macOS: Não | Firefox desktop: Não | Firefox Android: Não | Samsung Internet: Sim |