85 Commits

Author SHA1 Message Date
Lorenzo Pichilli
a6cb4105b1 fix #1173 2022-05-05 21:46:14 +02:00
Lorenzo Pichilli
9aa812e130 added Bitwise OR operator support for AndroidActionModeMenuItem class 2022-04-26 21:24:21 +02:00
Lorenzo Pichilli
e07ba2a675 fix #1152 2022-04-25 17:39:04 +02:00
Lorenzo Pichilli
7307d473fa dartfmt, fixed pubspec.yaml 2022-04-19 00:42:57 +02:00
Lorenzo Pichilli
5510fd342f Added support for Android TWA (Trusted Web Activity) 2022-04-17 21:47:35 +02:00
Lorenzo Pichilli
c61019058c updated deprecated custom tabs builder method, added shareState android option for ChromeSafariBrowser 2022-04-17 19:05:16 +02:00
Lorenzo Pichilli
22649342e8 added onDownloadStartRequest event 2022-04-17 16:19:31 +02:00
Lorenzo Pichilli
604ca71f50
Merge pull request #879 from milkinteractive/master
fix: use in NavigationAction request toMap method
2022-04-15 23:40:45 +02:00
Lorenzo Pichilli
710fc1e021 Added singleInstance option for Android ChromeSafariBrowser implementation, updated android compileSdkVersion to 31 2022-04-15 23:18:54 +02:00
Lorenzo Pichilli
f074b7a011 created android InAppWebViewInterface to implement other android webview engines, getOriginalUrl method is cross-platform now, Fixed requestImageRef method always null on iOS 2022-04-15 19:20:35 +02:00
Christoph Eck
bedceb0a14 fix: use in NavigationAction request toMap method 2021-06-14 16:56:26 +02:00
Lorenzo Pichilli
f06bcdf695 Added onLoad and onError callbacks in ScriptHtmlTagAttributes class used by InAppWebViewController.injectJavascriptFileFromUrl, InAppWebViewController.injectJavascriptFileFromAsset returns a Future<dynamic> type now 2021-04-07 18:34:35 +02:00
Lorenzo Pichilli
3352c9cef0 v5.2.0 2021-03-22 16:39:58 +01:00
Lorenzo Pichilli
97edbe158f Added Android pull-to-refresh setSize method and size option, Updated Android androidx.webkit:webkit to 1.4.0, androidx.browser:browser to 1.3.0, androidx.appcompat:appcompat to 1.2.0, updated docs 2021-03-19 17:34:32 +01:00
Lorenzo Pichilli
6f356be623 Fixed ajax and fetch interceptor when the data/body sent is not a string, fix #724, updated nodejs test server 2021-03-18 17:24:13 +01:00
Lorenzo Pichilli
a40831087f Added WebMessageChannel and WebMessageListener features, Updated Android Gradle distributionUrl version to 5.6.4, AndroidInAppWebViewController.getCurrentWebViewPackage is available now starting from Android API 21+, Attempt to fix #665, fix #579, Fixed wrong mapping of NavigationAction class on Android for androidHasGesture and androidIsRedirect properties 2021-03-11 22:42:18 +01:00
Lorenzo Pichilli
0744743c97 code formatting 2021-03-05 23:32:49 +01:00
Lorenzo Pichilli
b6d4fb9596 Added support for pull-to-refresh feature (fix #395), Fixed issue not rendering WebView content when scrolling on iOS (fix #704), Fixed InAppBrowser.openData method, InAppBrowser.initialUserScripts InAppBrowser.id HeadlessInAppWebView.id properties are final now 2021-03-05 23:19:50 +01:00
Lorenzo Pichilli
b41eb693a5 new stable version 5.0.5 2021-03-01 16:43:50 +01:00
Lorenzo Pichilli
de89f2637b Added headers and statusCode properties to IOSURLResponse class #693 2021-02-26 11:22:57 +01:00
Lorenzo Pichilli
1e63238eb8 updated README.md, Added verticalScrollbarThumbColor, verticalScrollbarTrackColor, horizontalScrollbarThumbColor, horizontalScrollbarTrackColor Android-specific WebView options, Fixed some null types and wrong casting 2021-02-25 00:00:46 +01:00
Lorenzo Pichilli
68f98754df code format 2021-02-22 23:54:09 +01:00
Lorenzo Pichilli
f886f2f1e5 bug fixes, fix #450, updated integration tests 2021-02-22 23:38:30 +01:00
Lorenzo Pichilli
0b0bce66aa code refactoring, new features, replaced String url to Uri uri everywhere, added URLRequest 2021-02-22 12:16:23 +01:00
Lorenzo Pichilli
2cd0948620 Added iosShouldAllowDeprecatedTLS iOS-specific WebView event 2021-02-10 02:32:05 +01:00
Lorenzo Pichilli
2aab462702 Added useOnNavigationResponse iOS-specific WebView option, Added iosOnNavigationResponse iOS-specific WebView event, Added new iOS-specific attributes to ShouldOverrideUrlLoadingRequest and CreateWindowRequest classes 2021-02-10 00:15:10 +01:00
Lorenzo Pichilli
0e4e16562d Added scriptHtmlTagAttributes optional argument to injectJavascriptFileFromUrl WebView method, Added cssLinkHtmlTagAttributes optional argument to injectCSSFileFromUrl WebView method 2021-02-09 21:11:50 +01:00
Lorenzo Pichilli
88bfe9036f added createWebArchiveData iOS-specific WebView method, Moved saveWebArchive WebView method from Android-specific to cross-platform 2021-02-09 01:39:35 +01:00
Lorenzo Pichilli
b15ae759d5 added createPdf ios webview method, fixed null config takeScreenshot android exception 2021-02-08 18:28:35 +01:00
Lorenzo Pichilli
3f1ed3ba70 added ScreenshotConfiguration class and screenshotConfiguration optional argument to takeScreenshot WebView method 2021-02-08 01:17:12 +01:00
Lorenzo Pichilli
7c5931b0f9 Added callAsyncJavaScript WebView method, fix #642, fix #614 2021-02-07 16:05:39 +01:00
Lorenzo Pichilli
55242a35f9 updated management of Content Worlds, updated evaluateJavascript API 2021-02-06 02:30:15 +01:00
Lorenzo Pichilli
37fa32b31e added AndroidWebViewFeature, AndroidServiceWorkerController, AndroidServiceWorkerClient classes 2021-02-04 21:54:09 +01:00
Lorenzo Pichilli
a023d34fd9 Added mediaType, pageZoom, limitsNavigationsToAppBoundDomains iOS-specific webview options, Added handlesURLScheme iOS-specific webview method, Added ContentWorld class, minor bug fixes 2021-02-04 01:43:55 +01:00
Lorenzo Pichilli
cf0c2029ff Added addUserScript, addUserScripts, removeUserScript, removeUserScripts, removeAllUserScripts WebView methods, Added initialUserScripts WebView option, Added UserScript and UserScriptInjectionTime classes, updated README.md, fix some wrong iOS swift return value on method call handler, added InAppWebViewMethodHandler native class 2021-02-01 15:55:27 +01:00
Lorenzo Pichilli
26e63cedee Added support for Dart null-safety feature, Updated integration tests, Fixed missing properties initialization when using InAppWebViewController.fromInAppBrowser, Removed debuggingEnabled WebView option and added AndroidInAppWebViewController.setWebContentsDebuggingEnabled static method 2021-01-28 17:10:15 +01:00
Lorenzo Pichilli
5476d142f4 fix #507 2020-09-07 10:32:24 +02:00
Doflatango
f192294002 Added missing field 'headers' which returned by WebResourceResponse.toMap() 2020-08-18 00:05:27 +08:00
Lorenzo Pichilli
0c71edf8a6 flutter format 2020-06-29 16:37:36 +02:00
Lorenzo Pichilli
eea691664b Updated onCreateWindow, onJsAlert, onJsConfirm, and onJsPrompt webview events, added onCloseWindow, onTitleChanged, onWindowFocus, and onWindowBlur webview events, added androidOnRequestFocus, androidOnReceivedIcon, androidOnReceivedTouchIconUrl, androidOnJsBeforeUnload, and androidOnReceivedLoginRequest Android-specific webview events, fix #403 2020-06-29 16:34:29 +02:00
Lorenzo Pichilli
477b94e03f Update README.md, Update missing docs, Fix pub.dev Health suggestions and Analysis suggestions, v3.4.0+1 2020-06-22 01:17:35 +02:00
Lorenzo Pichilli
993c6f60f9 v3.4.0 2020-06-22 00:09:35 +02:00
Lorenzo Pichilli
e0b384bcf6 updated ProtectionSpaceHttpAuthCredentials doc 2020-06-20 22:05:16 +02:00
Lorenzo Pichilli
9743687ede Fixed HttpAuthCredentialDatabase.removeHttpAuthCredential on Android, Fixed some cases where takeScreenshot was not working on Android, fix #390, Updated HttpAuthCredentialDatabase.getAllAuthCredentials method return type 2020-06-20 21:58:56 +02:00
Lorenzo Pichilli
64246d84d9 Added 'values' property for all the custom Enums, bug fixes 2020-06-19 21:59:43 +02:00
Lorenzo Pichilli
6c2a60714e Added SslCertificate class and X509Certificate class and parser, updated ServerTrustChallenge class 2020-06-15 02:08:23 +02:00
Lorenzo Pichilli
b9d1482887 added getScrollX and getScrollY webview methods, added HttpOnly and SameSite set cookie options, added animated option to scrollTo and scrollBy webview methods, Added error and message to the ServerTrustChallenge class for iOS, added contentInsetAdjustmentBehavior webview iOS-specific option, added getCertificate android-specific webview method, added copy and copyWithValue methods for webview class options 2020-06-13 03:50:19 +02:00
Lorenzo Pichilli
1b2de86375 added new webview methods, added supporZoom webview option on iOS, bug fixes, prepare new version 3.4.0 2020-06-12 04:04:41 +02:00
Lorenzo Pichilli
0c6a02fff8 release v3.3.0 2020-05-30 23:13:28 +02:00
Lorenzo Pichilli
ad56ca6621 Added 'toString()' method to various classes in order to have a better output instead of simply 'Instance of ...', updated getOptions() method 2020-05-29 19:56:03 +02:00