Commit Graph

271 Commits

Author SHA1 Message Date
Lorenzo Pichilli d3a834c36a added android proxy controller support 2022-05-02 03:37:02 +02:00
Lorenzo Pichilli 060fb00368 fixed some enum types mapping in parent toMap methods, added getCameraCaptureState, setCameraCaptureState, getMicrophoneCaptureState, setMicrophoneCaptureState WebView controller methods for iOS 2022-05-02 00:18:55 +02:00
Lorenzo Pichilli b189066940 added onReceivedError and onReceivedHttpError events 2022-05-01 17:06:16 +02:00
Lorenzo Pichilli 449bfd06ef added isInFullscreen method 2022-05-01 04:03:17 +02:00
Lorenzo Pichilli 3da5c6e954 merge 2022-04-28 21:25:43 +02:00
Lorenzo Pichilli 18c3e04fd2 fix #1164 2022-04-28 21:16:58 +02:00
Lorenzo Pichilli 935d9b0515 merge 2022-04-28 20:49:02 +02:00
Lorenzo Pichilli 15ecdc86fb fixed #1166 2022-04-28 20:42:46 +02:00
Lorenzo Pichilli 517f6599dc merge 2022-04-28 17:30:44 +02:00
Lorenzo Pichilli 04b001f499 fix #1159 2022-04-28 17:14:57 +02:00
Lorenzo Pichilli 9a6934cc67 merge 2022-04-28 13:56:48 +02:00
Lorenzo Pichilli ad04812a6e fix #1159 2022-04-28 13:39:59 +02:00
Lorenzo Pichilli 24e452f29c updated tests 2022-04-28 01:10:20 +02:00
Lorenzo Pichilli 5fb73dae1e starting to update tests 2022-04-27 02:23:59 +02:00
Lorenzo Pichilli dc2e384822 merge 2022-04-26 21:42:40 +02:00
Lorenzo Pichilli 9aa812e130 added Bitwise OR operator support for AndroidActionModeMenuItem class 2022-04-26 21:24:21 +02:00
Lorenzo Pichilli df6fe3f8ce merge 2022-04-26 14:03:34 +02:00
Lorenzo Pichilli 442b51db0f fix #1155 2022-04-26 13:55:24 +02:00
Lorenzo Pichilli 8d1bfc1f4b updated changelog 2022-04-25 23:23:32 +02:00
Lorenzo Pichilli 091415dafe merge 2022-04-25 22:53:49 +02:00
Lorenzo Pichilli 9be702791a merge 2022-04-25 17:59:23 +02:00
Lorenzo Pichilli e07ba2a675 fix #1152 2022-04-25 17:39:04 +02:00
Lorenzo Pichilli b5935e9304 merge 2022-04-25 13:01:17 +02:00
Lorenzo Pichilli 951b974dd3 fix #1151 2022-04-25 12:55:35 +02:00
Lorenzo Pichilli dd9043ccf5 merge 2022-04-23 17:49:29 +02:00
Lorenzo Pichilli 9e6feccbf6 merge 2022-04-23 15:51:17 +02:00
Lorenzo Pichilli f511e4d1f5 Fixed Android default context menu over custom context menu on API Level 31+ 2022-04-23 15:43:57 +02:00
Lorenzo Pichilli 68305a365b merge 2022-04-23 04:04:22 +02:00
Lorenzo Pichilli 2d31a2f58b Managed iOS native detachFromEngine flutter plugin event and updated dispose methods, Updated Android native HeadlessInAppWebViewManager.dispose and HeadlessInAppWebView.dispose methods 2022-04-23 04:02:37 +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 176d41d328 added initial web support 2022-04-21 23:14:51 +02:00
Lorenzo Pichilli f265063a37 Added support for onPermissionRequest event on iOS 15.0+ 2022-04-21 13:33:07 +02:00
Lorenzo Pichilli 3cd3b30457 Added underPageBackgroundColor, isTextInteractionEnabled, isSiteSpecificQuirksModeEnabled, upgradeKnownHostsToHTTPS WebView settings, Updated getMetaThemeColor on iOS 15.0+ 2022-04-21 02:14:21 +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 2eb31ee74f fix #1137, fix #888 2022-04-18 23:12:17 +02:00
Lorenzo Pichilli 1eaf70a046 merge 2022-04-18 01:26:39 +02:00
Lorenzo Pichilli 66e2844d03 Updated changelog 2022-04-18 01:15:11 +02:00
Lorenzo Pichilli 5510fd342f Added support for Android TWA (Trusted Web Activity) 2022-04-17 21:47:35 +02:00
Lorenzo Pichilli c61019058c updated deprecated custom tabs builder method, added shareState android option for ChromeSafariBrowser 2022-04-17 19:05:16 +02:00
Lorenzo Pichilli 621d524dd6 trying to fix android null exception when bundle is null for InAppBrowserActivity and ChromeCustomTabsActivity 2022-04-17 18:22:01 +02:00
Lorenzo Pichilli 4edd47ef92 updated changelog 2022-04-17 17:22:20 +02:00
Lorenzo Pichilli fab9ae4c8b updated pubspec.yaml 2022-04-17 17:13:15 +02:00
Lorenzo Pichilli df0f009034 Updated changelog 2022-04-17 16:44:11 +02:00
Lorenzo Pichilli 65e06984cb fix #1092 2022-04-17 16:43:16 +02:00
Lorenzo Pichilli 25e9ea6e19 updated version and changelog 2022-04-17 16:35:43 +02:00
Lorenzo Pichilli 22649342e8 added onDownloadStartRequest event 2022-04-17 16:19:31 +02:00
Lorenzo Pichilli 5c9e1216d2 removed .idea folder from repo, updated build.gradle example 2022-04-16 12:32:17 +02:00
Lorenzo Pichilli c55e468c7e updated some .gitignore files, deleted gradle wrapper android plugin directory 2022-04-16 12:17:50 +02:00
Lorenzo Pichilli be1ffd1342 updated android gitignore 2022-04-16 11:41:15 +02:00
Lorenzo Pichilli 5666c685b2 updated changelog 2022-04-16 11:28:55 +02:00
Lorenzo Pichilli f52f832656 merge 2022-04-16 01:10:57 +02:00
Lorenzo Pichilli 85e45ca00a updated changelog, fixed implementation param when creating headless webview 2022-04-16 00:30:28 +02:00
Lorenzo Pichilli 6e5669fb68 updated changelog 2022-04-15 23:45:17 +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 7d6c88d622 fix #765, Fixed InAppWebViewController.getHitTestResult wrong type mapping, added auto-comment.yml 2021-03-30 18:15:50 +02:00
Lorenzo Pichilli 71a8fe23ea fix #732, fix #759, Fixed Android ChromeSafariBrowser menu item callback not called because of PendingIntents extra were cached 2021-03-28 04:17:09 +02:00
Lorenzo Pichilli a0e3bc2de7 fix #757 2021-03-26 21:34:42 +01:00
Lorenzo Pichilli 22ea0091cd Added initialSize property and setSize/getSize methods to the HeadlessInAppWebView class, androidOnScaleChanged event is deprecated - use onZoomScaleChanged event, getScale method is deprecated - use getZoomScale method, Removed final keyword for all HeadlessInAppWebView events, Fixed wrong usage of Android WebView scale property 2021-03-26 21:04:44 +01:00
Lorenzo Pichilli 14d06fad48 Fixed iOS 'Unexpectedly found nil while unwrapping an Optional value: file flutter_inappwebview/WKUserContentController.swift, line 36' error when applePayAPIEnabled iOS-specific WebView option is enabled 2021-03-25 12:01:05 +01: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 a3e4da3e61 Added isRunning method to the HeadlessInAppWebView class, Fixed iOS WebMessageListener javascript implementation not calling event listeners when onmessage is set, Fixed onCreateContextMenu event on Android where hitTestResult has always null values, fix #742 2021-03-23 17:13:40 +01:00
Lorenzo Pichilli 3352c9cef0 v5.2.0 2021-03-22 16:39:58 +01:00
Lorenzo Pichilli c22707da49 Added onOverScrolled WebView event, updated tests 2021-03-22 16:21:56 +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 6f356be623 Fixed ajax and fetch interceptor when the data/body sent is not a string, fix #724, updated nodejs test server 2021-03-18 17:24:13 +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 659c524908 fix #507 again 2021-03-08 10:22:13 +01:00
Lorenzo Pichilli c9f8466ac2 Fixed missing MATCH_PARENT layout params to the WebView on Android when it is wrapped by PullToRefreshLayout 2021-03-07 21:34:14 +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 b6d4fb9596 Added support for pull-to-refresh feature (fix #395), Fixed issue not rendering WebView content when scrolling on iOS (fix #704), Fixed InAppBrowser.openData method, InAppBrowser.initialUserScripts InAppBrowser.id HeadlessInAppWebView.id properties are final now 2021-03-05 23:19:50 +01:00
Lorenzo Pichilli 26feeeaf92 Fixed Android 'evaluateJavascript' method when using 'contentWorld: ContentWorld.PAGE' 2021-03-02 01:09:55 +01:00
Lorenzo Pichilli 0301190608 Updated docs for iOS-specific options alwaysBounceVertical and alwaysBounceHorizontal 2021-03-01 20:36:31 +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 74550d1186 Removed all the dependencies: uuid, device_info, intl, and mime 2021-03-01 03:21:07 +01:00
Lorenzo Pichilli 0df74b2978 Updated Android WebChromeClient.getDefaultVideoPoster, updated README.md 2021-02-28 18:04:02 +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
Lorenzo Pichilli 35cea5b01a prerelease 5.0.0-nullsafety.0 2021-02-22 23:59:11 +01:00
Lorenzo Pichilli f886f2f1e5 bug fixes, fix #450, updated integration tests 2021-02-22 23:38:30 +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 de9d081af2 fix #679, updated X509Certificate classes, removed androidOnRequestFocus event
because it is never called
2021-02-12 17:14:13 +01:00
Lorenzo Pichilli e9f5cabd2b fix #678 2021-02-11 17:40:13 +01:00
Lorenzo Pichilli 90e5d0a736 added applePayAPIEnabled iOS-specific WebView options, fix #605 2021-02-10 21:22:52 +01:00
Lorenzo Pichilli 2cd0948620 Added iosShouldAllowDeprecatedTLS iOS-specific WebView event 2021-02-10 02:32:05 +01:00
Lorenzo Pichilli 2aab462702 Added useOnNavigationResponse iOS-specific WebView option, Added iosOnNavigationResponse iOS-specific WebView event, Added new iOS-specific attributes to ShouldOverrideUrlLoadingRequest and CreateWindowRequest classes 2021-02-10 00:15:10 +01:00
Lorenzo Pichilli 6ee1e6f873 updated CHANGELOG.md 2021-02-09 21:15:13 +01:00
Lorenzo Pichilli 0e4e16562d Added scriptHtmlTagAttributes optional argument to injectJavascriptFileFromUrl WebView method, Added cssLinkHtmlTagAttributes optional argument to injectCSSFileFromUrl WebView method 2021-02-09 21:11:50 +01:00