flutter_gcaptcha_v3
2.1.1, released 2 years ago by an unverified publisher
Provides a Flutter widget to integrate Google reCAPTCHA v3 on iOS and Android.
What it does
The plugin loads a WebView that renders the reCAPTCHA v3 challenge and returns a token after execution. Developers can then verify the token on their backend using Google’s verification API.
AI-written summary of version 2.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to protect form submissions or sensitive actions from bots in a Flutter mobile app
- You want a simple way to obtain a reCAPTCHA v3 token without building a custom WebView solution
Skip it when
- You target platforms other than Android or iOS (e.g., web, desktop)
- You require a fully native CAPTCHA implementation without WebView
Strengths
- Lightweight integration using existing webview_flutter
- Handles token generation and provides easy getter
- Supports custom hosted index.html for production URLs
Weaknesses
- Relies on WebView, which may affect performance
- Only works on mobile platforms; no web/desktop support
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
import 'package:flutter_gcaptcha_v3/flutter_gcaptcha_v3.dart';
final controller = GCaptchaController();
GCaptchaWebView(
controller: controller,
siteKey: 'YOUR_SITE_KEY',
url: 'https://yourdomain.com/index.html',
);
// Later, after execute:
String token = await controller.getCaptchaToken();Alternatives
Packages that do the same job and could replace flutter_gcaptcha_v3.
- gma_mediation_unity
Mediation adapter for Unity Ads to work with the google_mobile_ads Flutter plugin
81Compare - flutter_sliding_tutorial
A sliding tutorial widget with parallax effects for app onboarding.
62Compare - google_places_flutter
Google Places autocomplete TextField for Android, iOS, web, desktop.
58Compare - cell_calendar
A customizable Flutter calendar widget inspired by Google Calendar.
57Compare
Works with
Packages commonly used together with flutter_gcaptcha_v3: ones it builds on, ones built on it, and its own family.