From ade4480c6dfde5463e296c7e1c31d661475032d6 Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Sun, 1 Dec 2019 12:55:06 +0100 Subject: [PATCH] Fixed error 'java.lang.ClassCastException: cannot be cast to android.view.WindowManagerImpl' on Android when using native alert dialogs, updated README.md with Xcode version required --- .idea/workspace.xml | 405 +++++++----- CHANGELOG.md | 4 + README.md | 4 +- .../InAppWebViewChromeClient.java | 6 +- .../ios/Flutter/flutter_export_environment.sh | 3 +- example/ios/Runner.xcodeproj/project.pbxproj | 4 + example/pubspec.yaml | 1 + .../in_app_webview_on_load_error_test.dart | 2 +- lib/src/channel_manager.dart | 10 +- lib/src/chrome_safari_browser.dart | 62 +- lib/src/content_blocker.dart | 62 +- lib/src/cookie_manager.dart | 57 +- lib/src/http_auth_credentials_database.dart | 43 +- lib/src/in_app_browser.dart | 253 ++++---- lib/src/in_app_localhost_server.dart | 15 +- lib/src/in_app_webview.dart | 481 +++++++++----- lib/src/types.dart | 595 ++++++++++++++---- lib/src/webview_options.dart | 370 ++++++++--- pubspec.yaml | 2 +- 19 files changed, 1623 insertions(+), 756 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7982ae7e..1e99327e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,7 +15,25 @@ + + + + + + + + + + + + + + + + + + @@ -35,12 +53,13 @@ - + - - + + + @@ -51,33 +70,33 @@ - - + + - - + + - - - - - - - - - - - + + - + + + + + + + + + + @@ -90,13 +109,6 @@ - reload - methods - class - HttpAuthCredentialDatabase - ### - ##### - loadFile window. onLoadHttpError microphone @@ -117,9 +129,16 @@ [InAppBrowser] Response({ flutter_inappbrowser - flutterInAppBrowserPlatformReady InAppBrowser PlatformRead + flutterInAppBrowserPlatformReady + llowContentAccess + ppCache + onReceivedClientCertRequest + a SSL + iltInZoomControls + databaseEnabled + Cookie activity.getPreferences(0) @@ -142,13 +161,10 @@ - + +