When the PWA is launched, Chrome determines the last time the local manifest was checked for changes. After closing the PWA, it should be updated with the new manifest properties. To manually force Chrome to check for an updated manifest, you can either launch Chrome with the command line flag -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. 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. There are two display settings for a web app, the one from the manifest (that you control) and a window/browser tab setting controlled by the user. If you update your app's display mode from browser to standalone your existing users will not have their apps open in a window after updating. More info What happens when the display field is updated? # Which properties will trigger an update? #Ĭhanges to the start_url require the manifest id to be set. Once installed, all fields from the new manifest (except name, short_name, and icons) are updated. 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. 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. When the PWA is launched, or opened in a browser tab, Chrome determines the last time the local manifest was checked for changes. In most cases, changes should be reflected within a day or two of the PWA being launched, after the manifest has been updated. Do not change the name or location of your web app manifest file, doing so may prevent the browser from updating your PWA.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |