Coder Social home page Coder Social logo

react-native-recaptcha's Introduction

react-native-recaptcha

A react native wrapper for google recaptcha v3

Installation

npm install --save react-native-recaptcha-v3

Usage

<ReCaptcha {...props} />

Props

  • containerStyle An object that specifies the display style for the reCaptcha badge.

  • siteKey A string representing the siteKey provided in the Google reCaptcha admin console.

  • url URL associated with the app (This is the domain url that you registered on Google Admin Console when getting a siteKey)

  • action A string representing the ReCaptcha action (Refer to the ReCaptcha v3 document)

  • reCaptchaType: Currently two types of reCaptchas are supported:

    • invisible: Invisible reCaptcha do not require the users to solve a challenge. Refer to the reCaptcha V3 documentation for further information
    • normal: Normal reCaptcha may often require the user to click on a "I am not a robot" checkbox and solve a challenge (reCaptcha V2) - NOTE: This is meant to be used only with the firebase projects since firebase doesn't yet support reCaptcha v3.
  • config: Firebase project config found in the firebase console. This prop is only required when using the normal reCaptcha

  • onExecute A function to handle the response of ReCaptcha. Takes in a parameter that represents the response token from the ReCaptcha.

Contribution

Feel like contribution to this repository? The steps are simple:

  • Fork the repository
  • Make the changes you'd like to see
  • Create a PR and wait for it to be approved by two people before merging

Applications using react-native-recaptcha-v3

Pool App : https://www.poolapp.io

Thank-you for using react-native-recaptcha-v3 ๐Ÿ˜€ Feel free to also leave any feedback or change requests you may have.

react-native-recaptcha's People

Contributors

acsant avatar amirbhz86 avatar

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.