168 Commits

Author SHA1 Message Date
Lorenzo Pichilli
6c5e314795 updated code docs 2019-11-08 19:12:21 +01:00
Lorenzo Pichilli
971ac889f9
Merge branch 'master' into master 2019-11-08 15:11:28 +01:00
crazecoder
c15ee0216b add initialScale in android 2019-11-08 14:39:15 +08: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
ab3b5c3935 updated android safe browsing, updated ios browser and SafariViewController options, added onSafeBrowsingHit event for android 2019-10-29 15:27:50 +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
f6353b8f72 fix #43, fix #73 2019-06-07 02:13:56 +02: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
98316371d8 The 'open' method requires an options dictionary
Otherwise, SwiftFlutterPlugin.swift throws an exception on line 285
when the InAppBrowser.openWithSystemBrowser(url) method is called:

  let options = (arguments["options"] as? [String: Any])!
2019-04-27 03:57:19 -04:00
Matthew Lloyd
11da457d51 Add null checks around calls to InAppWebView callbacks and InAppBrowser methods
This prevents a crash I've been seeing as of v1.1.2 (for the onScrollChanged callback)
and should also prevent any other similar possible crashes.

Also, suppress an unused_field analyzer warning for InAppWebViewController._id.
2019-04-26 15:12:57 -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
219f079a9e Fixed README.md and method documentation 2019-03-15 03:25:46 +01:00
pichillilorenzo
660292f504 updated documentation for addJavaScriptHandler method, updated README.md, updated inline webview example 2019-03-15 02:55:50 +01: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
Sense545
595625c853 Fixed bug where passing null to expiresDate failed 2019-01-25 17:55:18 +01: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
a5a784dd05 init iOS inline webview implementation 2018-11-13 12:02:20 +01:00
pichillilorenzo
f02791f478 v0.5.51 2018-11-07 01:40:16 +01:00
pichillilorenzo
b043b435d2 v0.5.5 2018-11-07 01:11:27 +01:00
pichillilorenzo
53e9ecbfa2 v0.5.4, updated docs and README.md 2018-10-30 23:59:17 +01:00
pichillilorenzo
305c726274 added WebHistory and WebHistoryItem class, added getCopyBackForwardList, goBackOrForward, canGoBackOrForward and goTo methods for InAppWebView and InAppBrowser, updated docs 2018-10-30 01:39:07 +01:00
pichillilorenzo
ab7b1b68ad added and class, added method for and 2018-10-29 22:02:59 +01:00
pichillilorenzo
098adfc1dd updated README.md, v0.5.3 2018-10-28 01:16:03 +02:00
pichillilorenzo
e2b091b22c updated docs 2018-10-27 21:11:10 +02:00
pichillilorenzo
ac962a59d7 completed CookieManager class #8 #3 2018-10-27 21:07:00 +02:00
pichillilorenzo
40dccfde53 added getCookies() and getCookie() for Android 2018-10-25 00:25:11 +02:00
pichillilorenzo
35233f09e5 working on CookieManager class (Manage cookies #8) 2018-10-24 01:02:33 +02:00
pichillilorenzo
ec348cd8a0 v0.5.2 2018-10-23 01:45:42 +02:00
pichillilorenzo
2c7e3c8cda updated README.md 2018-10-22 02:11:26 +02:00
pichillilorenzo
3668cb4e96 updated README.md 2018-10-22 00:44:59 +02:00
pichillilorenzo
7756aa8622 v0.5.0 2018-10-22 00:41:39 +02:00
pichillilorenzo
99ff84c617 v0.4.1 2018-10-18 01:38:36 +02:00