From f032b7f63512222db1f68645a26f0b22505b77f7 Mon Sep 17 00:00:00 2001 From: pichillilorenzo Date: Wed, 10 Oct 2018 01:52:27 +0200 Subject: [PATCH] v0.2.1, fixed InAppBrowser.injectScriptCode() method when there is not a return value, added InAppBrowser.onConsoleMessage() method to manage console messages #5 --- .idea/libraries/Flutter_Plugins.xml | 2 +- .idea/workspace.xml | 713 +++++++----------- CHANGELOG.md | 5 + README.md | 24 + android/.idea/.name | 1 + android/.idea/caches/build_file_checksums.ser | Bin 0 -> 492 bytes android/.idea/codeStyles/Project.xml | 29 + android/.idea/gradle.xml | 17 + android/.idea/misc.xml | 38 + android/.idea/modules.xml | 8 + android/.idea/runConfigurations.xml | 12 + android/gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 54329 bytes .../gradle/wrapper/gradle-wrapper.properties | 5 + .../InAppBrowserFlutterPlugin.java | 17 +- .../InAppBrowserWebChromeClient.java | 17 + .../InAppBrowserWebViewClient.java | 7 +- .../flutter_inappbrowser/WebViewActivity.java | 26 + example/android/build.gradle | 2 +- .../gradle/wrapper/gradle-wrapper.properties | 4 +- example/lib/main.dart | 41 +- .../InAppBrowserWebViewController.swift | 74 +- ios/Classes/SwiftFlutterPlugin.swift | 206 ++--- lib/flutter_inappbrowser.dart | 45 +- pubspec.yaml | 2 +- 24 files changed, 718 insertions(+), 577 deletions(-) create mode 100644 android/.idea/.name create mode 100644 android/.idea/caches/build_file_checksums.ser create mode 100644 android/.idea/codeStyles/Project.xml create mode 100644 android/.idea/gradle.xml create mode 100644 android/.idea/misc.xml create mode 100644 android/.idea/modules.xml create mode 100644 android/.idea/runConfigurations.xml create mode 100644 android/gradle/wrapper/gradle-wrapper.jar create mode 100644 android/gradle/wrapper/gradle-wrapper.properties diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml index 53449dae..65bb3679 100644 --- a/.idea/libraries/Flutter_Plugins.xml +++ b/.idea/libraries/Flutter_Plugins.xml @@ -1,5 +1,5 @@ - + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d9e42d70..cc95c879 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -8,16 +8,28 @@ + + + + + - - - - - - - - + + + + + + + + + + + + + + + @@ -33,92 +45,39 @@ - + - - - - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + - - - - - + + @@ -162,8 +121,8 @@ sourceFile hideUrlBar InAppBrowser - ### presentationStyle + ### activity.getPreferences(0) @@ -171,15 +130,13 @@ com.pichillilorenzo.flutter_inappbrowser flutter_inappbrowser + + $PROJECT_DIR$/example/android + - - - - - - - - - - - - - - - @@ -243,7 +189,7 @@ - + @@ -255,25 +201,35 @@ - - + + + + + + + + + +