Skip to content
pubscout

flutter_easy_recaptcha_v2

0.1.0, released 2 years ago by schooly.tn

Integrates Google reCAPTCHA v2 into your Flutter app.

$ flutter pub add flutter_easy_recaptcha_v2
Source repository

What it does

Enables seamless integration of Google reCAPTCHA v2 into your app using an in-app web view without needing an external web page. It provides a widget to render the captcha and handles verification tokens.

AI-written summary of version 0.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to implement Google reCAPTCHA v2 verification within your Flutter app
  • You want to display reCAPTCHA in a bottom sheet or widget without external browser setup

Skip it when

  • You need reCAPTCHA v3 instead of v2
  • You cannot allow cleartext traffic on Android apps

Strengths

  • Embeds reCAPTCHA v2 directly inside the app
  • Easy to configure and use with simple callbacks

Weaknesses

  • Requires enabling cleartext traffic on Android
  • Relies on webview integration

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
2

Android requires adding android:usesCleartextTraffic="true" under the application tag in AndroidManifest.xml.

RecaptchaV2(
  apiKey: "Your api key",
  onVerifiedSuccessfully: (token) async {
    log("Recaptcha token $token");
  },
)

Alternatives

Packages that do the same job and could replace flutter_easy_recaptcha_v2.

Works with

Packages commonly used together with flutter_easy_recaptcha_v2: ones it builds on, ones built on it, and its own family.