Please provide the following:
- SDK Version: 43
- Platforms(Android/iOS/web/all): iOS
- 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?