Project

General

Profile

Feature #893

Updated by Soren Stoutner over 2 years ago

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. 


 <pre><code class="java"> 
 


     // Create a WebView Dev UI intent. 
 
     Intent webViewDevUiIntent = new Intent("com.android.webview.SHOW_DEV_UI") 

 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); 
 </code></pre> 

Back