Commit Graph

266 Commits

Author SHA1 Message Date
Lorenzo Pichilli 0dd9dfbff6 added PrintJobController to manage print jobs 2022-05-12 00:19:43 +02:00
Lorenzo Pichilli 0a16e1babe Added WebAuthenticationSession for iOS 2022-05-09 01:51:21 +02:00
Lorenzo Pichilli 26ddf0cef9 added URLRequestAttribution, added URLRequest attribution and assumesHTTP3Capable properties for iOS 2022-05-08 15:39:16 +02:00
Lorenzo Pichilli ebdcef6393 deprecated onLoadResourceCustomScheme for onLoadResourceWithCustomScheme event 2022-05-08 15:08:34 +02:00
Lorenzo Pichilli 373e970e80 completed ChannelDelegate iOS implementation 2022-05-08 12:56:28 +02:00
Lorenzo Pichilli 66add9f8ac added other iOS ChannelDelegate implementations, added ChromeSafariBrowserManager.browsers map native code 2022-05-06 00:16:00 +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 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 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 f728248dbd fixed web support, updated tests 2022-04-30 21:22:31 +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 2a9391df41 removed unused code 2022-04-23 17:40:43 +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 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 f265063a37 Added support for onPermissionRequest event on iOS 15.0+ 2022-04-21 13:33:07 +02:00
Lorenzo Pichilli 09edc2890b Merge branch 'permisstionIos15+' of https://github.com/phamconganh/flutter_inappwebview into phamconganh-permisstionIos15+ 2022-04-21 12:44:30 +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 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 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 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 50793429d7
Merge pull request #1123 from kryptogo/master
Fix takeScreenshot Crash on iOS
2022-04-18 01:08:39 +02:00
Lorenzo Pichilli 23edf4054f
Update InAppWebViewMethodHandler.swift 2022-04-17 17:17:11 +02:00
Lorenzo Pichilli 8c8c4f4675
Merge branch 'develop' into manuito-zoomBy 2022-04-17 17:13:57 +02:00
Lorenzo Pichilli 65e06984cb fix #1092 2022-04-17 16:43:16 +02:00
Lorenzo Pichilli bee61b35f2 Merge branch 'Feature/Fix-persistance' of https://github.com/EA-YOUHOU/flutter_inappwebview into EA-YOUHOU-Feature/Fix-persistance 2022-04-17 16:37:46 +02:00
Lorenzo Pichilli 22649342e8 added onDownloadStartRequest event 2022-04-17 16:19:31 +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 f06097114d
Merge pull request #1017 from hoanglm4/master
fix. Crash happens when HeadlessInAppWebView's dispose function is called in iOS
2022-04-16 00:24:49 +02:00
Lorenzo Pichilli 6635a7e8df
Update HeadlessInAppWebView.swift 2022-04-16 00:24:16 +02:00
Lorenzo Pichilli d2520ca80b
Merge pull request #991 from Miiha/bugfix/url-request-mapping
Adds missing body to URLRequest mapping.
2022-04-16 00:00:01 +02:00
Lorenzo Pichilli 27c3e71faf
Merge branch 'develop' into patch-1 2022-04-15 23:46:12 +02:00
Lorenzo Pichilli 65e00b8d97
Merge pull request #1095 from sunalwaysknows/master
fix: ApplicationNameForUserAgent is not working in iOS
2022-04-15 20:35:50 +02:00
Lorenzo Pichilli af460d6746
Update InAppWebView.swift
removed setting `applicationNameForUserAgent` property from `prepare` method.
2022-04-15 20:35:23 +02:00
Lorenzo Pichilli d1aa8b0281
Merge pull request #828 from ItsCalebJones/bugfix/parsing_error
Fix parsing crash on null value.
2022-04-15 20:16:41 +02:00
Lorenzo Pichilli 099223a24e
Update Options.swift 2022-04-15 20:16:10 +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
Pham Cong Anh 51d1454d45 add feature decideMediaCapturePermissions on ios15+ 2022-04-06 20:49:14 +07:00
Sergey Salnikov 3a886f59f1 added boolean switch inputAccessoryView 2022-03-17 15:09:33 +03:00
Po-Jui Chen 47ef668273
fix takeScreenshot crash 2022-03-16 11:15:33 +08:00
Manuito83 d2730d75bc Fixes zoomBy with floats 2022-03-06 14:59:14 +01:00
sunalwaysknows d8d84053bc Update: Append optional applicationNameForUserAgent to configrational applicationNameForUserAgent 2022-02-26 11:06:25 +08:00
gitlab.scripts 93187105f4 fix persistance 2022-02-24 13:38:13 +01:00
Le Minh Hoang 42743f23eb
fix. Crash happens when HeadlessInAppWebView's dispose function is called in iOS 2021-10-24 23:11:21 +07:00
Michael Kao 4e47efe111 Adds missing body to URLRequest mapping. 2021-09-28 12:02:24 +02:00
cloudygeek 3c60c15a81
Update Options.swift
checking if object is null before checking if nil. causes to crash if null.
2021-06-18 09:27:27 +01:00
Caleb Jones 19ffe781e6 Fix parsing crash on null value. 2021-05-03 10:31:54 -04: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 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 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 c22707da49 Added onOverScrolled WebView event, updated tests 2021-03-22 16:21:56 +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 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 03a09bffdc fix #696 2021-03-01 20:24:26 +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 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 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 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 90e5d0a736 added applePayAPIEnabled iOS-specific WebView options, fix #605 2021-02-10 21:22:52 +01:00
Lorenzo Pichilli 4469ec7a62 fixed Options.parse iOS method, updated .cirrus.yml 2021-02-10 04:14:58 +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 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
Lorenzo Pichilli 88bfe9036f added createWebArchiveData iOS-specific WebView method, Moved saveWebArchive WebView method from Android-specific to cross-platform 2021-02-09 01:39:35 +01:00
Lorenzo Pichilli b15ae759d5 added createPdf ios webview method, fixed null config takeScreenshot android exception 2021-02-08 18:28:35 +01:00
Lorenzo Pichilli 3f1ed3ba70 added ScreenshotConfiguration class and screenshotConfiguration optional argument to takeScreenshot WebView method 2021-02-08 01:17:12 +01:00
Lorenzo Pichilli 5a4e2fda0f updated CHANGELOG.md, Added iosAnimated optional argument to zoomBy WebView method 2021-02-07 16:37:01 +01:00
Lorenzo Pichilli 048f8f5ead
Merge pull request #670 from pcqpcq/master
fix(iOS): missing implementation of method zoomBy
2021-02-07 16:10:33 +01:00
Lorenzo Pichilli 7c5931b0f9 Added callAsyncJavaScript WebView method, fix #642, fix #614 2021-02-07 16:05:39 +01:00
pancq b0d3b82ca6 fix(iOS): missing implementation of method zoomBy 2021-02-07 15:54:40 +08:00
Lorenzo Pichilli 55242a35f9 updated management of Content Worlds, updated evaluateJavascript API 2021-02-06 02:30:15 +01:00
Lorenzo Pichilli a023d34fd9 Added mediaType, pageZoom, limitsNavigationsToAppBoundDomains iOS-specific webview options, Added handlesURLScheme iOS-specific webview method, Added ContentWorld class, minor bug fixes 2021-02-04 01:43:55 +01:00
Lorenzo Pichilli 37546a1dc0 fix #662 2021-02-03 15:17:15 +01:00
Lorenzo Pichilli cf0c2029ff Added addUserScript, addUserScripts, removeUserScript, removeUserScripts, removeAllUserScripts WebView methods, Added initialUserScripts WebView option, Added UserScript and UserScriptInjectionTime classes, updated README.md, fix some wrong iOS swift return value on method call handler, added InAppWebViewMethodHandler native class 2021-02-01 15:55:27 +01:00
Lorenzo Pichilli a04f9eab10 updated ios Cookie Manager, Added IOSCookieManager class and CookieManager.instance().ios.getAllCookies iOS-specific method, updated README.md 2021-01-31 22:08:20 +01:00
Lorenzo Pichilli 77f09dd5b5 fixed iOS getCookies MyCookieManager, Added limited cookies support on iOS below 11.0 using JavaScript 2021-01-30 14:53:32 +01:00
Lorenzo Pichilli f968d8e5d9 updated CHANGELOG.md, fix #596 2021-01-29 00:57:30 +01:00
Lorenzo Pichilli 3f2fe9e864
Merge pull request #567 from gunantosteven/master
Fixing wrong casting
2021-01-29 00:13:55 +01:00
Lorenzo Pichilli d96ea02876 fix #654, updated README.md 2021-01-28 18:56:04 +01:00
Lorenzo Pichilli 5c99ba927d
Merge pull request #634 from albatrosify/master
Add NTLM Auth
2021-01-28 17:58:33 +01:00
Lorenzo Pichilli c65ee346dd
Merge pull request #658 from getkickback/ios-cookie-domain
iOS CookieManager.getCookies - Check that URL has suffix of cookie do…
2021-01-28 17:54:14 +01:00