2 days ago To update Chrome OS, head to the Settings app on your Chromebook click/tap ‘About Chrome OS’ Below the Google Chrome OS logo it will show your current version. If there’s an update available, Chrome OS should automatically start downloading it, and will give you the option to restart once it’s ready. Chrome updates happen automatically when you close and reopen Chrome. Discover how to check your version and apply a pending update.
- Chrome doesn’t always apply the latest updates when you open the browser, so if you want to check and see which version you’re running, go to Settings and then click About Chrome at the bottom.
- There are two key ways in which you can update your item: Upgrade the item, publishing a new version of the item on the Chrome Web Store and pushing it to the user base. Update the% rollout for items that were previously published with partial rollout. (Available to very popular items.) These update options are described in the following sections.
How to provide your own in-app install experience
Many browsers make it possible for you to enable and promote the installation of your Progressive Web App (PWA) directly within the user interface of your PWA. Installation (sometimes formerly referred to as Add to Home Screen), makes it easy for users to install your PWA on their mobile or desktop device. Installing a PWA adds it to a user's launcher, allowing it to be run like any other installed app.
In addition to the browser provided install experience, it's possible to provide your own custom install flow, directly within your app.
When considering whether to promote install, it's best to think about how users typically use your PWA. For example, if there's a set of users who use your PWA multiple times in a week, these users might benefit from the added convenience of launching your app from a smartphone homescreen or from the Start menu in a desktop operating system. Some productivity and entertainment applications also benefit from the extra screen real-estate created by removing the browser toolbars from the window in installed standalone
or minimal-ui
modes.
Promoting installation #
To indicate your Progressive Web App is installable, and to provide a custom in-app install flow:
Chrome Update Download
- Listen for the
beforeinstallprompt
event. - Save the
beforeinstallprompt
event, so it can be used to trigger the install flow later. - Alert the user that your PWA is installable, and provide a button or other element to start the in-app installation flow.
The beforeinstallprompt
event, and the appinstalled
event have been moved from the Web App Manifest spec to their own incubator. The Chrome team remains committed to supporting them, and has no plans to remove or deprecate support. Google's Web DevRel team continues to recommend using them to provide a customized install experience.
Listen for the beforeinstallprompt
event #
If your Progressive Web App meets the required installation criteria, the browser fires a beforeinstallprompt
event. Save a reference to the event, and update your user interface to indicate that the user can install your PWA. This is highlighted below.
There are many different patterns that you can use to notify the user your app can be installed and provide an in-app install flow, for example, a button in the header, an item in the navigation menu, or an item in your content feed.
In-app installation flow #
To provide in-app installation, provide a button or other interface element that a user can click to install your app. When the element is clicked, call prompt()
on the saved beforeinstallprompt
event (stored in the deferredPrompt
variable). It shows the user a modal install dialog, asking them to confirm they want to install your PWA.
The userChoice
property is a promise that resolves with the user's choice. You can only call prompt()
on the deferred event once. If the user dismisses it, you'll need to wait until the beforeinstallprompt
event is fired again, typically immediately after the userChoice
property has resolved.
Try it! Make a site installable using the beforeinstallprompt event.
Detect when the PWA was successfully installed #
You can use the userChoice
property to determine if the user installed your app from within your user interface. But, if the user installs your PWA from the address bar or other browser component, userChoice
won't help. Instead, you should listen for the appinstalled
event. It is fired whenever your PWA is installed, no matter what mechanism is used to install your PWA.
Detect how the PWA was launched #
The CSS display-mode
media query indicates how the PWA was launched, either in a browser tab, or as an installed PWA. This makes it possible to apply different styles depending on how the app was launched. For example, always hide the install button and provide a back button when launched as an installed PWA.
Track how the PWA was launched #
To track how users launch your PWA, use matchMedia()
to test the display-mode
media query. Safari on iOS doesn't support this yet, so you must check navigator.standalone
, it returns a boolean indicating whether the browser is running in standalone mode.
Track when the display mode changes #
To track if the user changes between standalone
, and browser tab
, listen for changes to the display-mode
media query.
Update UI based on the current display mode #
Update Chrome App Android
To apply a different background color for a PWA when launched as an installed PWA, use conditional CSS:
Updating your app's icon and name #
What if you need to update your app name, or provide new icons? Check out How Chrome handles updates to the web app manifest to see when and how are those changes are reflected in Chrome.
This page describes how to update an extension or theme ('item') that you previously published on the Chrome Web Store.
There are two key ways in which you can update your item:
- Upgrade the item, publishing a new version of the item on the Chrome Web Store and pushing it to the user base.
- Update the % rollout for items that were previously published with partial rollout. (Available to very popular items.)
These update options are described in the following sections.
Upgrade your item #
To upgrade an existing Chrome Web Store item, you need to upload a new zip file for your item, including all changed and unchanged files; update any changed metadata for your listing; and submit the item for a new review.
There are several ways to publish to a different channel:
- To move an item from testing to production: change your visibility from Private to Public or to Unlisted and then republish.
- To move a published item back to private (e.g. from production back to testing), you must unpublish, change the visibility to Private, and then republish. The unpublishing step is necessary to move an item 'backwards' from production to testing.
- You can create a separate Chrome Web Store item for your testing program— this is an option if you want to continue a testing program in parallel with a published version.
Uploading an updated zip file #
If you're changing any code, the manifest, or other assets packaged with your extension, you must make a new zip file and upload the new package. In the developer dashboard entry for your item, on the Package tab, use the Upload New Package button to upload the zip file:
Uploading new listing metadata #
If you're changing anything about the Chrome Web Store listing for your item, its distribution, or details of your privacy policy, you must update the information on the developer dashboard. You update this information on the same tabs used for creating a new item:
- The Listing tab contains details of your listing and how it should display in the Chrome Web Store.
- The Privacy tab is where you include declarations about how your item uses privacy and security related features.
- The Pricing and Distribution tab lets you control which countries will list your item and which set of users will see it.
Partial rollout #
If your item has a large user base, its distribution tab will include a Percentage rollout option to restrict the update to just a fraction of the user base:
This allows you to gradually roll out your item to ensure that any unexpected problems will have minimal impact.
Once an item with partial rollout has been published, you can later increase the percent rollout without needing to resubmit the item for review, until you eventually reach 100% of users.
Submitting the update #
When you submit an update for review, it doesn't yet affect your published item. Existing users will see no change and new users can continue to install the previously published, current version. Only when the item is later published will these users be affected.
To submit your update for review:
- Make sure you've completed the details on all the tabs described above.
- Click the Submit for Review button.
- The following dialog appears, letting you confirm that you want to submit the item for review.
Deferred publishing option #
This dialog also lets you control the timing of your item's publishing. If you uncheck the checkbox, your item will not be published immediately after its review is complete. Instead, after it passes the review your item will become ready for you to publish. This lets you wait until you are ready (for example, with marketing announcements) and then manually publish it at a time of your choosing.
Review process #
After you submit the item for review, it will undergo a review process. This is essentially the same review as new items receive; the time for this review depends on the nature of your item and the extent of your changes. See the FAQ on review times for more details.
Update your percent rollout #
For items that you previously published with partial rollout, you can update the percent rollout using the Package tab:
To increase the rollout fraction for your item, enter the increased percentage target and then click Update.