63 Commits

Author SHA1 Message Date
Lorenzo Pichilli
a42b0e4dfd 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 2022-12-15 17:43:29 +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
d5170c3dd8 fix #1393 2022-10-24 14:27:37 +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
652ee52c75 updated macos docs, added getContentWidth WebView method 2022-10-18 18:12:33 +02:00
Lorenzo Pichilli
23d57ed807 iOS - Load client certificate from local storage 2022-10-13 17:44:07 +02:00
Lorenzo Pichilli
c28355f11f added PullToRefreshController.isEnabled method, added iOS PullToRefreshController.isRefreshing missing method 2022-10-12 18:51:26 +02:00
Lorenzo Pichilli
05cb0184fc fixed find empty string iOS, updated tests 2022-10-12 15:00:00 +02:00
Lorenzo Pichilli
b790039696 fixed WebResourceError iOS, updated code docs 2022-10-12 00:37:06 +02:00
Lorenzo Pichilli
432e882e8f added minimumViewportInset and maximumViewportInset iOS webview settings 2022-10-08 15:20:09 +02:00
Lorenzo Pichilli
f5a048cb69 added Find Interaction Controller 2022-10-08 14:19:35 +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
d3cdc784b2 applied v5.4.3+8 fixes 2022-10-03 14:29:30 +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
373e970e80 completed ChannelDelegate iOS implementation 2022-05-08 12:56:28 +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
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
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
5371b77231 initial refactor 2022-04-20 01:31:14 +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
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
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
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
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
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