# @manojkanth/react-native-google-recaptchav3

> A React native component to use the invisible recaptcha v3 from Google

Latest version **0.0.3** (published 2022-04-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @manojkanth/react-native-google-recaptchav3
pnpm add @manojkanth/react-native-google-recaptchav3
yarn add @manojkanth/react-native-google-recaptchav3
bun add @manojkanth/react-native-google-recaptchav3
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-04-04 |
| First published | 2022-04-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Manojkanth |
| Maintainers | manojkanth |
| Keywords | react-native, react-native-recaptchaV3, react-native-invisible-recaptchaV3, react-component, react-native-component, react, react native, mobile, ios, android, ui |

## Links

- npm: https://www.npmjs.com/package/@manojkanth/react-native-google-recaptchav3
- Repository: https://github.com/ManojKanth/React-native-google-recaptchav3
- Homepage: https://github.com/ManojKanth/React-native-google-recaptchav3#readme
- Issues: https://github.com/ManojKanth/React-native-google-recaptchav3/issues
- npm.io page: https://npm.io/package/@manojkanth/react-native-google-recaptchav3

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2022-04-04
- 0.0.2 — 2022-04-04
- 0.0.1 — 2022-04-04

## README

# React-native-google-recaptchaV3

A react native component that use the invisible reCAPTCHA v3 from Google

## Features

- Pure JS.
- Compatible with both iOS and Android.

## Tech


-  React Native Webview requires to run this component (https://github.com/react-native-webview/react-native-webview#readme)



## Installation


```sh
npm i @manojkanth/react-native-google-recaptchav3
npm i react-native-webview
```
## Example

Import this module:
```sh
import ReCaptchaComponent from '@manojkanth/react-native-google-recaptchav3';
```

Use as a component:
```sh
<ReCaptchaComponent
  ref={(ref) => this._recaptchRef = ref}
  captchaDomain={'https://yourowndomain.com'}
  siteKey={'sitekey'}
  onTokenReceived={(token) => Alert.alert('CAPTCHA', token)}/>
```


To get new token:
```sh
this._recaptchRef.refreshToken()
```


| Prop | Type | Optional | Default | Description |
| ------ | ------ | ------ | ------ | ------ |
| siteKey | String | NO | none | The site key provided by Google reCAPTCHA
| onTokenReceived | Function | NO | none | This returns captcha token from the component
| captchaDomain | String | NO | none | The url registered with Google reCAPTCHA

## Development

Any suggestion is welcome.

---
_Source: https://npm.io/package/@manojkanth/react-native-google-recaptchav3 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
