react-native-recaptcha-v4 v0.0.14
react-native-recaptcha
A react native wrapper for google recaptcha v3
Installation
npm install --save react-native-recaptcha-v3Usage
<ReCaptcha {...props} />Props
containerStyleAn object that specifies the display style for the reCaptcha badge.siteKeyA string representing the siteKey provided in the Google reCaptcha admin console.urlURL associated with the app (This is the domain url that you registered on Google Admin Console when getting a siteKey)actionA 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 informationnormal: 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 reCaptchaonExecuteA 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.
6 years ago