New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-mtcaptcha

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-mtcaptcha

MTCaptcha library for React Native app

latest
Source
npmnpm
Version
0.6.4
Version published
Maintainers
0
Created
Source

react-native-mtcaptcha

MTCaptcha library for React Native library

Installation

npm install react-native-mtcaptcha

Usage

import { MTCaptcha } from 'react-native-mtcaptcha';


Dependencies

react-native-webview (https://github.com/react-native-community/react-native-webview)

Properties

NameTypeDescription
siteKey (required)stringSite key associated with the site. It can be fetched from admin portal. For more info please visit https://www.mtcaptcha.com/dev-guide
domainName (required)stringFully qualified doamin name configured in MTCaptcha admin portal e.g https://www.mtcaptcha.com
langstringMTCaptcha supports more than 100 languages. Please refer https://www.mtcaptcha.com/faq-custom-text-language
styleViewStyle (refer here)Style for the webview
widgetSizestringSupported values are mini and standard. Default is standard
themestringFind the different thme which can be set for captcha here
actionstringTag for captcha alatytics. e.g mobile Read more https://www.mtcaptcha.com/dev-guide-captcha-action
customLangTextJSONAll text and language can be customed. Please read more https://www.mtcaptcha.com/dev-guide-custom-messages.
customStyleJSONTo set custom style for the cpatcha widget. Please refer https://www.mtcaptcha.com/faq-custom-style
enableTestModestringThis optimises captcha widget for automated testing please refer https://www.mtcaptcha.com/dev-guide-automated-testing
onCaptchaVerifiedfunctionThis is a callback function when the captcha is verified
onCaptchaExpiredfunctionThis is a callback function when the captcha is expired
onErrorfunctionThis is a callback function when the captcha results in error such as invalid site key, un recognized doamin

License

MIT

Made with create-react-native-library

Keywords

react-native

FAQs

Package last updated on 16 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts