From 36fc04c28526263d67c00ac9d413d6d8387b3451 Mon Sep 17 00:00:00 2001 From: pichillilorenzo Date: Fri, 26 Apr 2019 16:55:05 +0200 Subject: [PATCH] fix #74, merge #81 #83, fix javascript `...args` parameter of `window.flutter_inappbrowser.callHandler()` --- .idea/workspace.xml | 296 +++++++++--------- CHANGELOG.md | 7 + README.md | 3 +- .../InAppWebView/InAppWebView.java | 1 - .../InAppWebView/InAppWebViewOptions.java | 2 +- .../JavaScriptBridgeInterface.java | 4 +- example/lib/webview_example.screen.dart | 2 +- ios/Classes/InAppWebView.swift | 66 ++-- lib/flutter_inappbrowser.dart | 4 +- pubspec.yaml | 2 +- 10 files changed, 212 insertions(+), 175 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 48b812ad..59a276f9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -15,8 +15,21 @@ + + + + + + + + + + + + + @@ -36,50 +49,51 @@ - + + - + - + - - + + - + - - + + - + - + - + - + @@ -89,8 +103,8 @@ - - + + @@ -98,8 +112,8 @@ - - + + @@ -107,7 +121,7 @@ - + @@ -116,25 +130,33 @@ - - + + - - + + - + + + + + + + + + + - - + + - @@ -142,15 +164,6 @@ - - - - - - - - - @@ -162,11 +175,6 @@ - distributionUrl - args.putIfAbsent('isData', () => false); - VERSIONING_SYSTEM - config.build_settings['SWIFT_VERSION'] - BUILD TARGET InAppWebView { lookupMimeType AndroidView @@ -190,8 +198,13 @@ CallBac dart ``` - addJavaScriptHandler JavaScriptHandlerCallback + addJavaScriptHandler + indexTest + removeJavaScriptHandler + __safeBrowsingEnabled__ + __safe + __textZoom activity.getPreferences(0) @@ -239,21 +252,22 @@ - + +