Skip to main content

webview_all_ohos 1.4.11 copy "webview_all_ohos: ^1.4.11" to clipboard
webview_all_ohos: ^1.4.11 copied to clipboard

OpenHarmony implementation of the webview_all federated WebView plugin.

webview_all_ohos #

This package is part of webview_all. Use webview_all directly in your application. Do not depend on this platform implementation package directly.

A WebView component for all Flutter platforms, compatible with the webview_flutter API.

Platform Support Implementation
Android API 24+ WebView
iOS 13.0+ WKWebView
macOS 10.15+ WKWebView
Windows Win10 1809+ WebView2
Linux webkit2gtk-4.1 WebKitGTK
OHOS API 22+ ArkWeb
Web Any js-interop

Features #

  • Comprehensive support for all platforms
  • Full compatibility with the webview_flutter API
  • Widely used in established commercial applications
  • Additional features:
    • Promise-aware asynchronous JavaScript calls
    • Custom JavaScript injection before page scripts execute
    • Desktop download controls and Windows debugging and shortcut settings
    • Richer Web interactions and iframe configuration
    • Website data cleanup without a controller
    • Offscreen WebView sessions that can be explicitly closed
    • Custom download handling and progress callbacks

Quick Start #

  1. Instantiate a WebViewController:
controller = WebViewController()
  ..setJavaScriptMode(JavaScriptMode.unrestricted)
  ..loadRequest(Uri.parse('https://flutter.dev'));
  1. Pass controller to WebViewWidget:
@override
Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(title: const Text('Flutter Simple Example')),
    body: WebViewWidget(controller: controller),
  );
}

For detailed usage, API coverage, and platform limits, see the Documentation.

Who's Using It? #

  • Wildfire IM official Flutter client: A well-established commercial IM/RTC platform.
  • GodotHub official client: A much-loved Godot community platform.
  • PiliPlus: An open-source Bilibili client with 20K+ stars.
  • Operit2: An AI agent for all platforms.
  • Miru new client: A popular video, manga, and novel aggregation app.
  • SubDock desktop client: The official app for running and managing Sub-Store.
  • OpenHarness desktop client: An AI workspace for coding agents and remote machines.
  • AnymeX: A cross-platform anime and manga tracking client.
  • ChessEver desktop client: A chess platform for live tournaments and game analysis.
  • Dartotsu: A cross-platform anime, manga, and novel tracking client.
  • Bili-music: A cross-platform music player for Bilibili.
  • ShonenX: Discover anime, track your progress, and stream, all in one app.
  • AFAN: An anime app with video slicing, web media detection, and custom playback sources.
0
likes
0
points
19.4k
downloads

Publisher

unverified uploader

Weekly Downloads

OpenHarmony implementation of the webview_all federated WebView plugin.

Repository (GitHub)
View/report issues

Topics

#webview #webview-flutter #ohos #openharmony #browser

License

unknown (license)

Dependencies

flutter, webview_platform_interface

More

Packages that depend on webview_all_ohos

Packages that implement webview_all_ohos