Recaptcha Verifier is only supported in a browser HTTP/HTTPS environment

I have used Firebase SDK to authenticate user via phone number (https://firebase.google.com/docs/auth/web/phone-auth) and it works fine on Ionic lab and on Android.

The problem comes when I test it on iOS. When the function signInWithPhoneNumber(phoneNumber, appVerifier) is called, I get the error Recaptcha Verifier is only supported in a browser HTTP/HTTPS environment.

I am using Ionic 3, Cordova 8, cordova-android 8.0.0 and cordova-ios 5.1.0

Any solution for this?

1 Like