Open ForceTower opened 5 years ago
@ForceTower you can implement by this way -> https://github.com/thareekanvar/react-native-firebase-phone-auth for me this work properly
Have the same problem. Any updates?
Andrey, in my case, after going through a Google Codelab on CAPTCHA, I realized that the recaptcha we where using was the v2... Then I created a solution using a webview and the code on the Codelab
Use this library
https://www.npmjs.com/package/react-native-secure-captcha-v3
I've been trying to use this component in an app but everytime it pop's up and i solve the challenge, it shows me that "Can't handle url: https://our_url.com/".
<ReCaptcha
onReady={() => console.log('on ready')}
siteKey={constants.CAPTCHA_SITE_KEY}
url={'https://our_url.com/'}
action={'verify'}
reCaptchaType={1}
onExecute={this.onCaptchaExecute} />
The onCaptchaExecute function just console logs the token but it's never called and neither is the on ready.
Tested on both iOS and Android.