react-native-recaptcha icon indicating copy to clipboard operation
react-native-recaptcha copied to clipboard

Can't handle url: "url"

Open ForceTower opened this issue 5 years ago • 4 comments

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.

ForceTower avatar Mar 20 '19 18:03 ForceTower

@ForceTower you can implement by this way -> https://github.com/thareekanvar/react-native-firebase-phone-auth for me this work properly

andrewvergel avatar Mar 24 '19 12:03 andrewvergel

Have the same problem. Any updates?

AndreyPatseiko avatar May 29 '19 09:05 AndreyPatseiko

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

ForceTower avatar May 29 '19 10:05 ForceTower

Use this library

https://www.npmjs.com/package/react-native-secure-captcha-v3

amitmehtacode avatar May 09 '24 19:05 amitmehtacode