title: Loading webview with https with ionic and capacitor
body: <p>I'm trying to build an apk which have to load with <a href="https://mydomain" rel="noreferrer">https://mydomain</a> with ionic 4 and capacitor.
  In capacitor.config.json I precise this field : </p>
  
  <pre><code>"server" : {
    "hostname": "mydomain"    
  }
  </code></pre>
  
  <p>Cause I do some API call in that domain.
  The problem is, I want my app to load with <a href="https://mydomain" rel="noreferrer">https://mydomain</a> when running the app, in debug or apk mode.</p>
  
  <p>I even tried to do that in capacitor.config.json </p>
  
  <pre><code>"server" : {
    "hostname": "https://mydomain"    
  }
  </code></pre>
  
  <p>But it just did this call</p>
  
  <pre><code> http://https://mydomain
  </code></pre>
  
  <p>when I run the app. So it just keep adding "http://" to the hostname.</p>
  
  <p>Do you have any idea on what can I do to have my app running with https instead of http ? </p>
  
  <p>I'm using ionic 4 and capacitor, and I'm testing all this in Android Platform using Android studio for the moment (but I will have the same for IOS).</p>
  
  <p>Thanks</p>