Skip to content
pubscout

recaptcha_enterprise_flutter

18.9.4, released 2 weeks ago by cloud.google.com

A Flutter plugin for reCAPTCHA Enterprise security protection.

WASM-ready
$ flutter pub add recaptcha_enterprise_flutter
Source repository

What it does

Integrates Google reCAPTCHA Enterprise into Flutter applications for iOS and Android. It allows fetching a client via site keys and executing actions like login or registration to obtain a verification token.

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

Use it when

  • You need to protect your mobile app actions against bots and fraudulent traffic using reCAPTCHA Enterprise.
  • You are building an app for Android and iOS that requires security token verification on user actions.

Skip it when

  • You are targeting platforms other than Android and iOS.
  • You do not use Google Cloud reCAPTCHA Enterprise backend services.

Strengths

  • Official plugin supporting reCAPTCHA Enterprise for Flutter.
  • Simple client initialization and action execution flow.

Weaknesses

  • Limited to Android and iOS platforms.
  • Requires platform-specific site keys and configuration setup.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
1

Requires obtaining reCAPTCHA Enterprise site keys for both Android and iOS from the Google Cloud Console, and setting them up in native app configurations.

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  final siteKey = Platform.isAndroid ? '<ANDROID_SITE_KEY>' : '<IOS_SITE_KEY>';
  RecaptchaClient client = await Recaptcha.fetchClient(siteKey);
  runApp(MyApp(client: client));
}

Alternatives

Packages that do the same job and could replace recaptcha_enterprise_flutter.

Works with

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