title: "Hostname match not found" error in firebase phone authentication(with ionic)
body: <p>I'm trying to combine "firebase phone authentication" with ionic.</p>
  
  <p>but, stuck in one question.</p>
  
  <p>I keep getting <strong>"Hostname match not found"</strong> error from </p>
  
  <pre><code>.catch(function (error) { 
    console.log("error! : " +  error); 
  });"
  </code></pre>
  
  <p>of login.ts(below)</p>
  
  <pre><code>import { Component } from '@angular/core';
  import { IonicPage, NavController, AlertController } from 'ionic-angular';
  
  import firebase from 'firebase';
  
  @IonicPage()
  @Component({
     selector: 'page-login',
     templateUrl: 'login.html',
  })
  
  export class LoginPage {
    public recaptchaVerifier:firebase.auth.RecaptchaVerifier;
    constructor(public navCtrl: NavController, public alertCtrl: AlertController) {}
  
    ionViewDidLoad() {
      this.recaptchaVerifier = new firebase.auth.RecaptchaVerifier('recaptcha-
      container');
    }
  
    signIn(phoneNumber: number){
      const appVerifier = this.recaptchaVerifier;
      const phoneNumberString = "+" + phoneNumber;
  
      firebase.auth().signInWithPhoneNumber(phoneNumberString, appVerifier)
        .then( confirmationResult =&gt; {
  
          let prompt = this.alertCtrl.create({
          title: 'Enter the Confirmation code',
          inputs: [{ name: 'confirmationCode', placeholder: 'Confirmation Code' }],
          buttons: [
            { text: 'Cancel',
              handler: data =&gt; { console.log('Cancel clicked'); }
            },
            { text: 'Send',
              handler: data =&gt; {
                 confirmationResult.confirm(data.confirmationCode)
                   .then(function (result) {
  
                   }).catch(function (error) {
  
                   });
              }
            }
          ]
       });
       prompt.present();
     })
     .catch(function (error) {
        console.log("error! : " +  error);           //   &lt;------------The place that informs this error.
     });
   }
  }
  </code></pre>
  
  <p>this error occurred shortly after reCAPTCHA solved</p>
  
  <p>Why does this happen?</p>
  
  <p>--Initializing Firebase</p>
  
  <p><a href="https://i.stack.imgur.com/dZufe.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dZufe.png" alt="enter image description here"></a></p>
  
  <p>--login.html</p>
  
  <p><a href="https://i.stack.imgur.com/uknPb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/uknPb.png" alt="enter image description here"></a></p>