94 Commits

Author SHA1 Message Date
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
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
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
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
4973770c1c release 6.0.0-beta.7 2022-10-22 22:00:09 +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
8955cd2433 fixed web_authentication_session_example 2022-10-14 02:57:41 +02:00
Lorenzo Pichilli
1a1f582ab3 fixed ios findInteractionController.activeFindSession on onFindResultReceived, updated README 2022-10-14 02:14:46 +02:00
Lorenzo Pichilli
48d8f73b23 fixed integration tests, fixed android evaluation javascript with content world 2022-10-14 01:55:54 +02:00
Lorenzo Pichilli
17bdf84362 updated find interaction controller get and set search text implementation 2022-10-12 12:23:15 +02:00
Lorenzo Pichilli
b4558d356a added FindSession to Android 2022-10-12 10:13:05 +02:00
Lorenzo Pichilli
b790039696 fixed WebResourceError iOS, updated code docs 2022-10-12 00:37:06 +02:00
Lorenzo Pichilli
a3c20be1e7 fixed loadSimulatedRequest test 2022-10-11 16:15:51 +02:00
Lorenzo Pichilli
924022686d fixed flutter web sandbox enum 2022-10-11 10:34:09 +02:00
Lorenzo Pichilli
1791b8202b updated minimum android and iOS SDK versions 2022-10-06 17:10:08 +02:00
Lorenzo Pichilli
fd17bd4624 fixed ios tests 2022-10-06 16:43:19 +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
88e89bd102 fixed iOS nil exception on URLRequest url property, update some iOS classes to use ChannelDelegate class and Disposable protocol, added some more null checks on Android 2022-05-05 20:19:16 +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
449bfd06ef added isInFullscreen method 2022-05-01 04:03:17 +02:00
Lorenzo Pichilli
f728248dbd fixed web support, updated tests 2022-04-30 21:22:31 +02:00
Lorenzo Pichilli
abcc3a3415 updated tests 2022-04-29 21:48:17 +02:00
Lorenzo Pichilli
96259a782e updated tests 2022-04-29 13:39:28 +02:00
Lorenzo Pichilli
55a2a41a04 Updated tests 2022-04-27 18:59:19 +02:00
Lorenzo Pichilli
5fb73dae1e starting to update tests 2022-04-27 02:23:59 +02:00
Lorenzo Pichilli
fca1ed94df Added pauseAllMediaPlayback, setAllMediaPlaybackSuspended, closeAllMediaPresentations, requestMediaPlaybackState WebView controller methods 2022-04-20 19:10:49 +02:00
Lorenzo Pichilli
83dae97fda updated integration tests 2022-04-18 02:59:46 +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
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
825cf3d88e Added isRunning method to the InAppLocalhostServer class, Fixed Android js error in some very rare case where window.flutter_inappwebview is undefined when loading plugin scripts 2021-03-24 10:57:26 +01:00
Lorenzo Pichilli
b2d0f3a61d updated docs, Added allowGoBackWithBackButton and shouldCloseOnBackButtonPressed Android-specific InAppBrowser options 2021-03-23 21:53:42 +01:00
Lorenzo Pichilli
c22707da49 Added onOverScrolled WebView event, updated tests 2021-03-22 16:21:56 +01:00
Lorenzo Pichilli
bcc5fc68ba fix #719, Fixed iOS sometimes scrollView.contentSize doesn't fit all the frame.size available, Added canScrollVertically and canScrollHorizontally webview methods 2021-03-13 15:24:31 +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
54b31ca885 fix #707 2021-03-08 17:23:34 +01:00
Lorenzo Pichilli
237ba6efb4 Added a test for the pull-to-refresh feature when used on Android. 2021-03-06 16:10:31 +01:00
Lorenzo Pichilli
26feeeaf92 Fixed Android 'evaluateJavascript' method when using 'contentWorld: ContentWorld.PAGE' 2021-03-02 01:09:55 +01:00
Lorenzo Pichilli
03a09bffdc fix #696 2021-03-01 20:24:26 +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
f92373cb62 Fixed Android screenshot out of memory error, Fixed getFavicons WebView method 2021-02-25 19:48:48 +01:00
Lorenzo Pichilli
441f4cb762 Fixed missing verticalScrollbarThumbColor, verticalScrollbarTrackColor, horizontalScrollbarThumbColor, horizontalScrollbarTrackColor Android-specific WebView options when calling native java setOptions() method on Android 2021-02-25 09:33:49 +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