ar_captcha 2.0.0
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.responsiveDialogwith adaptive mobile/desktop layout - Keep
captchaWidth,maxResponsiveDialogWidth, anddialogBarrierDismissiblefor dialog modes - Move
CaptchaParamstolib/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
InAppWebViewdependency due to connectivity issues in some countries - Replace
InAppWebViewwithHtmlElementView - Add
captchaWidthconfiguration 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
_debugLockederrors - 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
ArCaptchaControllerproperties and HTMLdata-*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)
- Full screen page (
- Introduce
ArCaptchaControllerfor configuration and lifecycle handling - Add success and error callbacks to handle captcha responses
- Support web and mobile platforms with a unified API