From 5e272c460f64813521799aeffa188e5964aea3e1 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Sat, 14 Dec 2019 16:08:15 +0100 Subject: [PATCH] fix #182, updated java classes for Flutter 1.12 new Java Embedding API (Android) --- .idea/workspace.xml | 554 ++++++++++-------- CHANGELOG.md | 4 +- README.md | 7 +- .../CredentialDatabaseHandler.java | 9 +- .../flutter_inappwebview/FlutterWebView.java | 41 +- .../FlutterWebViewFactory.java | 9 +- .../flutter_inappwebview/InAppBrowser.java | 12 +- .../InAppBrowserActivity.java | 1 - .../InAppWebView/InAppWebView.java | 474 +-------------- .../InAppWebViewChromeClient.java | 37 +- .../InAppWebView/InAppWebViewClient.java | 5 +- .../InAppWebView/InAppWebViewOptions.java | 1 - .../InAppWebViewFlutterPlugin.java | 82 ++- .../InAppWebViewStatic.java | 12 +- .../JavaScriptBridgeInterface.java | 1 - .../flutter_inappwebview/MyCookieManager.java | 15 +- .../flutter_inappwebview/Shared.java | 12 + .../flutter_inappwebview/Util.java | 17 +- example/test_driver/app_test.dart | 6 +- flutter_inappwebview.iml | 1 - lib/src/webview_options.dart | 15 +- .../index.js | 20 +- .../public/{index.html => test-index.html} | 0 pubspec.yaml | 4 +- test.sh | 1 + 25 files changed, 488 insertions(+), 852 deletions(-) rename nodejs_server_test_auth_basic_and_ssl/public/{index.html => test-index.html} (100%) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9995527d..9ce47bd8 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,6 +6,7 @@ + @@ -16,13 +17,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -42,11 +90,11 @@ - + - - + + @@ -54,23 +102,20 @@ - - + + - - - - - + + - + - - + + @@ -79,46 +124,11 @@ - + - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -126,10 +136,31 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + @@ -146,13 +177,6 @@ - defa - InAppWebViewStatic - removeFromSuperview - onCall - onLoad - printCu - onLoadRe onPrint ontARGET onCreateWindow @@ -173,9 +197,16 @@ ThreadedInputConnecti InputAwareWebView \n - dropDownWorkaroundEnabled debuggingEnabled + _inappweb \n" + + This workaround is applied as soon as the web page fires the `DOMContentLoaded` JavaScript event. + dispose + InAppWebViewOnCreateWindowTest + InAppWebViewOnTarget + InAppWebViewOnReceivedHttpAuthRequestTest + dropDownWorkaroundEnabled + mContext activity.getPreferences(0) @@ -199,9 +230,6 @@ - + +