1

error image

I am facing problems with adding Recaptcha in the app and i dont understand what to do further. please help me with this.

RecaptchaVerifier(
          size: RecaptchaVerifierSize.compact,
          theme: RecaptchaVerifierTheme.dark,
          onSuccess: (){

            print('reCAPTCHA Completed!');

            if(!resend){
              nextPosition();
            }

            setState(() {
              _showResend = false;
            });
          },
          onError: (FirebaseAuthException error){

            QuickHelp.showAppNotificationAdvanced(
                context: context,
                title: "error".tr(),
                message: error.message);
          },
          onExpired: () {

            QuickHelp.showAppNotificationAdvanced(
                context: context,
                title: "error".tr(),
                message: "auth.recaptcha_expired".tr());
dgenx
  • 9
  • 3

0 Answers0