78 Commits

Author SHA1 Message Date
Lorenzo Pichilli
3106caf437 fix iOS setCookie #196, added iOS shared Process Pool #196, added scrollTo and scrollBy methods 2019-11-19 20:44:06 +01:00
Lorenzo Pichilli
651cb656bf added disableVerticalScroll and disableHorizontalScroll webview options, updated example 2019-11-18 22:21:35 +01:00
Lorenzo Pichilli
fed2da63ba fixed issue with headers in javascript code for intercepting ajax requests 2019-11-18 02:50:56 +01:00
Lorenzo Pichilli
a11936c188 updated ConsoleMessage class, updated evaluateJavascript method, fixed Android JavaScriptBridgeInterface _callHandler method 2019-11-17 18:31:31 +01:00
Lorenzo Pichilli
e2bd307664 updated flutter driver tests, fixed javascript code for fetch request interception 2019-11-16 19:54:03 +01:00
Lorenzo Pichilli
a65909038c fixed ajax interceptor javascript code, re-added flutterInAppBrowserPlatformReady javascript for the window object, tests moved inside example folder using flutter driver 2019-11-16 12:41:30 +01:00
Lorenzo Pichilli
f89610ae29 updated AjaxRequest class, fixed 'InvalidStateError' ajax error #189, No need to listen to window.addEventListener(flutterInAppBrowserPlatformReady, fuction(){ }) javascript event anymore to use JaaScript message handlers 2019-11-11 00:16:38 +01:00
Lorenzo Pichilli
bb0e7f70c7 fixed InAppWebViewOptions error, fixed javascript error for ajax requests 2019-11-10 11:50:01 +01:00
Lorenzo Pichilli
0c17e03256 updated code docs, fixed javascript code for the ajax and fetch request event handlers 2019-11-09 23:35:18 +01:00
Lorenzo Pichilli
31dc73cfce added new webview options 2019-11-08 00:32:29 +01:00
Lorenzo Pichilli
b4544c7d98 updated shouldInterceptFetchRequest 2019-11-06 22:55:54 +01:00
Lorenzo Pichilli
e4d8b79866 updated locationchange iOS javascript event name, updated javaScriptHandlerForbiddenNames dart variable 2019-11-06 00:37:36 +01:00
Lorenzo Pichilli
16de8b199d added onNavigationStateChange, updated onAjaxProgress and onAjaxReadyStateChange return type 2019-11-06 00:23:24 +01:00
Lorenzo Pichilli
18919576e0 Added shouldInterceptAjaxRequest, onAjaxReadyStateChange, onAjaxProgressEvent and shouldInterceptFetchRequest events, added useShouldInterceptAjaxRequest and useShouldInterceptFetchRequest webview options, updated node.js server test, added injectJavascriptFileFromAsset and injectCSSFileFromAsset methods, renamed some methods 2019-11-05 03:44:22 +01:00
Lorenzo Pichilli
2811fce463 updated webview options classes, fixed debuggingEnabled, added getTRexRunnerHtml and getTRexRunnerCss methods 2019-11-04 01:39:23 +01:00
Lorenzo Pichilli
299042f828 added getHtml method, updated android config, remove block on long press webview android, fixed other issues 2019-11-02 19:58:01 +01:00
Lorenzo Pichilli
6518697e55 added onFindResultReceived event, added findAllAsync, findNext and clearMatches methods 2019-11-02 04:16:47 +01:00
Lorenzo Pichilli
1f67e98213 added onReceivedServerTrustAuthRequest and onReceivedClientCertRequest events to manage SSL requests, added clearSslPreferences and clearClientCertPreferences for Android, added nodejs_server_test_auth_basic_and_ssl for testing auth and ssl requests 2019-10-31 23:09:54 +01:00
Lorenzo Pichilli
68ff79c716 added HttpAuthCredentialDatabase class, clearCache method, onReceivedHttpAuthRequest event 2019-10-31 03:20:07 +01:00
Lorenzo Pichilli
fed99ec0e9 added debuggingEnabled option, fixed InputConnection error on Android 2019-10-29 17:51:55 +01:00
Lorenzo Pichilli
153ab6023f Updated javascript popups events 2019-10-29 12:16:31 +01:00
Lorenzo Pichilli
ab0a5cc5b5 Added , (available only for Android), Added , and events to manage javascript popup dialogs only for Android now, added support for javascript dialogs popups for iOS 2019-10-29 03:03:50 +01:00
Lorenzo Pichilli
bc6bed1891 Added new WebView option minimumFontSize, Added new Android WebView options, Added new iOS WebView options, Added onGeolocationPermissionsShowPrompt event and GeolocationPermissionShowPromptResponse class (available only for Android), updated Android ContentBlocker, updated Android build.gradle compileSdkVersion 29 2019-10-28 04:58:25 +01:00
Lorenzo Pichilli
372b771211 updated webview options, updated content blockers 2019-10-27 04:35:05 +01:00
Lorenzo Pichilli
3ffa1c0a43 Updated onLoadResource event, Updated WebResourceResponse class, Deleted WebResourceRequest class, added useOnDownloadStart option, created webview options classes, added initial content blocking support 2019-10-26 22:11:23 +02:00
Lorenzo Pichilli
49983cfdaf added onDownloadStart event, onLoadResourceCustomScheme event and resourceCustomSchemes option, onTargetBlank event and useOnTargetBlank option, code refactoring 2019-10-26 04:42:50 +02:00
Lorenzo Pichilli
5fc1d405d3 updated plugin version, added new options to hide/show scrollbars #165, initial support for DownloadManager in Android and iOS 2019-10-25 03:21:03 +02:00
Lorenzo Pichilli
10b42f20c3 fix migration to Swift 5, updated README.md, fix #149 2019-10-24 18:27:28 +02:00
Lorenzo Pichilli
29e4474c13
Merge branch 'master' into master 2019-10-24 12:34:07 +02:00
wyy
c316c4791f migrating to swift 5.0 2019-09-23 10:29:13 +08:00
Ben Ulmer
cb79211592 done 2019-06-18 14:35:40 -07:00
Lorenzo Pichilli
f6353b8f72 fix #43, fix #73 2019-06-07 02:13:56 +02:00
Robson Araujo
6af7d1249e Fix crash on xcode 10.2 2019-05-30 14:49:51 -07:00
pichillilorenzo
da99de051a fix #98, fix #93, fix #80 2019-05-23 01:51:42 +02:00
Lorenzo Pichilli
76ffe41d1e
Merge pull request #88 from matthewlloyd/transparent
Adds a transparentBackground option for iOS and Android
2019-05-22 16:20:41 +02:00
Matthew Lloyd
89d2e0b56b Adds a transparentBackground option for iOS and Android
This is useful to prevent a brief white flash on initialization
for apps that use a dark theme.
2019-04-27 04:00:24 -04:00
Matthew Lloyd
0dfbfe9a35 iOS: Call setNeedsLayout() in scrollViewDidScroll()
Otherwise, the web view scrolls in blank white space which
doesn't get painted until the scroll gesture is finished,
because the WKWebView hasn't rendered that part of the
viewport to its offscreen buffer.
2019-04-26 18:02:30 -04:00
pichillilorenzo
36fc04c285 fix #74, merge #81 #83, fix javascript ...args parameter of window.flutter_inappbrowser.callHandler() 2019-04-26 16:55:05 +02:00
pichillilorenzo
0c49b45b01 moved json serialization for JavaScriptBridgeInterface to dart side, fix #64, fix #46 2019-03-14 21:59:13 +01:00
pichillilorenzo
a480ebf6a1 added return value for JavaScriptHandlerCallback, added flutterInAppBrowserPlatformReady event for javascript, breaking change: javaScriptHandlersMap contains only one callback 2019-03-14 05:43:07 +01:00
pichillilorenzo
f3f0876f28 fix #56, some code cleanup 2019-03-12 02:14:30 +01:00
pichillilorenzo
1dfa6323c6 added support for iOS inline native WebView integrated in the flutter widget tree (#18, #45), fix #54 #38 #26 #32 #33 #29 #15 2019-03-11 03:34:58 +01:00
Lorenzo Pichilli
3b538104f5
Merge pull request #27 from igtm/encodeurl
[fix] encode resourceURL
2018-12-20 09:20:16 +01:00
Lorenzo Pichilli
a2b7e48221
Merge pull request #24 from huzhiren/master
Fixed error: Double value cannot be converted to Int because the result would be greater than Int.max in 32-bit devices
2018-12-20 09:18:25 +01:00
Iguchi Tomokatsu
7dc29355b4 [fix] encode resourceURL 2018-12-18 16:24:24 +09:00
Ryan
2812726655
Update SwiftFlutterPlugin.swift 2018-12-12 07:10:53 +13:00
Ryan
54faefe23f
Update InAppWebView.swift 2018-12-12 07:10:16 +13:00
Ryan
312655329d
Update InAppBrowserWebViewController.swift 2018-12-12 07:09:15 +13:00
Joao Paulo Marquesini
a9bcbe1f86 fixing a problem in safari webview and adding tabs to examples 2018-12-07 17:52:24 -02:00
pichillilorenzo
8b5a634715 working on iOS inline webview implementation 2018-11-27 17:34:44 +01:00