title: CORDOVA NOT ACCEPTING file://
body: <p>I am making a app for android in cordova using three.js. But the issue is I am unable to load images from javascript by file:// protocol.
  I keep getting the following error in chrome console</p>
  
  <blockquote>
    <p>Access to Image at 'file://image.png/' from origin 'null' has been
    blocked by CORS policy: Invalid response. Origin 'null' is therefore
    not allowed access.</p>
  </blockquote>
  
  <p>The error is caused by this code snippet : </p>
  
  <pre><code>var Texture1 = THREE.ImageUtils.loadTexture('/image.png'),
   Texture2 = THREE.ImageUtils.loadTexture('/image2.png');
  </code></pre>
  
  <p>The same code doesn't run in browser locally (file protocol), but it runs when I connect it to localhost:8000 (http protocol). I know this is a CORS issue but the cordova white list plugin states that the file:// should be accessible, but they are not.  </p>
  
  <p>and here's my snippet from config.xml</p>
  
  <pre><code>&lt;content src="index.html" /&gt;
      &lt;plugin name="cordova-plugin-whitelist" spec="1" /&gt;
      &lt;access origin="*" /&gt;
      &lt;allow-navigation href="file://*" /&gt;
      &lt;allow-navigation href="*" /&gt;
      &lt;allow-intent href="https://*/*" /&gt;
      &lt;allow-intent href="tel:*" /&gt;
      &lt;allow-intent href="sms:*" /&gt;
      &lt;allow-intent href="mailto:*" /&gt;
      &lt;allow-intent href="geo:*" /&gt;
      &lt;platform name="android"&gt;
          &lt;allow-intent href="market:*" /&gt;
      &lt;/platform&gt;
  </code></pre>