blob: 0fbb91eb607fa50089e9f0225914c396933a038b [file] [log] [blame] [view]
Drew Stonebrakerf7ea76c2019-05-28 22:20:141# Try out WebView Beta, Dev, or Canary
2
3Using a pre-release channel of WebView allows you to test new, upcoming features
4and enhancements to WebView. This is especially useful for Android app
5developers who use WebView in their apps.
6
7[TOC]
8
9## Which channel do I want?
10
11Like [Chrome](https://www.chromium.org/getting-involved/dev-channel), WebView
12has 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 Stonebraker2499ee92019-06-28 00:42:2335If you're looking for a specific of version of chromium, the latest versions
36released to each channel can be found on [Chromium
37Dash](https://chromiumdash.appspot.com/releases?platform=Android). WebView and
38Chrome for Android always release together on all OS levels.
39
Drew Stonebrakerf7ea76c2019-05-28 22:20:1440On Android 7 (Nougat) and later, you can install multiple channels at the same
41time. This allows you to play with our latest code, while still keeping a tested
42version of WebView around.
43
44## How do I try a pre-release channel?
45
46Steps depend on your version of Android:
47
48### Android 7 through 9 (Nougat/Oreo/Pie)
49
50Pre-release channels must be downloaded and installed as separate apps, but one
51must be chosen to provide the system's WebView implementation at any given time.
52
531. 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)
572. Follow the [steps to enable Android's developer options
58 menu](https://developer.android.com/studio/debug/dev-options)
593. Choose Developer Options > WebView implementation (see figure)
60
61 ![The "WebView implementation" menu](/android_webview/docs/images/webview_implementations_menu.png)
62
634. Choose the Chrome channel that you would like to use for WebView
64
65#### Returning to stable WebView
66
671. 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
72Only one installation of WebView is allowed, but users can opt to receive the
73latest beta updates from the Play Store.
74
751. [Join the beta tester program on Google
76 Play](https://play.google.com/apps/testing/com.google.android.webview)
772. On your device, update Android System Webview [in the Play
78 Store](https://play.google.com/store/apps/details?id=com.google.android.webview)
793. When the Play Store finishes updating, you will be using WebView beta!
80
81#### Returning to stable WebView
82
831. [Leave the tester
84 program](https://play.google.com/apps/testing/com.google.android.webview)
852. Uninstall all updates by visiting Settings > Apps > Android System WebView >
86 Three dots menu in the top right > Uninstall updates
873. [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
94WebView does not receive updates on these versions of Android, so the
95pre-release channels of WebView are not available.
96
97## Reporting problems with pre-release WebView
98
Drew Stonebraker96a1d402019-05-29 21:05:4899Any WebView-related bugs can be filed
100[here](https://bugs.chromium.org/p/chromium/issues/entry?template=Webview+Bugs).
Drew Stonebrakerf7ea76c2019-05-28 22:20:14101
102To best enable us to resolve the issue, please ensure you provide all of the
103information requested in the bug report template.
104
105## Command line tools
106
107Choosing your WebView implementation on Android 7 (Nougat) or later can also
108be done using adb, instead of the Settings UI:
109
110```shell
111adb shell cmd webviewupdate set-webview-implementation <packagename>
112```
113
114Package 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 Stonebraker2499ee92019-06-28 00:42:23127- [WebView Release History](https://chromiumdash.appspot.com/releases?platform=Android)