webview_ultra 0.0.6+8 copy "webview_ultra: ^0.0.6+8" to clipboard
webview_ultra: ^0.0.6+8 copied to clipboard

An ultra-optimized, feature-complete, lightweight multi-platform webview plugin for Flutter (Android, iOS, macOS, Windows).

0.0.6+8 #

  • Ecosystem & Engine Updates: Upgraded core platform dependencies to the latest stable releases: webview_flutter: ^4.14.1, webview_flutter_android: ^4.10.0, webview_flutter_wkwebview: ^3.26.1, webview_flutter_platform_interface: ^2.12.0, and file_selector: ^1.0.3.
  • Platform Alignment: Verified full cross-platform compatibility with updated WebKit, Android WebView, and Windows WebView2 bindings.

0.0.5+7 #

  • iOS & macOS JavaScript Dialog Support: Hooked up onJsAlert, onJsConfirm, and onJsPrompt in WebKitWebViewController across iOS and macOS to prevent dialog freezes and ensure full parity with Android.
  • Safari Web Inspector (iOS 16.4+ & macOS 13.3+): Enabled setInspectable(true) by default to allow remote debugging via Safari Developer Tools.
  • Media Playback User Gesture Restriction: Passed mediaTypesRequiringUserActionForPlayback in WebKitWebViewControllerCreationParams on iOS/macOS according to WebviewSettings.mediaPlaybackRequiresUserGesture.
  • iOS Link Previews Support: Enabled setAllowsLinkPreview based on WebviewSettings.allowsLinkPreview.
  • macOS Deployment Target: Updated macos/webview_ultra.podspec deployment target to macOS 10.15 for modern WebKit API support.

0.0.4+6 #

  • Built-in Native File Picker (flutter_inappwebview parity): Integrated official file_selector package to automatically launch the native OS file picker when an HTML <input type="file"> upload button is clicked, without requiring manual setup.

0.0.4+5 #

  • Multi-Platform File Upload & Chooser Support: Added full support for HTML <input type="file"> across Android, iOS, macOS, and Windows.
  • Custom File Chooser Callback: Added onShowFileChooser callback in WebviewUltraController and WebviewUltra widget, enabling custom file and photo picker handling using Flutter packages (e.g., file_picker, image_picker).
  • Android WebChromeClient File Chooser: Implemented file selection bridging via setOnShowFileSelector and native onShowFileChooser in UltraWebView.kt.
  • File Access Settings: Added allowFileAccess, allowFileAccessFromFileURLs, and allowUniversalAccessFromFileURLs to WebviewSettings.

0.0.3+4 #

  • Platform Support Declarations: Added formal flutter.plugin.platforms configuration in pubspec.yaml for Android, iOS, macOS, Windows, and Linux to ensure full 20/20 platform support score recognition on pub.flutter-io.cn.

0.0.2+3 #

  • OSI License Compliance: Standardized LICENSE file text to canonical OSI-approved MIT format for full pub.flutter-io.cn score recognition.

0.0.2+2 #

  • Windows Mouse Scroll Engine: Implemented element-targeted pointer scroll dispatch on Windows desktop, ensuring mouse wheel events scroll the exact container under the cursor (including modals, sidebars, kanbans, and SPAs with fixed headers).
  • Desktop Platform API Implementations: Added scrollTo(), scrollBy(), getScrollPosition(), and getTitle() to DesktopPlatformWebViewController.
  • Platform-Adaptive Pull-to-Refresh: Restricted RefreshIndicator gesture handling to mobile platforms (Android/iOS) to prevent mouse scroll conflicts on desktop.
  • iOS & macOS Podspec Validation: Updated iOS and macOS podspecs with accurate package metadata, repository URLs, and author details.
  • SDK Compatibility: Refined SDK environment constraint to '>=3.0.0 <4.0.0'.

0.0.1+1 #

  • Initial Release of webview_ultra: An ultra-optimized, lightweight, and feature-complete multi-platform webview plugin for Flutter.
  • Core Foundation: Built on the official Google-maintained webview_flutter Pigeon engine (Android, iOS, macOS) and Microsoft Edge WebView2 (Windows).
  • Zero-Screen-Rebuild Architecture: Fine-grained ValueNotifier reactive slices (progress, url, title, isLoading, history, error, composite state) and dedicated builder widgets (WebviewProgressBuilder, WebviewUrlBuilder, WebviewTitleBuilder, WebviewHistoryBuilder, WebviewStateBuilder).
  • Bidirectional JS RPC Bridge: Typed JavaScriptBridge supporting Promise-based communication via window.webview_ultra.callHandler() and window.flutter_inappwebview.callHandler().
  • User Scripts: Cross-platform script injection at atDocumentStart and atDocumentEnd.
  • Headless Webview: HeadlessWebviewUltra for running off-screen background tasks, web scraping, and token retrieval without widget tree attachment.
  • InAppBrowser Modal: InAppBrowserUltra with customizable navigation bars, dynamic address bar, and history controls.
  • Cookie & Storage Manager: CookieManagerUltra for setting, getting, and clearing cookies across platforms.
  • Content Blocker Engine: ContentBlocker with regex matching, ifDomain, and unlessDomain rules.
  • Find on Page: FindInteractionController with text highlight spans and forward/backward match traversal.
  • JS Dialog Interceptions: Custom Dart handlers for onJsAlert, onJsConfirm, and onJsPrompt.
3
likes
160
points
5
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An ultra-optimized, feature-complete, lightweight multi-platform webview plugin for Flutter (Android, iOS, macOS, Windows).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

file_selector, flutter, flutter_web_plugins, plugin_platform_interface, webview_flutter, webview_flutter_android, webview_flutter_platform_interface, webview_flutter_wkwebview, webview_windows

More

Packages that depend on webview_ultra

Packages that implement webview_ultra