title: How to authenticate firebase with phone number in cordova?
body: <p>I develop a Cordova project and I want to authenticate to firebase using phone number.
  I use this plugin:
  <a href="https://github.com/arnesson/cordova-plugin-firebase" rel="nofollow noreferrer">https://github.com/arnesson/cordova-plugin-firebase</a></p>
  
  <p>but this not work and force stop when I use </p>
  
  <pre><code>window.FirebasePlugin.verifyPhoneNumber("my phone number", timeOutDuration, function(credential) {
      console.log(credential);
  
  
      firebase.auth().signInWithCredential(signInCredential);
  }, function(error) {
      console.error(error);
  });
  </code></pre>
  
  <p>and also when i use below method this not work at all:</p>
  
  <pre><code> window.FirebasePlugin.getVerificationID("my phone number",function(id) {
      console.log("verificationID: "+id);
  }, function(error) {             
      console.error(error);
  });
  </code></pre>
  
  <p>what is the wrong with my code?what can i do?is there another plugin for phone auth in cordova?</p>