96 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
786a544963 flutter format 2022-10-19 16:54:54 +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
Lorenzo Pichilli
652ee52c75 updated macos docs, added getContentWidth WebView method 2022-10-18 18:12:33 +02:00
Lorenzo Pichilli
2a94a748aa fixed docs link 2022-10-14 14:29:01 +02:00
Lorenzo Pichilli
be58d859a4 code format 2022-10-14 02:28:23 +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
011d1c866f CookieManager.deleteCookie and CookieManager.deleteCookies now have the domain argument optional and without a default value 2022-10-14 01:02:39 +02:00
Lorenzo Pichilli
05cb0184fc fixed find empty string iOS, updated tests 2022-10-12 15:00:00 +02:00
Lorenzo Pichilli
34d776e079 implemented iOS getActiveFindSession also when isFindInteractionEnabled is false 2022-10-12 10:59:17 +02:00
Lorenzo Pichilli
e9b059b2e2 renamed findAllAsync to findAll 2022-10-12 10:27:58 +02:00
Lorenzo Pichilli
b4558d356a added FindSession to Android 2022-10-12 10:13:05 +02:00
Lorenzo Pichilli
3b2add4199 code format 2022-10-11 16:19:36 +02:00
Lorenzo Pichilli
a3c20be1e7 fixed loadSimulatedRequest test 2022-10-11 16:15:51 +02:00
Lorenzo Pichilli
bcbb8afaa4 fixed web support 2022-10-11 10:49:01 +02:00
Lorenzo Pichilli
924022686d fixed flutter web sandbox enum 2022-10-11 10:34:09 +02:00
Lorenzo Pichilli
abab589d80 use flutter_lints as linter 2022-10-08 19:07:50 +02:00
Lorenzo Pichilli
386bd2097e added loadSimulatedRequest iOS webview method 2022-10-08 18:57:29 +02:00
Lorenzo Pichilli
f5a048cb69 added Find Interaction Controller 2022-10-08 14:19:35 +02:00
Lorenzo Pichilli
fd17bd4624 fixed ios tests 2022-10-06 16:43:19 +02:00
Lorenzo Pichilli
3a63c35a68 fixed tests 2022-10-06 15:13:31 +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
4c06cfee18 merge with 5.4.4 2022-10-04 12:35:50 +02:00
Lorenzo Pichilli
c81cfc964c added disposable internal class, fixed some docs 2022-05-13 09:35:50 +02:00
Lorenzo Pichilli
0dd9dfbff6 added PrintJobController to manage print jobs 2022-05-12 00:19:43 +02:00
Lorenzo Pichilli
ebdcef6393 deprecated onLoadResourceCustomScheme for onLoadResourceWithCustomScheme event 2022-05-08 15:08:34 +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
706d7ee90b updated tests 2022-05-02 12:52:10 +02:00
Lorenzo Pichilli
fef47e7930 updated enum types ssl_error_type, permission_resource_type and web_resource_error_type 2022-05-01 23:51:29 +02:00
Lorenzo Pichilli
b189066940 added onReceivedError and onReceivedHttpError events 2022-05-01 17:06:16 +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