title: Unable to connect to server with Cordova-app on device
body: <p>I have created an Android-app with Cordova and on an emulator it works like a charm. When I tried to run it on a device I didn't get past the login-screen because I got an error saying: "Origin is not allowed by Access-Control-Allow-Origin". Is this a CSP issue within Cordova or is it something wrong with my server?
  Some of Config.xml:</p>
  
  <pre><code>  &lt;access origin="*" /&gt;
    &lt;access origin="baseUrlToServer.com" /&gt;
    &lt;allow-intent href="http://*/*" /&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;
  </code></pre>
  
  <p>And my CSP metatag in Index.html:</p>
  
  <pre><code>&lt;meta http-equiv="Content-Security-Policy" content="default-src 'self' *UrlToServer.com; 
  style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'"/&gt;
  </code></pre>
  
  <p>Have anyone stumbled across something similar and have an idea? Help would be much appreciated :)</p>