Drew Stonebraker | f7ea76c | 2019-05-28 22:20:14 | [diff] [blame] | 1 | # Try out WebView Beta, Dev, or Canary |
| 2 | |
| 3 | Using a pre-release channel of WebView allows you to test new, upcoming features |
| 4 | and enhancements to WebView. This is especially useful for Android app |
| 5 | developers who use WebView in their apps. |
| 6 | |
| 7 | [TOC] |
| 8 | |
| 9 | ## Which channel do I want? |
| 10 | |
| 11 | Like [Chrome](https://www.chromium.org/getting-involved/dev-channel), WebView |
| 12 | has four release channels: |
| 13 | |
| 14 | - Stable channel |
| 15 | - Installed and updated by default on every Android device with WebView |
| 16 | - Fully tested; least likely to crash or have other major bugs |
| 17 | - Updated every 2-3 weeks with minor releases, and every 6 weeks with major |
| 18 | releases |
| 19 | - Beta channel |
| 20 | - Available on Android 5 (Lollipop) and later |
| 21 | - Tested before release, but not as extensively as stable |
| 22 | - One major update ahead of stable, minor updates every week |
| 23 | - Dev channel |
| 24 | - Publicly available on Android 7 (Nougat) and later |
| 25 | - Two major updates ahead of stable, representing what is actively being |
| 26 | developed |
| 27 | - Updated once per week |
| 28 | - Minimally tested |
| 29 | - Canary build |
| 30 | - Available on Android 7 (Nougat) and later |
| 31 | - Released daily |
| 32 | - Includes the latest code changes from the previous day |
| 33 | - Has not been tested or used |
| 34 | |
Drew Stonebraker | 2499ee9 | 2019-06-28 00:42:23 | [diff] [blame^] | 35 | If you're looking for a specific of version of chromium, the latest versions |
| 36 | released to each channel can be found on [Chromium |
| 37 | Dash](https://chromiumdash.appspot.com/releases?platform=Android). WebView and |
| 38 | Chrome for Android always release together on all OS levels. |
| 39 | |
Drew Stonebraker | f7ea76c | 2019-05-28 22:20:14 | [diff] [blame] | 40 | On Android 7 (Nougat) and later, you can install multiple channels at the same |
| 41 | time. This allows you to play with our latest code, while still keeping a tested |
| 42 | version of WebView around. |
| 43 | |
| 44 | ## How do I try a pre-release channel? |
| 45 | |
| 46 | Steps depend on your version of Android: |
| 47 | |
| 48 | ### Android 7 through 9 (Nougat/Oreo/Pie) |
| 49 | |
| 50 | Pre-release channels must be downloaded and installed as separate apps, but one |
| 51 | must be chosen to provide the system's WebView implementation at any given time. |
| 52 | |
| 53 | 1. Download a pre-release channel of Chrome from the play store, available here: |
| 54 | - [Chrome Beta](https://play.google.com/store/apps/details?id=com.chrome.beta) |
| 55 | - [Chrome Dev](https://play.google.com/store/apps/details?id=com.chrome.dev) |
| 56 | - [Chrome Canary](https://play.google.com/store/apps/details?id=com.chrome.canary) |
| 57 | 2. Follow the [steps to enable Android's developer options |
| 58 | menu](https://developer.android.com/studio/debug/dev-options) |
| 59 | 3. Choose Developer Options > WebView implementation (see figure) |
| 60 | |
| 61 |  |
| 62 | |
| 63 | 4. Choose the Chrome channel that you would like to use for WebView |
| 64 | |
| 65 | #### Returning to stable WebView |
| 66 | |
| 67 | 1. To return to WebView stable, select Chrome again in the WebView |
| 68 | implementation menu |
| 69 | |
| 70 | ### Android 5 or 6 (Lollipop/Marshmallow) and Android TV |
| 71 | |
| 72 | Only one installation of WebView is allowed, but users can opt to receive the |
| 73 | latest beta updates from the Play Store. |
| 74 | |
| 75 | 1. [Join the beta tester program on Google |
| 76 | Play](https://play.google.com/apps/testing/com.google.android.webview) |
| 77 | 2. On your device, update Android System Webview [in the Play |
| 78 | Store](https://play.google.com/store/apps/details?id=com.google.android.webview) |
| 79 | 3. When the Play Store finishes updating, you will be using WebView beta! |
| 80 | |
| 81 | #### Returning to stable WebView |
| 82 | |
| 83 | 1. [Leave the tester |
| 84 | program](https://play.google.com/apps/testing/com.google.android.webview) |
| 85 | 2. Uninstall all updates by visiting Settings > Apps > Android System WebView > |
| 86 | Three dots menu in the top right > Uninstall updates |
| 87 | 3. [Visit the Play Store |
| 88 | page](https://play.google.com/store/apps/details?id=com.google.android.webview) |
| 89 | one more time to install the latest updates to WebView stable, which will |
| 90 | include important security fixes. |
| 91 | |
| 92 | ### Android 4.4 (KitKat) or earlier |
| 93 | |
| 94 | WebView does not receive updates on these versions of Android, so the |
| 95 | pre-release channels of WebView are not available. |
| 96 | |
| 97 | ## Reporting problems with pre-release WebView |
| 98 | |
Drew Stonebraker | 96a1d40 | 2019-05-29 21:05:48 | [diff] [blame] | 99 | Any WebView-related bugs can be filed |
| 100 | [here](https://bugs.chromium.org/p/chromium/issues/entry?template=Webview+Bugs). |
Drew Stonebraker | f7ea76c | 2019-05-28 22:20:14 | [diff] [blame] | 101 | |
| 102 | To best enable us to resolve the issue, please ensure you provide all of the |
| 103 | information requested in the bug report template. |
| 104 | |
| 105 | ## Command line tools |
| 106 | |
| 107 | Choosing your WebView implementation on Android 7 (Nougat) or later can also |
| 108 | be done using adb, instead of the Settings UI: |
| 109 | |
| 110 | ```shell |
| 111 | adb shell cmd webviewupdate set-webview-implementation <packagename> |
| 112 | ``` |
| 113 | |
| 114 | Package names are as follows: |
| 115 | |
| 116 | |App name |Package name | |
| 117 | |-----------------------:|----------------------------------------| |
| 118 | |Chrome (stable) |com.android.chrome | |
| 119 | |Chrome Beta |com.chrome.beta | |
| 120 | |Chrome Dev |com.chrome.dev | |
| 121 | |Chrome Canary |com.chrome.canary | |
| 122 | |
| 123 | ## See also |
| 124 | - [WebView channels in detail](/android_webview/docs/channels.md) |
| 125 | - [Chrome Release |
| 126 | Channels](https://www.chromium.org/getting-involved/dev-channel) |
Drew Stonebraker | 2499ee9 | 2019-06-28 00:42:23 | [diff] [blame^] | 127 | - [WebView Release History](https://chromiumdash.appspot.com/releases?platform=Android) |