Commit Graph

346 Commits

Author SHA1 Message Date
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 3edbbbc396 renamed DebugSettings to DebugLoggingSettings 2022-05-02 23:53:09 +02:00
Lorenzo Pichilli 28455c696a updated onPermissionRequest event for ios, added DebugSettings 2022-05-02 18:59:29 +02:00
Lorenzo Pichilli 17ed6c881a added onCameraCaptureStateChanged and onMicrophoneCaptureStateChanged webview events 2022-05-02 16:54:34 +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 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 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 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 2768605491 updated tests 2022-04-29 14:29:21 +02:00
Lorenzo Pichilli 96259a782e updated tests 2022-04-29 13:39:28 +02:00
Lorenzo Pichilli a8593f557e updated tests 2022-04-29 02:07:01 +02:00
Lorenzo Pichilli f45996e187 updated tests 2022-04-28 23:23:38 +02:00
Lorenzo Pichilli 3da5c6e954 merge 2022-04-28 21:25:43 +02:00
Lorenzo Pichilli c947ad0e5f format 2022-04-28 21:17:44 +02:00
Lorenzo Pichilli 18c3e04fd2 fix #1164 2022-04-28 21:16:58 +02:00
Lorenzo Pichilli cae685c1b2 updated tests 2022-04-28 16:48:39 +02:00
Lorenzo Pichilli 24e452f29c updated tests 2022-04-28 01:10:20 +02:00
Lorenzo Pichilli 2dd1999a63 updated web support 2022-04-27 17:50:30 +02:00
Lorenzo Pichilli 68f25d0d4d updated web support 2022-04-27 16:59:49 +02:00
Lorenzo Pichilli 3bad02d6e4 fixed plugin dependencies, added getUrl web support 2022-04-27 13:39:00 +02:00
Lorenzo Pichilli a838c35089 updated _debugLog 2022-04-27 01:11:09 +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 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 85949e9858 added main stub for web support, updated example, updated debug log 2022-04-26 15:45:36 +02:00
Lorenzo Pichilli 3087bbbc0e added static WebView.debugLogging 2022-04-26 12:16:47 +02:00
Lorenzo Pichilli 03e74820df merged web support, dartfmt 2022-04-25 23:21:26 +02:00
Lorenzo Pichilli 091415dafe merge 2022-04-25 22:53:49 +02:00
Lorenzo Pichilli 39e4d32003 updated web storage docs 2022-04-25 22:47:47 +02:00
Lorenzo Pichilli bb33ec2362 added headless and cookie manager web support 2022-04-25 22:36:21 +02:00
Lorenzo Pichilli 9be702791a merge 2022-04-25 17:59:23 +02:00
Lorenzo Pichilli 9a09e93656 updated version 2022-04-25 17:43:22 +02:00
Lorenzo Pichilli e07ba2a675 fix #1152 2022-04-25 17:39:04 +02:00
Lorenzo Pichilli d1a4ff1829 Updated web support 2022-04-25 12:15:53 +02:00
Lorenzo Pichilli d0657c3b9a updated web support 2022-04-24 04:50:44 +02:00
Lorenzo Pichilli 61a439893b added new events 2022-04-23 22:10:02 +02:00
Lorenzo Pichilli 922fd0c142 merge 2022-04-23 17:54:10 +02:00
Lorenzo Pichilli 044fd882e3 added deprecated annotation to ContextMenu option property 2022-04-23 17:53:14 +02:00
Lorenzo Pichilli f86bd34138 Merge branch 'develop' into feature/web-support 2022-04-23 17:52:13 +02:00
Lorenzo Pichilli 0e8bef4451 added deprecated annotation to ContextMenuItem old androidId and iosId properties 2022-04-23 17:51:56 +02:00
Lorenzo Pichilli dd9043ccf5 merge 2022-04-23 17:49:29 +02:00
Lorenzo Pichilli 8315b811a8 implemented WKDownloadDelegate iOS protocol for iOS 14.5 2022-04-23 17:39:39 +02:00
Lorenzo Pichilli b881909957 updated context menu item and options to settings 2022-04-23 14:00:47 +02:00
Lorenzo Pichilli a3c9b5f444 removed width and height iframe properties from webview settings 2022-04-23 01:04:51 +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 2570cb38eb added onConsoleMessage and onScrollChanged web support 2022-04-22 14:41:05 +02:00
Lorenzo Pichilli 9a5c952cf2 Merge branch 'develop' into feature/web-support 2022-04-22 13:43:43 +02:00
Lorenzo Pichilli 40140e50e1 updated setOptions and getOptions deprecated methods 2022-04-22 13:43:25 +02:00
Lorenzo Pichilli c48360e0d2 updated web support 2022-04-22 13:39:41 +02:00
Lorenzo Pichilli 1161380eab updated web support 2022-04-22 13:39:21 +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 f265063a37 Added support for onPermissionRequest event on iOS 15.0+ 2022-04-21 13:33:07 +02:00
Lorenzo Pichilli ec24f41914 updated onPermissionRequest signature 2022-04-21 12:20:48 +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 9dd5a28541 merge 2022-04-20 19:15:31 +02:00
Lorenzo Pichilli fa9a04bce6 Merge branch 'develop' into feature/remove-ios-android-key-types 2022-04-20 19:11:16 +02:00
Lorenzo Pichilli fca1ed94df Added pauseAllMediaPlayback, setAllMediaPlaybackSuspended, closeAllMediaPresentations, requestMediaPlaybackState WebView controller methods 2022-04-20 19:10:49 +02:00
Lorenzo Pichilli 6fef6906a9 fixed settings fromMap methods 2022-04-20 03:59:39 +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 a866cd6b24 initial refactor 2022-04-20 01:30:45 +02:00
Lorenzo Pichilli 304792c020 fixed AndroidChromeCustomTabsOptions.addDefaultShareMenuItem docs 2022-04-19 02:12:15 +02:00
Lorenzo Pichilli 7307d473fa dartfmt, fixed pubspec.yaml 2022-04-19 00:42:57 +02:00
Lorenzo Pichilli 1eaf70a046 merge 2022-04-18 01:26:39 +02:00
Lorenzo Pichilli 4cffd1da73 Merge branch 'possibility_disable_ios_inputAccessoryView' of https://github.com/ppldo/flutter_inappwebview into ppldo-possibility_disable_ios_inputAccessoryView 2022-04-18 01:16:59 +02:00
Lorenzo Pichilli 194106b802 updated docs for ChromeSafariBrowserMenuItem 2022-04-17 21:51:15 +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 22649342e8 added onDownloadStartRequest event 2022-04-17 16:19:31 +02:00
Lorenzo Pichilli 1e287fd1d3 Merge branch 'ashank-patch' of https://github.com/ashank96/flutter_inappwebview into ashank96-ashank-patch 2022-04-16 12:38:52 +02:00
Lorenzo Pichilli a34ea8026b
Merge pull request #1064 from RodXander/master
Fixed the unexpected behavior of InAppWebView and HeadlessInAppWebVie…
2022-04-16 11:29:21 +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 604ca71f50
Merge pull request #879 from milkinteractive/master
fix: use in NavigationAction request toMap method
2022-04-15 23:40:45 +02:00
Lorenzo Pichilli ca42fe0c26 merge 2022-04-15 23:24:07 +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
Sergey Salnikov 3a886f59f1 added boolean switch inputAccessoryView 2022-03-17 15:09:33 +03:00
ashank96 8f43faf832 expose contentdisposition and contentlength from android 2022-02-17 15:00:46 +05:30
RodXander 440ff81803 Fixed the unexpected behavior of InAppWebView and HeadlessInAppWebView when initialUrlRequest was set as null. 2021-12-22 16:51:38 -06:00
Adrien Jalabert 961065ef3a Remove charset of binary files 2021-12-14 21:58:55 +01:00
Adrien Jalabert 3a36aec87e Add wasm mime type 2021-12-13 17:56:34 +01:00
Christoph Eck bedceb0a14 fix: use in NavigationAction request toMap method 2021-06-14 16:56:26 +02:00
savy91 6e18699dd5 Make sure that when we want to open a new instance of a custom chrome tab, we are opening a new instance with the provided url and not an old instance. 2021-04-19 17:51:24 +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 babbfa16eb improved HeadlessInAppWebView setSize and getSize docs 2021-03-30 18:34:49 +02:00
Lorenzo Pichilli ac000804b9 Updated auto-comment.yml 2021-03-30 18:20:17 +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 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