@capgo/capacitor-recaptcha
Overview
Section titled “Overview”Configure site keys in capacitor.config.ts, run execute() for actions like login, and verify tokens on your backend.
Platform support
Section titled “Platform support”| Platform | Support | Notes |
|---|---|---|
| iOS | Yes | Enterprise mobile SDK |
| Android | Yes | Enterprise mobile SDK |
| Web | Yes | Enterprise or v3 |
Core Capabilities
Section titled “Core Capabilities”load- Loads and caches the platform reCAPTCHA client.execute- Runs reCAPTCHA for an action and returns a token.getPluginVersion- Returns the native implementation version marker.
Platform Support
Section titled “Platform Support”| Platform | Support |
|---|---|
| Web | reCAPTCHA v3 with api.js, or reCAPTCHA Enterprise with enterprise.js |
| Android | Google mobile reCAPTCHA SDK. Native regular reCAPTCHA v3 is not a separate mode; enterprise: false is rejected. |
| iOS | Google RecaptchaEnterprise SDK. Native regular reCAPTCHA v3 is not a separate mode; enterprise: false is rejected. |
Public API
Section titled “Public API”| Method | Description |
|---|---|
load | Loads and caches the reCAPTCHA client for the current platform. |
execute | Executes reCAPTCHA for an action and returns a token for backend assessment. |
getPluginVersion | Returns the platform implementation version marker. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-recaptcha.
Keep going from @capgo/capacitor-recaptcha
Section titled “Keep going from @capgo/capacitor-recaptcha”If you are using @capgo/capacitor-recaptcha to plan authentication and account flows, connect it with Using @capgo/capacitor-recaptcha for the native capability in Using @capgo/capacitor-recaptcha, @capgo/capacitor-social-login for the implementation detail in @capgo/capacitor-social-login, @capgo/capacitor-passkey for the implementation detail in @capgo/capacitor-passkey, @capgo/capacitor-native-biometric for the implementation detail in @capgo/capacitor-native-biometric, and Two-factor authentication for the implementation detail in Two-factor authentication.