Commit Graph

128 Commits

Author SHA1 Message Date
Lorenzo Pichilli 47827e3626 added pub topics 2023-11-10 14:39:49 +01:00
Lorenzo Pichilli a7030772be updated InAppWebView.preventGestureDelay native implementation for ios 2023-11-09 19:35:50 +01:00
Lorenzo Pichilli b00b3781ef updated CHANGELOG.md 2023-06-12 17:39:15 +02:00
Lorenzo Pichilli 93f51086e1 fix #1691 2023-06-12 08:58:53 +02:00
Lorenzo Pichilli aa8971fad0 updated version to 6.0.0-beta.24 2023-05-16 02:26:02 +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 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 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 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 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 fa49616c63 updated some code docs, fix #1405 2022-10-27 20:51:31 +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 ebea457b01 initial implementation 6.0.0-beta.9 2022-10-24 12:34:18 +02:00
Lorenzo Pichilli 4973770c1c release 6.0.0-beta.7 2022-10-22 22:00:09 +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 92eba92a6c Added InAppWebView.headlessWebView property to convert an HeadlessWebView to InAppWebView widget 2022-10-20 16:34:37 +02:00
Lorenzo Pichilli 652ee52c75 updated macos docs, added getContentWidth WebView method 2022-10-18 18:12:33 +02:00
Lorenzo Pichilli f624f7c337 initial macos implementation 2022-10-17 02:23:05 +02:00
Lorenzo Pichilli 30d041283b Fixed web example, Fixed export library 2022-10-14 03:45:48 +02:00
Lorenzo Pichilli 748a6f5f7e Fixed Android RendererPriorityPolicy.waivedWhenNotVisible type 'Null' is not a subtype of type 'bool', updated pubspec.yaml metadata 2022-10-12 22:33:16 +02:00
Lorenzo Pichilli 310cd60a6e updated example 2022-10-11 10:10:13 +02:00
Lorenzo Pichilli abab589d80 use flutter_lints as linter 2022-10-08 19:07:50 +02:00
Lorenzo Pichilli ea20590ce8 updated pubspec.yaml 2022-10-06 16:54:21 +02:00
Lorenzo Pichilli cd523c9d53 complete applying internal annotations to types folder 2022-10-05 13:13:20 +02:00
Lorenzo Pichilli 8968353551 added initial code generator and example 2022-05-17 22:54:43 +02:00
Lorenzo Pichilli 706d7ee90b updated tests 2022-05-02 12:52:10 +02:00
Lorenzo Pichilli 3bad02d6e4 fixed plugin dependencies, added getUrl web support 2022-04-27 13:39:00 +02:00
Lorenzo Pichilli 5fb73dae1e starting to update tests 2022-04-27 02:23:59 +02:00
Lorenzo Pichilli 85949e9858 added main stub for web support, updated example, updated debug log 2022-04-26 15:45:36 +02:00
Lorenzo Pichilli 46fcafcf44 updated web support 2022-04-22 02:24:50 +02:00
Lorenzo Pichilli 176d41d328 added initial web support 2022-04-21 23:14:51 +02:00
Lorenzo Pichilli fca1ed94df Added pauseAllMediaPlayback, setAllMediaPlaybackSuspended, closeAllMediaPresentations, requestMediaPlaybackState WebView controller methods 2022-04-20 19:10:49 +02:00
Lorenzo Pichilli 7aade18701 Fixed Android ChromeCustomTabsActivity not responding to the ActionBroadcastReceiver 2022-04-20 03:15:28 +02:00
Lorenzo Pichilli cac89da621 updated version, updated readme 2022-04-19 10:28:53 +02:00
Lorenzo Pichilli 7307d473fa dartfmt, fixed pubspec.yaml 2022-04-19 00:42:57 +02:00
Lorenzo Pichilli 2eb31ee74f fix #1137, fix #888 2022-04-18 23:12:17 +02:00
Lorenzo Pichilli fab9ae4c8b updated pubspec.yaml 2022-04-17 17:13:15 +02:00
Lorenzo Pichilli 25e9ea6e19 updated version and changelog 2022-04-17 16:35:43 +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
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 539ff0dedc Removed duplicate lib exports, Fixed some rare cases when iOS WKWebView scrollViewDidEndDragging event blocks the scroll gesture 2021-04-06 11:54:42 +02:00
Lorenzo Pichilli ffaa28a250 fix #776, fix #748, Added support of allowingReadAccessTo iOS-specific WebView option for the WebView initialData parameter, Added iosAllowingReadAccessTo iOS-specific parameter to the loadData WebView method 2021-04-02 15:18:28 +02:00
Lorenzo Pichilli 7d6c88d622 fix #765, Fixed InAppWebViewController.getHitTestResult wrong type mapping, added auto-comment.yml 2021-03-30 18:15:50 +02:00