Commit Graph

1029 Commits

Author SHA1 Message Date
Lorenzo Pichilli 2c26f988e9 run code format 2023-05-15 14:46:00 +02:00
Lorenzo Pichilli 84011566bf Updated androidx.webkit:webkit dependency to 1.6.1, Updated androidx.browser:browser dependency to 1.5.0, Updated androidx.appcompat:appcompat dependency to 1.6.1, Added support for Android WebViewFeature.GET_COOKIE_INFO, Added requestedWithHeaderOriginAllowList WebView setting for Android , Added isInspectable, shouldPrintBackgrounds WebView settings for iOS and macOS , Removed WebViewFeature.REQUESTED_WITH_HEADER_CONTROL, ServiceWorkerController.setRequestedWithHeaderMode(), ServiceWorkerController.getRequestedWithHeaderMode(), InAppWebViewSettings.requestedWithHeaderMode, fix #1643 , fix #1611 , fix #1629 , Fixed some @available checks for macOS 2023-05-15 14:29:56 +02:00
Lorenzo Pichilli ae199f1dc4 Updated window.flutter_inappwebview.callHandler implementation: if there is an error/exception on Flutter/Dart side, the callHandler will reject the JavaScript promise with the error/exception message, so you can catch it also on JavaScript side, Fixed Android Web Storage Manager deleteAllData and deleteOrigin methods implementation, fix #1462, fix #1475 2023-05-15 13:46:42 +02:00
Lorenzo Pichilli a42b0e4dfd Updated window.flutter_inappwebview.callHandler implementation: if there is an error/exception on Flutter/Dart side, the callHandler will reject the JavaScript promise with the error/exception message, so you can catch it also on JavaScript side, Fixed Android Web Storage Manager deleteAllData and deleteOrigin methods implementation, fix #1462, fix #1475 2022-12-15 17:43:29 +01:00
Lorenzo Pichilli 0f1c7e3029 fix #1455 2022-12-06 02:26:29 +01:00
Lorenzo Pichilli 459875ff2e Updated code docs, Using Android WebViewClientCompat for Chromium-based WebView if the WebView package major version is >= 73 (https://bugs.chromium.org/p/chromium/issues/detail?id=925887), fix #1422 2022-12-03 15:58:12 +01:00
Lorenzo Pichilli fc98712f30 Updated code docs, Fixed some missing macOS asserts, fix #1447 2022-11-30 16:53:10 +01:00
Lorenzo Pichilli 2d32eff3f0 Fixed InAppWebViewSettings automatic infer if initialSettings is null 2022-11-28 15:12:02 +01:00
Lorenzo Pichilli ae4471d4c0 Replaced Uri.encodeFull with Uri.encodeComponent to load html data correctly on Web platform 2022-11-25 12:39:04 +01:00
Lorenzo Pichilli 0f203484a1 updated README 2022-11-24 23:56:21 +01:00
Lorenzo Pichilli 962fc35ff7 Removed Android Hybrid Composition constraint to use the pull-to-refresh feature, Removed Android com.squareup.okhttp3:okhttp dependency 2022-11-23 17:06:14 +01:00
Lorenzo Pichilli b82baaa061 code formatting 2022-11-22 22:41:18 +01:00
Lorenzo Pichilli 3101b44c37 All PrintJobSettings properties are optionals, All PullToRefreshSettings properties are optionals, All WebAuthenticationSessionSettings properties are optionals, Automatically infer useShouldOverrideUrlLoading, useOnLoadResource, useOnDownloadStart, useShouldInterceptAjaxRequest, useShouldInterceptFetchRequest, useShouldInterceptRequest, useOnRenderProcessGone, useOnNavigationResponse settings if their value is null and the corresponding event is implemented by the WebView (InAppWebView and HeadlessInAppWebView, not InAppBrowser) before it's native initialization 2022-11-22 22:40:45 +01:00
Lorenzo Pichilli d39b1ef374 Fixed User Script remove methods, Fixed macOS available checks for XCode 14.1 2022-11-16 15:30:17 +01:00
Lorenzo Pichilli 34236b0742 Added ContentBlockerActionType.BLOCK_COOKIES and ContentBlockerActionType.IGNORE_PREVIOUS_RULES for iOS and macOS platforms, Updated ContentBlockerTrigger.urlFilterIsCaseSensitive for Android, Fixed Android ContentBlockerActionType.CSS_DISPLAY_NONE usage 2022-11-15 17:09:31 +01:00
Lorenzo Pichilli 92329cd26a updated BUG_REPORT.md template 2022-11-09 10:15:29 +01:00
Lorenzo Pichilli 2f8fa22db4 code format 2022-11-02 15:08:44 +01:00
Lorenzo Pichilli 6906763796 fixed tests 2022-11-02 15:08:09 +01:00
Lorenzo Pichilli 06668703c4 Removed willSuppressErrorPage WebView Android setting in favor of disableDefaultErrorPage, Added isMultiProcessEnabled static method on InAppWebViewController for Android, Added onContentSizeChanged WebView event for iOS, Added onPermissionRequestCanceled and onRequestFocus WebView events for Android, Added defaultVideoPoster WebView setting for Android, Added TracingController for Android WebViews 2022-10-31 02:09:00 +01:00
Lorenzo Pichilli 9ad20bd13a fixed changelog 2022-10-27 20:54:01 +02:00
Lorenzo Pichilli fa49616c63 updated some code docs, fix #1405 2022-10-27 20:51:31 +02:00
Lorenzo Pichilli 6037b8964b fixed example/lib/main.dart 2022-10-27 11:04:26 +02:00
Lorenzo Pichilli fa5449a50d Created WebUri class to replace Uri dart core type, fix #1402, fix #1328, fix #1350 2022-10-27 11:02:49 +02:00
Lorenzo Pichilli 52fb4b3263 Merge branch 'v6.0.0-beta.9' 2022-10-26 17:53:01 +02:00
Lorenzo Pichilli cfd70fda6e release 6.0.0-beta.9 2022-10-26 17:52:35 +02:00
Lorenzo Pichilli 8e9c10246a Added startAnimations, exitAnimations, navigationBarColor, navigationBarDividerColor, secondaryToolbarColor ChromeSafariBrowser settings for Android, Added getVariationsHeader WebView static method, All ChromeSafariBrowserSettings properties are optionals 2022-10-25 11:18:53 +02:00
Lorenzo Pichilli db7beffc03 merge 2022-10-24 14:31:16 +02:00
Lorenzo Pichilli d5170c3dd8 fix #1393 2022-10-24 14:27:37 +02:00
Lorenzo Pichilli f5b20e77e8
Merge pull request #1396 from pichillilorenzo/all-contributors/add-LugonjaAleksandar
add LugonjaAleksandar as a contributor for code
2022-10-24 12:39:26 +02:00
allcontributors[bot] ccbfabe82c
update .all-contributorsrc 2022-10-24 10:39:00 +00:00
allcontributors[bot] fcc415fc8c
update README.md 2022-10-24 10:38:59 +00:00
Lorenzo Pichilli a61542edc8
Merge pull request #1395 from solflare-wallet/feature/configurable-localhost-properties
Exposed "shared" property of HttpServer bind method to support more use-cases.
2022-10-24 12:34:48 +02:00
Lorenzo Pichilli ebea457b01 initial implementation 6.0.0-beta.9 2022-10-24 12:34:18 +02:00
Aleksandar Lugonja 62df63de6c Exposed shared property HttpServer bind method to support more use-cases. 2022-10-24 10:52:49 +02:00
Lorenzo Pichilli 4973770c1c release 6.0.0-beta.7 2022-10-22 22:00:09 +02:00
Lorenzo Pichilli b19539b643 fixed test 2022-10-22 04:06:11 +02:00
Lorenzo Pichilli 14ff4921f8 Added InAppWebViewSettings.allowBackgroundAudioPlaying for Android, Added WebViewAssetLoader and InAppWebViewSettings.webViewAssetLoader for Android 2022-10-22 04:05:41 +02:00
Lorenzo Pichilli b6e7699ef8 Merge fixes of version 5.5.0+5 2022-10-20 18:55:30 +02:00
Lorenzo Pichilli 00cf46faed code format 2022-10-20 16:50:11 +02:00
Lorenzo Pichilli 92eba92a6c Added InAppWebView.headlessWebView property to convert an HeadlessWebView to InAppWebView widget 2022-10-20 16:34:37 +02:00
Lorenzo Pichilli 840aeabdb6
Merge pull request #1382 from pichillilorenzo/all-contributors/add-chandrabezzo
add chandrabezzo as a contributor for code
2022-10-20 10:27:05 +02:00
allcontributors[bot] e345125873
update .all-contributorsrc 2022-10-20 08:26:41 +00:00
allcontributors[bot] b7c75ce608
update README.md 2022-10-20 08:26:40 +00:00
Lorenzo Pichilli 786a544963 flutter format 2022-10-19 16:54:54 +02:00
Lorenzo Pichilli 065da37d0d Merge branch 'feature/macos-support' 2022-10-19 16:51:57 +02:00
Lorenzo Pichilli 624727fd4e Added windowType, windowAlphaValue, windowStyleMask, windowTitlebarSeparatorStyle, windowFrame for MacOS InAppBrowserSettings 2022-10-19 16:50:55 +02:00
Lorenzo Pichilli eb091eae48 updated WebStorageManager docs 2022-10-19 13:32:39 +02:00
Lorenzo Pichilli d2fe508248 updated README 2022-10-19 13:21:45 +02:00
Lorenzo Pichilli 78abd773b1 updated README, fixed swift Util getUrlAsset and getAbsPathAsset, fixed NSColor, added WKWebView runOpenPanelWith event 2022-10-19 13:14:53 +02:00
Lorenzo Pichilli 69fb76d10c updated macos tests, fixed macos/Classes/ISettings.swift, fixed macos NSColor.swift extension 2022-10-19 04:40:44 +02:00