title: ionic auth gives cross domain error using ionic run
body: <p>I'm using ionic's auth component to login to Google and Facebook. When making the call towards ionic, it will return a CORS error (I think):</p>
  
  <pre><code>POST https://api.ionic.io/auth/login/facebook 
  Error: Request has been terminated
  Possible causes: the network is offline, Origin is not allowed by Access-
  Control-Allow-Origin, the page is being unloaded, etc.
  at v (polyfills.js:3)
  at Request.crossDomainError (main.js:187012) 
  ....
  </code></pre>
  
  <p>However, I'm not running through Ionic serve or live reload, but just plain ionic run android. I understood this should not cause cors error since files are server from the local file system. What could be the cause?</p>
  
  <p>To be fully inclusive, this is the code used:</p>
  
  <pre><code>import { Auth,.. } from '@ionic/cloud-angular';
  this.auth.login('facebook').then(function (success) { ...
  </code></pre>