--- url: "https://web.dev/articles/manifest-updates" titulek: "How Chrome handles updates to the web app manifest | web.dev" h1: "How Chrome handles updates to the web app manifest Stay organized with collections Save and categorize content based on your preferences." popis: "What it takes to change icons, shortcuts, colors, and other metadata in your web app manifest for your PWA." jazyk: "en" kanonicka: "https://web.dev/articles/manifest-updates" drobecky: ["web.dev", "Resources", "Progressive Web Apps"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 02:40:47" znaku: 5182 slov: 796 kodovani: "iso-8859-2" sha256: "08aa6f69ac0b904d4b7fa8a5c489cc0e81b0a4cfcac0e157f1d5a5a78f5191af" --- How Chrome handles updates to the web app manifest Stay organized with collections Save and categorize content based on your preferences. What it takes to change icons, shortcuts, colors, and other metadata for your PWA Adriana Jara François Beaufort Pete LePage When a PWA is installed, the browser uses information from the web app manifest for the app name, the icons the app should use, and the URL that should be opened when the app is launched. But what if you need to update app shortcuts or try a new theme color? When and how are those changes reflected in the browser? In most cases, changes should be reflected within a day or two of the PWA being launched, after the manifest has been updated. Updates on desktop Chrome When the PWA is launched, or opened in a browser tab, Chrome determines the last time the local manifest was checked for changes. If the manifest hasn't been checked since the browser last started, or it hasn't been checked in the last 24 hours, Chrome will make a network request for the manifest, then compare it against the local copy. If select properties in the manifest have changed (see list below), Chrome queues the new manifest, and after all windows have been closed, installs it. Once installed, all fields from the new manifest except `icons` are updated. Which properties will trigger an update? `name` `short_name` `display` (see below) `scope` `shortcuts` `start_url` Caution: Changes to the `start_url` require the manifest `id` to be set. [Learn more](https://developer.chrome.com/blog/pwa-manifest-id). `theme_color` `file_handlers` What happens when the `display` field is updated? If you update your app's display mode from `browser` to `standalone` your existing users won't have their apps open in a window after updating. There are two display settings for a web app, the one from the manifest (that you control) and a window and browser tab setting controlled by the user. The user preference is always respected. Testing manifest updates The `chrome://web-app-internals` page (available in Chrome 85 or later), includes detailed information about all of the PWAs installed on the device, and can help you understand when the manifest was last updated, how often it's updated, and more. To manually force Chrome to check for an updated manifest, you can either launch Chrome with the [command line flag](https://www.chromium.org/developers/how-tos/run-chromium-with-flags) `--disable-manifest-update-throttle` or restart Chrome (use `about://restart`), this resets the timer so that Chrome will check for an updated manifest when the PWA is next launched. Then launch the PWA. After closing the PWA, it should be updated with the new manifest properties. References [Updatable Web Manifest Fields](https://docs.google.com/document/d/1twU_yAoTDp4seZMmqrDzJFQtrM7Z60jXHkXjMIO2VpM/preview) Updates on Chrome for Android When the PWA is launched, Chrome determines the last time the local manifest was checked for changes. If the manifest hasn't been checked in the last 24 hours, Chrome will schedule a network request for the manifest, then compare it against the local copy. If select properties in the manifest have changed (see list below), Chrome queues the new manifest, and after all windows of the PWA have been closed, the device is plugged in, and connected to WiFi, Chrome requests an updated WebAPK from the server. Once updated, all fields from the new manifest are used. Which properties trigger an update? `name` `short_name` `icons` `background_color` `display` `orientation` `scope` `shortcuts` `start_url` `theme_color` `web_share_target` If Chrome is unable to get an updated manifest from the server, it may increase the time between checks to 30 days. Test manifest updates The `about://webapks` page includes detailed information about all of the PWAs installed on the device, and can tell you when the manifest was last updated, how often it's updated, and more. To manually schedule an update to the manifest, overriding the timer and local manifest do the following: Plug in the device and ensure it's connected to WiFi. Use the Android task manager to shut down the PWA, then use the App panel in Android settings to force stop the PWA. In Chrome, open `about://webapks` and click the "Update" button for the PWA. "Update Status" should change to "Pending". Launch the PWA, and verify it's loaded properly. Use the Android task manager to shut down the PWA, then use the App panel in Android settings to force stop the PWA. The PWA usually updates within a few minutes, once the update has completed, "Update Status" should change to "Successful" References [`UpdateReason` enum](https://cs.chromium.org/chromium/src/components/webapk/webapk.proto;l?l=38) for Chrome on Android Except as otherwise noted, the content of this page is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0). For details, see the [Google Developers Site Policies](https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates. Last updated 2024-09-19 UTC.