From 651cb656bfaea89906de24ae5cf265317876bc02 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Mon, 18 Nov 2019 22:21:35 +0100 Subject: [PATCH] added disableVerticalScroll and disableHorizontalScroll webview options, updated example --- .idea/workspace.xml | 219 ++++--- CHANGELOG.md | 2 +- .../InAppWebView/InAppWebView.java | 51 ++ .../InAppWebView/InAppWebViewOptions.java | 2 + .../chrome_safari_browser_example.screen.dart | 92 +++ example/lib/chrome_safari_example.screen.dart | 49 -- .../lib/in_app_browser_example.screen.dart | 170 ++++++ example/lib/in_app_webiew_example.screen.dart | 573 ++++++++++++++++++ example/lib/inline_example.screen.dart | 453 -------------- example/lib/main.dart | 38 +- example/lib/webview_example.screen.dart | 137 ----- ios/Classes/InAppWebView.swift | 28 + ios/Classes/InAppWebViewOptions.swift | 2 + lib/src/webview_options.dart | 13 +- 14 files changed, 1065 insertions(+), 764 deletions(-) create mode 100644 example/lib/chrome_safari_browser_example.screen.dart delete mode 100644 example/lib/chrome_safari_example.screen.dart create mode 100644 example/lib/in_app_browser_example.screen.dart create mode 100755 example/lib/in_app_webiew_example.screen.dart delete mode 100755 example/lib/inline_example.screen.dart delete mode 100644 example/lib/webview_example.screen.dart diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 800cea43..81ceadcb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,15 +15,20 @@ + + + + - - - + + + + - - + + @@ -46,7 +51,7 @@ - + @@ -58,17 +63,17 @@ - - + + - - + + - - + + @@ -76,11 +81,23 @@ - + + + + + + + + + + + + + - - + + @@ -88,8 +105,8 @@ - - + + @@ -100,7 +117,7 @@ - + @@ -127,8 +144,6 @@ - FetchRequest - my-special-custom-scheme should resourceCustomSchemes WebHistory @@ -157,6 +172,8 @@ shouldIn onZaboHandlerCallback AndroidView + scalesPageToFit + scroll activity.getPreferences(0) @@ -182,9 +199,6 @@ - +