Firebase Ionic problem 2 with authentication by mobile number

I am creating a system of authentication by number of cell phone in ionic 2, for that I use the google guide

First i believe a firebase.auth.RecaptchaVerifier (Is one of the necessary parameters)

this.autVer = new firebase.auth.RecaptchaVerifier(‘contCatcha’, {
‘size’: ‘invisible’,
‘callback’: function (response) {
// reCAPTCHA solved, allow signInWithPhoneNumber.

and laster use auth.signInWithPhoneNumber angularfire

this.afAuth.auth.signInWithPhoneNumber("+57" + this.numeroCelular, this.autVer).then(verificationId => {
console.log(“SMS Enviado”);
this.confor = verificationId;
this.estado = 1;
Where the second parameter is the firebase.auth.RecaptchaVerifier created

In the browser of my pc everything works fine, but on the mobil shows the following error message:image

I need to replace that firebase.auth.RecaptchaVerifier, but I do not know if there is any plugin or sub meter to do and ahcer that everything works
I really appreciate your advice

I leave my code

1 Like

Following. I wasted all my day and ultimately reached to the same error when ran it on a device. Is there no way to get around this limitation? Or Is there any other way to send OTPs to user’s phone using Firebase?

If no, Google took over Digits and ruined it for us Ionic Devs.

Check this:

Will your cordova plugin work with Ionic1? Also, can you provide a quick README on GitHub on how to implement?

1 Like

@isaacch did you solve this error?