File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 2.1.0
2+ * Added ` stoploading ` method to AdblockerWebviewController
3+ * Disable automatic media playback
4+
15## 2.0.0-beta
26* Added support for easylist and adguard filters
37* Added support for resource rules parsing
Original file line number Diff line number Diff line change @@ -189,13 +189,6 @@ class _AdBlockerWebviewState extends State<AdBlockerWebview> {
189189 ),
190190 onUrlChange: (change) => widget.onUrlChanged? .call (change.url),
191191 );
192- if (WebViewPlatform .instance is WebKitWebViewPlatform ) {
193- final WebKitNavigationDelegate webKitDelegate =
194- navigationDelegate.platform as WebKitNavigationDelegate ;
195- } else if (WebViewPlatform .instance is AndroidWebViewPlatform ) {
196- final AndroidNavigationDelegate androidDelegate =
197- navigationDelegate.platform as AndroidNavigationDelegate ;
198- }
199192 _webViewController.setNavigationDelegate (navigationDelegate);
200193 }
201194
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import 'dart:collection';
22
33import 'package:adblocker_webview/adblocker_webview.dart' ;
44import 'package:webview_flutter/webview_flutter.dart' ;
5- import 'package:webview_flutter_android/webview_flutter_android.dart' ;
6- import 'package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart' ;
75
86///Implementation for [AdBlockerWebviewController]
97class AdBlockerWebviewControllerImpl implements AdBlockerWebviewController {
You can’t perform that action at this time.
0 commit comments