37 Commits

Author SHA1 Message Date
Lorenzo Pichilli
62431838d9 Added InAppBrowser menu items feature, Added hideCloseButton, hideDefaultMenuItems, menuButtonColor InAppBrowser settings 2023-06-11 01:55:42 +02:00
Lorenzo Pichilli
5a113f6e8a Added InAppWebView keep alive feature, Added hasJavaScriptHandler, hasUserScript, hasWebMessageListener InAppWebViewController methods, HeadlessInAppWebView.webViewController could be null, Removed throwIfAlreadyOpened, throwIfNotOpened InAppBrowser methods, Removed throwIfAlreadyOpened, throwIfNotOpened ChromeSafariBrowser methods 2023-05-19 00:45:12 +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
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
2f8fa22db4 code format 2022-11-02 15:08:44 +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
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
14ff4921f8 Added InAppWebViewSettings.allowBackgroundAudioPlaying for Android, Added WebViewAssetLoader and InAppWebViewSettings.webViewAssetLoader for Android 2022-10-22 04:05:41 +02:00
Lorenzo Pichilli
486b3207a0 Removed unnamed constructors for all Singleton classes to avoid incorrect usage 2022-10-19 02:42:23 +02:00
Lorenzo Pichilli
3b2add4199 code format 2022-10-11 16:19:36 +02:00
Lorenzo Pichilli
f5a048cb69 added Find Interaction Controller 2022-10-08 14:19:35 +02:00
Lorenzo Pichilli
06ef336c28 added reverseBypassEnabled in ProxySettings 2022-10-07 08:37:56 +02:00
Lorenzo Pichilli
6d2408de0e added enterpriseAuthenticationAppLinkPolicyEnabled android webview setting 2022-10-07 02:34:09 +02:00
Lorenzo Pichilli
b889efebf3 added requestedWithHeaderMode android webview settings, added getRequestedWithHeaderMode and setRequestedWithHeaderMode ServiceWorkerController methods 2022-10-07 02:26:28 +02:00
Lorenzo Pichilli
1fd8a062f3 updated algorithmicDarkeningAllowed 2022-10-07 01:50:51 +02:00
Lorenzo Pichilli
22ae9deac6 added android willSuppressErrorPage and algorithmicDarkeningAllowed settings 2022-10-07 01:45:15 +02:00
Lorenzo Pichilli
80b8bde10a Added WebViewFeature.DOCUMENT_START_SCRIPT Android feature support 2022-10-06 19:17:11 +02:00
Lorenzo Pichilli
caf8ae915b fixed nativeValue in case of null, updated log debug settings for flutter test cases 2022-10-05 19:48:34 +02:00
Lorenzo Pichilli
9d738d3435 updated all toValue and fromValue 2022-10-05 13:52:07 +02:00
Lorenzo Pichilli
cd523c9d53 complete applying internal annotations to types folder 2022-10-05 13:13:20 +02:00
Lorenzo Pichilli
55f3b64a24 fixed tests, added android webview EventChannelDelegate, fixed some enum native values based on target platform 2022-05-04 02:17:33 +02:00
Lorenzo Pichilli
71c2093283 added forceDarkStrategy webview setting, updated some android checks on webview feature supported 2022-05-02 15:08:23 +02:00
Lorenzo Pichilli
d3a834c36a added android proxy controller support 2022-05-02 03:37:02 +02:00
Lorenzo Pichilli
96259a782e updated tests 2022-04-29 13:39:28 +02:00
Lorenzo Pichilli
1e6de69d20 moved every class in types.dart in a specific class file 2022-04-27 01:03:42 +02:00
Lorenzo Pichilli
db58205ca1 merge 2022-04-22 16:57:29 +02:00
Lorenzo Pichilli
ce6e9066ba Fixed Android error in some cases when calling setServiceWorkerClient java method on ServiceWorkerManager initialization 2022-04-22 16:24:41 +02:00
Lorenzo Pichilli
0312d12859 fixed remaining classes and properties 2022-04-20 03:05:46 +02:00
Lorenzo Pichilli
cdd2bdb09f refactored remaining classes and properties 2022-04-20 02:18:36 +02:00
Lorenzo Pichilli
5371b77231 initial refactor 2022-04-20 01:31:14 +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
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
0b0bce66aa code refactoring, new features, replaced String url to Uri uri everywhere, added URLRequest 2021-02-22 12:16:23 +01:00
Lorenzo Pichilli
37fa32b31e added AndroidWebViewFeature, AndroidServiceWorkerController, AndroidServiceWorkerClient classes 2021-02-04 21:54:09 +01:00