Comments (10)
I'm seeing this as well. why is this library sending you to the url when ReCaptcha is used?
from react-native-recaptcha.
Hello!
Same issue is happening to me
<ReCaptcha url={Config.API_URL} siteKey={Config.RECAPTCHA_SITE_KEY} action="verify" />
this is how I use the component with API_URL being the string to my api
"http://....."
and site key the key given by google admin consolewhen the captcha is loading, it just opens a browser and redirect to the url
I'm also seeing this issue now. As a temporary workaround, I appended "/" at the end of the the API_URL to prevent the redirect. I'll look into releasing an actual fix for this soon. Feel free to let me know if that workaround doesn't work for you.
from react-native-recaptcha.
Hello!
siteKey
is supposed to be the key available on your google admin console. Could you try setting the url
prop to the domain (also the one you're being redirected to) that is associated to that siteKey
?
from react-native-recaptcha.
I did, url is pointing to my domain. Whenever the app loads, it takes me out of the app and loads the domain in a browser tab.
from react-native-recaptcha.
Hello! Could one of you ( @polpenaloza , @Losapioj ) please post a screenshot or an example of how you're using the ReCaptcha component? I'm having trouble reproducing this.
Thanks,
from react-native-recaptcha.
Hello!
Same issue is happening to me
<ReCaptcha
url={Config.API_URL}
siteKey={Config.RECAPTCHA_SITE_KEY}
action="verify"
/>
this is how I use the component with API_URL being the string to my api "http://....."
and site key the key given by google admin console
when the captcha is loading, it just opens a browser and redirect to the url
from react-native-recaptcha.
I don't know if this happens to me or not - I get a white screen when I include the Recaptcha. May be because the domain is not a live domain but a local one which is not hosted on my device so it's unable to load it.
from react-native-recaptcha.
<ReCaptcha
containerStyle={{height: 200, width: '100%', marginTop: 'auto', borderWidth: 1,}}
siteKey="Site_Key"
url='Domain_From_Admin_Console'
action='verify'
onReady={this.onReady.bind(this)}
onExecute={this.captureResponseToken.bind(this)}
/>
Any thoughts on how can i fix this ??
from react-native-recaptcha.
@sarangvasishth Try to add to your url parameter "http://"
from react-native-recaptcha.
Related Issues (11)
- Webview has been removed from react-native HOT 6
- Execute not working in iPhone HOT 4
- Unused code in MessageWebView: postMessage HOT 2
- Not receiving any response in onExecute HOT 2
- Invalid argument supplied to oneOf, expected an instance of array. HOT 2
- Example of use HOT 27
- Unhandled promise rejection Error: Unable to open URL: about:blank HOT 1
- Can't handle url: "url" HOT 4
- Manually send a request to recaptcha. HOT 2
- Invisible captcha not rendered properly on iOS HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-recaptcha.