PackageTrack
Sign in Get early access

g_recaptcha_v3

Google reCAPTCHA v3 plugin for Flutter Web. A Google reCAPTCHA is a free service that protects your website from spam and abuse.

1.1.0 27K downloads/mo #1923 most downloaded on pub.dev bharathraj-e/g_recaptcha_v3

What this package is like to depend on

Last release 2 months ago

10 Jun 2026

Ships fairly regularly

a new release about every 11 months

Nearly every release is documented

notes for 6 of 6 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

8 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

8 releases · Nov 2021 to Jun 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 1.1.0 10 Jun 2026
    Release notes

    Features

    • reCAPTCHA Enterprise support via ready(useEnterprise: true).
    • ready(useRecaptchaNet: true) loads the script from recaptcha.net for regions where google.com is blocked.
    • ready(badgeLanguage: 'fr') sets the badge language (hl query parameter).
    • ready(scriptNonce: ...) applies a CSP nonce to the injected script tag.
    • New GRecaptchaV3.isReady getter.
    • Typed exceptions: execute() now throws GRecaptchaNotReadyException when called before ready(), and execute(throwOnError: true) throws GRecaptchaExecutionException on failure instead of returning null.

    Fixes

    • ready() no longer hangs forever — it now times out and returns false if the reCAPTCHA script fails to load or grecaptcha.ready never fires (e.g. invalid site key, blocked network, ad-blocker).
    • Script load errors are detected immediately via onError instead of waiting out the timeout.
    • Replaced the fixed 500ms post-load delay with polling for the grecaptcha global.
    • Fixed showBadge: false race — the badge element is inserted asynchronously by reCAPTCHA, visibility changes now retry until the badge appears.
    • Logging only happens in debug mode.
    • Removed unused method channel boilerplate and fixed doc typos.

    Housekeeping

    • Added unit tests (VM + browser) and a GitHub Actions CI workflow.
    • Reworked README (automatic script injection, advanced options, error handling) and API doc comments.
    • Minimum SDK raised to Dart 3.4 / Flutter 3.22.
    Open source →
  2. 1.0.0 21 Dec 2024
    Release notes
    • WASM support added.
    • no need to do add script tag in html file. The package will do it automatically.
    • More Optimization.
    Open source →
  3. 0.0.6 09 Feb 2024
    Release notes
    • Js package Updated.
    Open source →
  4. 0.0.5 12 Jun 2022
    Release notes
    • Added bool return for ready()
    • Readme updated.
    Open source →
  5. 0.0.4 28 Nov 2021
    Release notes

    Fixed dart html error during native builds

    Open source →
    Release notes
    • Fixed dart html error during android / ios build
    Open source →
  6. 0.0.3 20 Nov 2021
    Release notes Open source →
    Release notes
    • Added Show/hide reCaptcha badge.
    Open source →
  7. 0.0.2-beta 17 Nov 2021 pre-release
    Release notes
    • Recaptcha Typo fixes.
    • NoSuchMethodError: tried to call a non-function, such as null: 'dart.global.ready' fixed
    Open source →
  8. 0.0.1-beta 14 Nov 2021 pre-release
    Release notes
    • Initial release for Web only platform.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive