Skip to main content

ar_captcha 2.0.0 copy "ar_captcha: ^2.0.0" to clipboard
ar_captcha: ^2.0.0 copied to clipboard

Flutter plugin for integrating ARCaptcha, providing a secure and customizable captcha solution for Android, IOS, Web apps.

Changelog #

All notable changes to this project will be documented in this file.

The format follows Keep a Changelog and adheres to Semantic Versioning.


2.0.0 #

  • Align public API with authorization_captcha
  • Restore CaptchaType.responsiveDialog with adaptive mobile/desktop layout
  • Keep captchaWidth, maxResponsiveDialogWidth, and dialogBarrierDismissible for dialog modes
  • Move CaptchaParams to lib/model/captcha_params.dart
  • Keep Safari-safe web iframe registration

1.2.1 #

  • Change README

1.2.0 #

  • Fix Safari web compatibility issues
  • Refactor ArCaptcha parameter holder section
  • Update usage examples and previews

Previous usage:

.showCaptcha(
  context: context,
  mode: CaptchaType.dialog,
  onSuccess: (token) {},
  onError: (error) {},
)

New usage:

.showCaptcha(
  context: context,
  params: CaptchaParams(
    mode: CaptchaType.dialog,
    onSuccess: (token) {},
    onError: (error) {},
  ),
)

1.1.1 #

  • Add WASM support for web
  • Fix reported bug

1.1.0 #

  • Add Responsive Dialog mode
    • Automatically switches between modal bottom sheet (mobile) and dialog (desktop/tablet)
  • Improve adaptive UI behavior across platforms

1.0.9 #

  • Remove InAppWebView dependency due to connectivity issues in some countries
  • Replace InAppWebView with HtmlElementView
  • Add captchaWidth configuration for dialog mode
  • Fix reported issues

1.0.8 #

  • Add platform support for macOS, Windows, and Linux
  • Add new UI package screenshots

1.0.7 #

  • Fix loader color in dark mode

1.0.6 #

  • Change loader color in dark mode
  • Fix reported bugs

1.0.5 #

  • Remove background color in invisible mode
  • Fix reported bugs

1.0.4 #

  • Update color converter to support retrieving all color data

1.0.3 #

  • Fix Navigator pop issues in web dialogs to prevent _debugLocked errors
  • Add conditional captcha script execution based on DataSize (normal vs. invisible)
  • Improve color handling with an extended list of supported Material colors in colorToString()
  • Update documentation for ArCaptchaController properties and HTML data-* attributes
  • Fix minor bugs and improve WebView and InAppWebView integration performance
  • Fix reported bugs

1.0.2 #

  • Add support for additional platforms
  • Add dark theme support

1.0.1 #

  • Fix reported bug

1.0.0 #

  • Initial release of ar_captcha 🎉
  • Add support for rendering ArCaptcha in multiple modes:
    • Full screen page (CaptchaType.screen)
    • Dialog (CaptchaType.dialog)
    • Modal bottom sheet (CaptchaType.modalBottomSheet)
  • Introduce ArCaptchaController for configuration and lifecycle handling
  • Add success and error callbacks to handle captcha responses
  • Support web and mobile platforms with a unified API
3
likes
160
points
357
downloads

Documentation

API reference

Publisher

verified publisherfatemeshamohamadi.ir

Weekly Downloads

Flutter plugin for integrating ARCaptcha, providing a secure and customizable captcha solution for Android, IOS, Web apps.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

cupertino_ui, flutter, material_ui, modal_bottom_sheet, web, webview_flutter

More

Packages that depend on ar_captcha