FirebaseRecaptcha invisible mode for sms

Hi,

is there any plan to support the invisible recaptcha so it only shows if really needed and google has doubt that the user is a real user?

https://firebase.google.com/docs/auth/web/phone-auth#use-invisible-recaptcha

I was playing around a little bit with the invisible captcha:

    function onLoad() {
      window.ReactNativeWebView.postMessage(JSON.stringify({
        type: 'load'
      }));
      window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier("recaptcha-cont", {
        size: "invisible",
        callback: function(response) {
          window.ReactNativeWebView.postMessage(JSON.stringify({
            type: 'verify',
            token: response
          }));
        }
      });
      window.recaptchaVerifier.verify();
      // window.recaptchaVerifier.render();
    }

This actually works but it would be nice if it wouldn’t show the modal while verifying. So that the modal will only show if the captcha is shown in the modal.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.