title: WebView.setWebContentsDebuggingEnabled(false) but I am able to debug the code after installing the signed APK
body: <p>I am trying to publish my android app created with cordova and while publishing I followed all steps like android:debuggable="false" or even removing this line as its the latest suggestion but the problem is when I install the signed build version in my emulator I am able to debug it ... any help?</p>
  
  <p>Update:-</p>
  
  <p>As per suggestion I tried ..</p>
  
  <pre><code>public class appname extends CordovaActivity 
  {
      @Override
      public void onCreate(Bundle savedInstanceState)
      {
          super.onCreate(savedInstanceState);
          super.init();
          super.loadUrl(Config.getStartUrl());
          if(Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.KITKAT){
              if(0 != (getApplicationInfo().flags = ApplicationInfo.FLAG_DEBUGGABLE)){
                  //Log.i("Your app", "Disable web debugging");
                  WebView.setWebContentsDebuggingEnabled(false);
              }
          }
      }
  }
  </code></pre>
  
  <p>in public void onCreate(Bundle savedInstanceState){}</p>
  
  <p>Found this piece of code in CordovaWebView.java</p>
  
  <pre><code>if((appInfo.flags &amp; ApplicationInfo.FLAG_DEBUGGABLE) != 0 &amp;&amp;  
                  android.os.Build.VERSION.SDK_INT &gt;= android.os.Build.VERSION_CODES.KITKAT)
              {
                  setWebContentsDebuggingEnabled(true); // I tried setting this false as well
              }
  </code></pre>
  
  <p>But its still not working...am still able to debug html js files</p>