blob: 82d66563be87296cc10689351c69a5f48172ceff [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
Nate Fischera6bda6a92022-10-31 21:02:2520 - Available on Android 7 (Nougat) and later
Drew Stonebrakerf7ea76c2019-05-28 22:20:1421 - 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
Nate Fischerdab822612020-06-30 20:07:1844## How do I try a pre-release channel? {#switch-channel}
Drew Stonebrakerf7ea76c2019-05-28 22:20:1445
46Steps depend on your version of Android:
47
Nate Fischera6bda6a92022-10-31 21:02:2548### Android 10 and later (Q, R, etc.) - Beta channel {#trichrome-beta}
Torne (Richard Coles)d0f4f592019-11-22 22:28:1849
Nate Fischerd38da842022-11-03 15:46:3850We offer a new streamlined experience for joining the WebView Beta channel (if
51you want to opt into Dev or Canary, or you are interested in using WebView
52DevTools to try experimental WebView features, [skip to the next
Nate Fischera6bda6a92022-10-31 21:02:2553section](#trichrome-dev)).
54
55The easiest way to start testing WebView Beta is to opt into the experience on
56the Google Play Store.
57
581. [Join the beta tester program on Google Play.][WebView tester program]
592. On your device, update **Android System WebView** [in the Play
60 Store.][WebView PlayStore]
613. When the Play Store finishes updating, you will be using WebView Beta!
Nate Fischera6bda6a92022-10-31 21:02:2562
63#### Returning to stable WebView
64
651. [Leave the tester program.][WebView tester program]
662. Uninstall all updates by visiting Settings > Apps > Android System WebView >
67 Three dots menu in the top right > Uninstall updates.
Nate Fischer80c1af7df2024-01-31 01:29:40683. [Visit the Play Store page][WebView PlayStore] one more time to install the
Nate Fischera6bda6a92022-10-31 21:02:2569 latest updates to WebView stable, which will include important security
70 fixes.
71
72
73### Android 10 and later (Q, R, etc.) - Dev and Canary channel {#trichrome-dev}
74
75Dev and Canary channels must be downloaded and installed as separate apps, but
76only one must be chosen to provide the system's WebView implementation at any
77given time.
Torne (Richard Coles)d0f4f592019-11-22 22:28:1878
79*** note
80WebView pre-release channels are independent of Chrome in Android 10 and later.
Nate Fischerbf412c932020-10-30 15:01:4481Chrome can no longer be used as a WebView implementation in Android 10 and
82later.
Torne (Richard Coles)d0f4f592019-11-22 22:28:1883***
84
851. Download a pre-release channel of WebView from the play store, available here:
86 - [WebView Beta](https://play.google.com/store/apps/details?id=com.google.android.webview.beta)
Nate Fischera6bda6a92022-10-31 21:02:2587 may be installed either through this method or through the [streamlined
Nate Fischerd38da842022-11-03 15:46:3888 approach mentioned above](#trichrome-beta). Installing through this method
89 will automatically install WebView DevTools.
Torne (Richard Coles)d0f4f592019-11-22 22:28:1890 - [WebView Dev](https://play.google.com/store/apps/details?id=com.google.android.webview.dev)
91 - [WebView Canary](https://play.google.com/store/apps/details?id=com.google.android.webview.canary)
922. Follow the [steps to enable Android's developer options
93 menu](https://developer.android.com/studio/debug/dev-options)
943. Choose Developer Options > WebView implementation (see figure)
95
96 ![The "WebView implementation" menu](/android_webview/docs/images/webview_implementations_menu_10.png)
97
984. Choose the channel that you would like to use for WebView
Nate Fischerd38da842022-11-03 15:46:38995. **Bonus:** you'll also now see an icon for your chosen WebView channel in the
100 list of apps. You can use this app to report bugs, toggle experimental
101 features, and much more! See the [WebView DevTools user guide] for more
102 details.
Torne (Richard Coles)d0f4f592019-11-22 22:28:18103
104#### Returning to stable WebView
105
1061. To return to WebView stable, select "Android System WebView" again in the
107 WebView implementation menu
108
Drew Stonebrakerf7ea76c2019-05-28 22:20:14109### Android 7 through 9 (Nougat/Oreo/Pie)
110
Torne (Richard Coles)d0f4f592019-11-22 22:28:18111Pre-release channels must be downloaded and installed as separate apps, but only
112one must be chosen to provide the system's WebView implementation at any given
113time.
Drew Stonebrakerf7ea76c2019-05-28 22:20:14114
1151. Download a pre-release channel of Chrome from the play store, available here:
116 - [Chrome Beta](https://play.google.com/store/apps/details?id=com.chrome.beta)
117 - [Chrome Dev](https://play.google.com/store/apps/details?id=com.chrome.dev)
118 - [Chrome Canary](https://play.google.com/store/apps/details?id=com.chrome.canary)
1192. Follow the [steps to enable Android's developer options
120 menu](https://developer.android.com/studio/debug/dev-options)
1213. Choose Developer Options > WebView implementation (see figure)
122
123 ![The "WebView implementation" menu](/android_webview/docs/images/webview_implementations_menu.png)
124
1254. Choose the Chrome channel that you would like to use for WebView
126
127#### Returning to stable WebView
128
1291. To return to WebView stable, select Chrome again in the WebView
130 implementation menu
131
Nate Fischera6bda6a92022-10-31 21:02:25132### Android Auto and Android TV
Drew Stonebrakerf7ea76c2019-05-28 22:20:14133
134Only one installation of WebView is allowed, but users can opt to receive the
135latest beta updates from the Play Store.
136
Nate Fischera6bda6a92022-10-31 21:02:251371. [Join the beta tester program on Google Play.][WebView tester program]
1382. On your device, update **Android System WebView** [in the Play
139 Store.][WebView PlayStore]
1403. When the Play Store finishes updating, you will be using WebView Beta!
1414. **Bonus:** you'll also now see the "WebView Beta" icon in your list of apps.
142 You can use this app to report bugs, toggle experimental features, and much
143 more! See the [WebView DevTools user guide] for more details.
Drew Stonebrakerf7ea76c2019-05-28 22:20:14144
145#### Returning to stable WebView
146
Nate Fischera6bda6a92022-10-31 21:02:251471. [Leave the tester program.][WebView tester program]
Drew Stonebrakerf7ea76c2019-05-28 22:20:141482. Uninstall all updates by visiting Settings > Apps > Android System WebView >
Nate Fischera6bda6a92022-10-31 21:02:25149 Three dots menu in the top right > Uninstall updates.
1503. [Visit the Play Store page][WebView PlayStore] one more time to install the
151 latest updates to WebView stable, which will include important security
152 fixes.
153
154### Android 5 or 6 (Lollipop/Marshmallow)
155
156We no longer support devices running Android 5 or 6. Devices on these old OS
157versions can still update to the last supported WebView release but will not be
158able to install further updates.
Drew Stonebrakerf7ea76c2019-05-28 22:20:14159
160### Android 4.4 (KitKat) or earlier
161
162WebView does not receive updates on these versions of Android, so the
163pre-release channels of WebView are not available.
164
165## Reporting problems with pre-release WebView
166
Drew Stonebraker96a1d402019-05-29 21:05:48167Any WebView-related bugs can be filed
Nate Fischer5d3cede2024-03-04 18:29:51168[here](https://issues.chromium.org/issues/new?component=1456456&template=1923373).
Drew Stonebrakerf7ea76c2019-05-28 22:20:14169
170To best enable us to resolve the issue, please ensure you provide all of the
171information requested in the bug report template.
172
Nate Fischerdab822612020-06-30 20:07:18173## Work profile, multiple users, or Samsung Secure Folder {#multiple-profiles}
Nate Fischer1d3c5e62020-06-11 15:17:38174
175*** aside
176This only applies to Android 8 (Oreo) and above.
177***
178
179If your Android device has been configured with a work profile, you'll need to
180install pre-release WebView for both your work profile and regular profile. You
181can only change WebView channel if you've enabled this for all profiles on the
182device. Then you should be able to successfully switch WebView channels
183following the steps above.
184
185Some devices [may support multiple user
186accounts](https://support.google.com/nexus/answer/2865483?hl=en). Similar to
187work profile, your pre-release WebView channel must be installed and enabled for
188each user account on the device.
189
190Some Samsung phones support a feature called [Secure
191Folder](https://www.samsung.com/global/galaxy/what-is/secure-folder/). Under the
192hood, this is implemented by creating a new user profile, similar to work
193profile or multiple users. If you've previously enabled the Secure Folder
194feature, you'll need to add your WebView channel to the folder. Open the folder,
195click "add apps," and select the desired WebView channel. Then you should be
196able to select WebView from the menu above.
197
Drew Stonebrakerf7ea76c2019-05-28 22:20:14198## Command line tools
199
200Choosing your WebView implementation on Android 7 (Nougat) or later can also
201be done using adb, instead of the Settings UI:
202
203```shell
204adb shell cmd webviewupdate set-webview-implementation <packagename>
205```
206
207Package names are as follows:
208
Torne (Richard Coles)d0f4f592019-11-22 22:28:18209|App name |Package name |
210|---------------------------:|----------------------------------------|
211|Chrome (stable, 7/8/9 only) |com.android.chrome |
212|Chrome Beta (7/8/9 only) |com.chrome.beta |
213|Chrome Dev (7/8/9 only) |com.chrome.dev |
214|Chrome Canary (7/8/9 only) |com.chrome.canary |
215|WebView (stable) |com.google.android.webview |
216|WebView Beta (10+ only) |com.google.android.webview.beta |
217|WebView Dev (10+ only) |com.google.android.webview.dev |
218|WebView Canary (10+ only) |com.google.android.webview.canary |
Drew Stonebrakerf7ea76c2019-05-28 22:20:14219
220## See also
221- [WebView channels in detail](/android_webview/docs/channels.md)
222- [Chrome Release
223 Channels](https://www.chromium.org/getting-involved/dev-channel)
Drew Stonebraker2499ee92019-06-28 00:42:23224- [WebView Release History](https://chromiumdash.appspot.com/releases?platform=Android)
Nate Fischera6bda6a92022-10-31 21:02:25225
226[WebView DevTools user guide]: https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/developer-ui.md
227[WebView PlayStore]: https://play.google.com/store/apps/details?id=com.google.android.webview
228[WebView tester program]: https://play.google.com/apps/testing/com.google.android.webview