ar_captcha
Flutter plugin for integrating ARCaptcha, providing a secure and customizable captcha solution for Android, IOS, Web apps.
1.3.4
fateme-shm/ar_captcha
What this package is like to depend on
Last release 2 months ago
17 Jun 2026
Release timing varies
gaps range from 8 days to 4 months
Most releases are documented
notes for 15 of 20 stable releases
13 versions withdrawn
withdrawn after publishing
11 months old
33 releases · first in 2025
33 releases in the last 12 months
see the full history below
Release timeline
33 releases · Sep 2025 to Jun 2026Releases
latest 33-
1.3.417 Jun 2026Nothing published for this version
-
1.3.317 Jun 2026Nothing published for this version
-
1.3.217 Jun 2026Nothing published for this version
-
1.3.017 Jun 2026Nothing published for this version
-
1.2.811 Jun 2026 withdrawnNothing published for this version
-
1.2.711 Jun 2026 withdrawnRelease notes
Open source →- Fixed Safari zero-height platform view (
rect=500x0) by applying explicit pixel dimensions toHtmlElementViewandflt-platform-view. - Pass
captchaHeight/captchaWidththrough to the web captcha view for reliable Safari layout. - Use
LayoutBuilderwith fixedSizedBoxinstead ofSizedBox.expandon web.
1.3.0
- Added an optional
useInAppWebViewOnWebflag toArCaptchaControllerso web mode can render withflutter_inappwebviewwhen desired. - Kept the existing web message bridge intact so captcha success and error callbacks continue to work reliably on web.
1.3.1
- Fixed Safari web rendering when
useInAppWebViewOnWebis enabled by forcing Safari to use the direct DOM captcha mount. - Kept
flutter_inappwebviewrendering available for non-Safari web browsers.
1.3.2
- Fixed Safari direct DOM callback registration by sanitizing generated JavaScript callback names.
- Fixed Safari captcha staying hidden behind the loader when the platform view id contains hyphens.
1.3.3
- Fixed Safari direct DOM mounting when the platform view is attached asynchronously.
1.3.4
- Fixed Safari blank captcha when the platform view connected but DOM content was never injected (
connected=true,children=0). - Replaced delayed mount retries with a
requestAnimationFramewatch that mounts as soon as the platform view is attached. - Remount captcha content during visibility and layout passes when the container is connected but empty.
- Set explicit pixel dimensions on the Safari container at creation to avoid Flutter platform view size warnings.
- Fixed Safari zero-height platform view (
-
1.2.611 Jun 2026 withdrawnRelease notes
Open source →- Fixed Safari blank captcha by mounting widget markup directly into the platform-view
divinstead of a nested iframe. - Safari now injects ArCaptcha scripts and DOM into
HtmlElementViewto avoid WebKit compositor bugs with blob iframes. - Namespaced captcha callbacks per view instance to avoid collisions on the host page.
- Only fire iframe
onLoadafter real content is assigned (ignore empty initial loads).
- Fixed Safari blank captcha by mounting widget markup directly into the platform-view
-
1.2.511 Jun 2026 withdrawnRelease notes
Open source →- Fixed Safari platform view not painting captcha content even when the Blob iframe loaded successfully.
- Deferred iframe content assignment until Flutter attaches the platform view to the DOM.
- Removed
aria-hiddenand applied Safari compositing fixes onflt-platform-viewancestors. - Disabled responsive dialog animations on Safari to avoid platform view layer bugs during transitions.
- Hide the Flutter loading overlay as soon as captcha content reports ready.
-
1.2.411 Jun 2026 withdrawnRelease notes
Open source →- Fixed Safari web white screen by loading captcha HTML via Blob URL instead of
srcdoc. - Added Safari browser detection utilities for web platform iframe handling.
- Fixed invalid
backgroundCSS in the captcha HTML template. - Added
deferto the ArCaptcha script tag for more reliable loading. - Skipped
ClipRRecton web to avoid Safari CanvasKit rendering issues withHtmlElementView.
- Fixed Safari web white screen by loading captcha HTML via Blob URL instead of
-
1.2.309 Jun 2026 -
1.2.209 Jun 2026Release notes
Open source →- Fixed the double
Navigator.popon web captcha success/error that could close the OTP screen underresponsiveDialog. - Added debug logging around captcha initiation and web lifecycle events to help trace captcha open, load, execute, success, and error flows.
- Fixed the double
-
1.2.109 Jun 2026 -
1.2.009 Jun 2026Release notes
Open source →- Fix problem in safari web
- change arCaptcha Param holder section
- Previews usage
.showCaptcha( context: context, mode: CaptchaType.dialog, onSuccess: (token) {}, onError: (error) {}, )- Now:
.showCaptcha( context: context, params: CaptchaParams( mode: CaptchaType.dialog, onSuccess: (token) {}, onError: (error) {}, ), ) -
1.1.908 Jun 2026 withdrawnNothing published for this version
-
1.1.808 Jun 2026 withdrawnNothing published for this version
-
1.1.708 Jun 2026 withdrawnNothing published for this version
-
1.1.608 Jun 2026 withdrawnNothing published for this version
-
1.1.507 Jun 2026 withdrawnNothing published for this version
-
1.1.407 Jun 2026 withdrawnNothing published for this version
-
1.1.307 Jun 2026 withdrawnNothing published for this version
-
1.1.207 Jun 2026 withdrawnNothing published for this version
-
1.1.107 Jun 2026 -
1.1.031 May 2026Release notes
Open source →- Added
Responsive Dialogmode- Automatically switches between modal bottom sheet (mobile) and dialog (desktop/tablet)
- Improved adaptive UI behavior across platforms
- Added
-
1.0.919 Apr 2026Release notes
Open source →- Remove InAppWebView library because of internet problem in some country
- Use HtmlElementView instead of InAppWebView
- Add
captchaWidthin dialog mode of captcha - Fix reported issue
-
1.0.816 Dec 2025Release notes
Open source →- Add platform support for macOS, windows, linux
- Add new screenshot of UI package
-
1.0.710 Nov 2025 -
1.0.609 Nov 2025 -
1.0.502 Oct 2025 -
1.0.416 Sep 2025 -
1.0.316 Sep 2025Release notes
Open source →- Fixed Navigator pop issues in web dialogs to prevent _debugLocked errors.
- Added conditional execution of the captcha script based on DataSize (normal vs invisible).
- Improved color handling with extended list of supported Material colors in colorToString().
- Updated documentation for ArCaptchaController properties and HTML data-* attributes.
- Minor bug fixes and performance improvements for WebView and InAppWebView integration.
- Fix reported bug
-
1.0.213 Sep 2025 -
1.0.113 Sep 2025 -
1.0.013 Sep 2025Nothing published for this version