Comments (5)
When using "invisible" type you need to create Google Recaptcha key in Invisible mode.
https://www.google.com/recaptcha/admin/create
There's nothing we can do beyond that.
from react-native-recaptcha-that-works.
Hi @Rc85, could you provide an example of your problem?
from react-native-recaptcha-that-works.
I'm encountering the same issue. When opening it, I get the alert with err= null.
<Recaptcha ref={$recaptcha} lang="en" size="invisible" theme="light" onLoad={() => null} onClose={() => null} onError={err => { alert('onError event'); console.warn('err', err); }} onExpire={() => alert('onExpire event')} onVerify={token => { alert('onVerify event:'+ token); setKey(token); }} />
from react-native-recaptcha-that-works.
Hi there I am having the exact same issue on Android? I have made sure that I have reCaptcha v2 with the invisible option ticket.
I trigger the captcha and the modal opens but shows no captcha just the badge in the bottom right, it does work when I set size="normal"
, and it does work on iOS just not Android?
I also have the following recptacha:
<Recaptcha
headerComponent={
<SafeAreaView style={styles.captchaTitleContainer}>
<NavigationModalCloseButton onPress={this.onCaptchaClose} />
<Text style={styles.captchaTitle}>{st.recaptcha.title()}</Text>
<View style={styles.spacer} />
</SafeAreaView>
}
style={{ backgroundColor: colors.gray4 }}
modalProps={{ presentationStyle: 'pageSheet', animationType: 'slide', transparent: false }}
ref={this.captchaRef}
siteKey={V2_INVISIBLE_KEY}
baseUrl={RE_CAPTCHA_BASE_URL}
onVerify={this.onCaptchaVerify}
onClose={this.onCaptchaClose}
onError={this.onCaptchaError}
loadingComponent={
<View>
<Text style={styles.loadingText}>{st.recaptcha.loading()}</Text>
</View>
}
size='invisible'
/>
from react-native-recaptcha-that-works.
Please create a new issue with a demo.
from react-native-recaptcha-that-works.
Related Issues (20)
- Question: Which domain should I put in baseUrl? HOT 1
- It always shows the challenges when open reCAPthcha. It happens in any situation. HOT 6
- [chore]: turn loading render optionally HOT 4
- In invisible size, custom domain is not working HOT 4
- Unable to close the modal of Recaptcha HOT 2
- I am not getting any response HOT 5
- Remove the loading indicator or activity indicator HOT 1
- Blocking the UI HOT 3
- TurboModuleRegistry.getEnforcing(...): 'RNCWebView' could not be found. Verify that a module by this name is registered in the native binary. HOT 2
- Chrome Certificate Transparency log list v2 turndown HOT 4
- Facing issue inside modals HOT 1
- Encountering 'onError' Triggered Issue with reCAPTCHA: Help Needed! HOT 1
- Support of React Native Web ? HOT 1
- Vertically center HOT 7
- Not working in production HOT 1
- Creating a site key for android and iOS HOT 5
- Image Selection Card White Background HOT 3
- [Android] Failed to call method WebViewMessageHandler1.onMessage() HOT 3
- I can't change the style of the recpatcha widget HOT 6
- Only size="invisible" is working when enterprise is true HOT 5
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-that-works.