react-native-google-recaptcha-v3
Minimal implementation of Google Recaptcha V3 in React Native Webview
Version 0.0.2 License MIT
Keywords
react-nativereact-componentreact-native-componentreactreact nativemobileiosandroiduirecaptcharecaptchav3google recaptcha
<script src=" https://cdn.jsdelivr.net/npm/react-native-google-recaptcha-v3@0.0.2/config/config.min.js "></script>
No default JS file set by the package author so the URL is guessed. You can always browse all package files to use another one.
react-native-google-recaptcha-v3
A simple minimal implementation of google recaptcha v3 in react-native
Installation
yarn:
yarn add react-native-google-recaptcha-v3
npm:
npm i react-native-google-recaptcha-v3
install react-native-webview:
Usage
import ReactNativeRecaptchaV3 from 'react-native-google-recaptcha-v3';
<View style={{flex: 1}}>
<ReactNativeRecaptchaV3
onCheck={(key) => console.log(key)}
url={url}
siteKey={sitkey}
/>
</View>
Documentation
Props
Name | Description | Default | Type |
---|---|---|---|
onCheck | function returning validation key | null | Func |
siteKey | sitekey get from google | null | String |
url | url that you registered your account | null | String |
Contributing
Pull request are welcome i made this component because others that are avalible in npm are not working.
Author
Adrian Warkocz