Expo Firebase Recaptcha: onFullChallenge and onVerify are both not called for InvisibleRecaptcha

Please provide the following:

  1. SDK Version: 43
  2. Platforms(Android/iOS/web/all): iOS
  3. Add the appropriate “Tag” based on what Expo library you have a question on.
import { FirebaseRecaptcha } from 'expo-firebase-recaptcha';
...
    <FirebaseRecaptcha
      firebaseConfig={FIREBASE_CONFIG}
      firebaseVersion='9.4.1'
      languageCode='en'
      onVerify={(token) => {
        console.log('token', token);
        setRecaptchaToken(token);
      }}
      onLoad={() => setInvisibleLoaded(true)}
      onFullChallenge={() => setInvisibleFailed(true)}
      verify={invisibleLoaded && !invisibleFailed}
      appVerificationDisabledForTesting={!Device.isDevice}
      invisible={true}
    />

I wanted to customize the appearance of the Recaptcha, so I used FirebaseRecaptcha directly and attempted to recreate the invisible verification. However, it seemed like neither onFullChallenge nor onVerify were ever called, even when verify and invisible are true.

Is this expected behavior?

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