From c7c0b9b67f4a218442ed8eb1cb5ec1a8e90780e8 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Fri, 5 Mar 2021 23:24:33 +0100 Subject: [PATCH] =?UTF-8?q?fix=20example,=20fix=C2=A0#703?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + example/lib/in_app_webiew_example.screen.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index aa0334ef..cbf9a4ba 100755 --- a/README.md +++ b/README.md @@ -332,6 +332,7 @@ class _MyAppState extends State { InAppWebViewController? webViewController; InAppWebViewGroupOptions options = InAppWebViewGroupOptions( crossPlatform: InAppWebViewOptions( + useShouldOverrideUrlLoading: true, mediaPlaybackRequiresUserGesture: false, ), android: AndroidInAppWebViewOptions( diff --git a/example/lib/in_app_webiew_example.screen.dart b/example/lib/in_app_webiew_example.screen.dart index e2a36130..7c819613 100755 --- a/example/lib/in_app_webiew_example.screen.dart +++ b/example/lib/in_app_webiew_example.screen.dart @@ -23,6 +23,7 @@ class _InAppWebViewExampleScreenState extends State { InAppWebViewController? webViewController; InAppWebViewGroupOptions options = InAppWebViewGroupOptions( crossPlatform: InAppWebViewOptions( + useShouldOverrideUrlLoading: true, mediaPlaybackRequiresUserGesture: false, ), android: AndroidInAppWebViewOptions(