Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
bparrishMines committed Mar 17, 2023
commit 381441217869eeb488f5ce87b579d1d64f8f0a1c
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ Future<void> main() async {
android.WebChromeClient.api = WebChromeClientHostApiImpl();
android.WebViewClient.api = WebViewClientHostApiImpl();
android.DownloadListener.api = DownloadListenerHostApiImpl();

// Create a new `WebStorage` with the default InstanceManager.
android.WebStorage.instance = android.WebStorage();
},
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import 'webview_android_widget.dart';
/// https://github.com/flutter/flutter/wiki/Hybrid-Composition for more
/// information.
class SurfaceAndroidWebView extends AndroidWebView {
/// Constructs an [SurfaceAndroidWebView].
/// Constructs a [SurfaceAndroidWebView].
SurfaceAndroidWebView({@visibleForTesting super.instanceManager});

@override
Expand Down