Actions
Feature #893
closedCreate a navigation entry to access WebView's Dev UI
Start date:
08/20/2022
Due date:
% Done:
0%
Estimated time:
Description
https://chromium.googlesource.com/chromium/src/+/master/android_webview/docs/developer-ui.md
This is the same Dev UI that is available as an icon on the beta, canary, and dev channels.
https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/prerelease.md
It contains an option to disable the X-Requested-With header, as well as to force disabling TLS 1.0 and 1.1.
It should be possible to open the Dev UI on standard WebView with code similar to the following, although some testing needs to be done to make sure it works on all supported versions of Android and across all the WebView providers.
// Create a WebView Dev UI intent.
Intent webViewDevUiIntent = new Intent("com.android.webview.SHOW_DEV_UI");
// Launch as a new task so that the WebView Dev UI and Privacy Browser show as a separate windows in the recent tasks list.
webViewDevUiIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
// Make it so.
startActivity(webViewDevUiIntent);
Actions