Git Product home page Git Product logo

Comments (5)

douglasjunior avatar douglasjunior commented on September 6, 2024 2

When using "invisible" type you need to create Google Recaptcha key in Invisible mode.

https://www.google.com/recaptcha/admin/create

image

There's nothing we can do beyond that.

from react-native-recaptcha-that-works.

douglasjunior avatar douglasjunior commented on September 6, 2024

Hi @Rc85, could you provide an example of your problem?

from react-native-recaptcha-that-works.

mirko1075 avatar mirko1075 commented on September 6, 2024

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.

scottgrunerud avatar scottgrunerud commented on September 6, 2024

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.

douglasjunior avatar douglasjunior commented on September 6, 2024

Please create a new issue with a demo.

from react-native-recaptcha-that-works.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.