Commit Graph

280 Commits

Author SHA1 Message Date
Lorenzo Pichilli be570be6b0 CookieManager.deleteCookies wait for all delete cookie completion handler to be completed on iOS and macOS, fix #1678 2023-11-11 17:32:59 +01:00
Lorenzo Pichilli e62348adc7 fix #1500, close #1513 2023-11-10 19:57:02 +01:00
Lorenzo Pichilli c98a92d520 Merge branch 'master' of https://github.com/maxmitz/flutter_inappwebview_forceunwrap_issue into maxmitz-master 2023-11-10 14:14:05 +01:00
Lorenzo Pichilli 600bceafc0
Update MyCookieManager.swift
return false if cookie is not created
2023-11-10 14:04:34 +01:00
Lorenzo Pichilli 98ff3e58e3
Merge pull request #1822 from darkang3lz92/fix-ios12-cert-parse-issue
fix cert parsing for ios 12
2023-11-10 12:05:28 +01:00
Lorenzo Pichilli 69f2134bcb UIApplication+VisibleViewController.swift file moved 2023-11-10 11:43:44 +01:00
Lorenzo Pichilli 8c9a11d14c
Merge branch 'master' into fix_ios_multiple_flutter_presenting_error 2023-11-10 11:27:15 +01:00
Lorenzo Pichilli a7030772be updated InAppWebView.preventGestureDelay native implementation for ios 2023-11-09 19:35:50 +01:00
Lorenzo Pichilli 34e6bea153 Merge branch 'feat/disable-ios-delay' of https://github.com/andreasgangso/flutter_inappwebview into andreasgangso-feat/disable-ios-delay 2023-11-09 15:46:04 +01:00
Antonio Vasconcelos 740da1314c fix: xcode 15 related bug 2023-10-09 12:04:21 +03:00
Dango Mango fb323b3033 fix cert parsing for ios 12 2023-10-05 14:29:41 +08:00
nesquikm 60da7352f4 fix: xcode 17 related bug 2023-09-26 12:19:45 +04:00
alext84 3f91faf859 feat: extract visibleViewController in UIApplication extension and use it 2023-08-02 13:34:58 +03:00
alext84 82c96a957f fix: dynamically get the visible view controller to fix issue with presenting the webView in multiple flutter app. 2023-08-02 11:04:16 +03:00
Lorenzo Pichilli 62431838d9 Added InAppBrowser menu items feature, Added hideCloseButton, hideDefaultMenuItems, menuButtonColor InAppBrowser settings 2023-06-11 01:55:42 +02:00
Max Zimmermann ab98855c8a
Update MyCookieManager.swift
Updated force unwrap
2023-05-31 10:15:04 +02:00
Max Zimmermann 840c71b2ef
Update MyCookieManager.swift
Added force unwrap fix
2023-05-31 09:50:58 +02:00
Andreas Gangsø d1f5a6721c feat(ios): optional tradeoff to fix input delay (#1268) 2023-05-23 16:54:34 +02:00
Lorenzo Pichilli 5a113f6e8a Added InAppWebView keep alive feature, Added hasJavaScriptHandler, hasUserScript, hasWebMessageListener InAppWebViewController methods, HeadlessInAppWebView.webViewController could be null, Removed throwIfAlreadyOpened, throwIfNotOpened InAppBrowser methods, Removed throwIfAlreadyOpened, throwIfNotOpened ChromeSafariBrowser methods 2023-05-19 00:45:12 +02:00
Lorenzo Pichilli b6725128a8 fix #1640, fix #1632, Fixed InAppBrowser.show() possible crash on macOS, Fixed missing windowTitlebarSeparatorStyle, windowAlphaValue, windowStyleMask, windowFrame macOS settings updates when using setSettings() 2023-05-16 20:06:53 +02:00
Lorenzo Pichilli 6159e4ad27 fix #1495 2023-05-16 10:49:26 +02:00
Lorenzo Pichilli 6609e5f5a2
Merge branch 'master' into fix-context-menu-ios13 2023-05-15 19:31:16 +02:00
Lorenzo Pichilli 57106e8dc5
fix onCreateContextMenu and onHideContextMenu events for iOS 16.0+ 2023-05-15 19:30:25 +02:00
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
Alexandre Richonnier a7cda8d5b6 fix #1389 #1315 contextMenu ios 13 2023-03-10 11:03:00 +01:00
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 459875ff2e Updated code docs, Using Android WebViewClientCompat for Chromium-based WebView if the WebView package major version is >= 73 (https://bugs.chromium.org/p/chromium/issues/detail?id=925887), fix #1422 2022-12-03 15:58:12 +01:00
Lorenzo Pichilli d39b1ef374 Fixed User Script remove methods, Fixed macOS available checks for XCode 14.1 2022-11-16 15:30:17 +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 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 db7beffc03 merge 2022-10-24 14:31:16 +02:00
Lorenzo Pichilli d5170c3dd8 fix #1393 2022-10-24 14:27:37 +02:00
Lorenzo Pichilli ebea457b01 initial implementation 6.0.0-beta.9 2022-10-24 12:34:18 +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 486b3207a0 Removed unnamed constructors for all Singleton classes to avoid incorrect usage 2022-10-19 02:42:23 +02:00
Lorenzo Pichilli 652ee52c75 updated macos docs, added getContentWidth WebView method 2022-10-18 18:12:33 +02:00
Lorenzo Pichilli 3e3ba55a30 updated print job controller for macos 2022-10-18 11:44:08 +02:00
Lorenzo Pichilli f624f7c337 initial macos implementation 2022-10-17 02:23:05 +02:00
Lorenzo Pichilli 1a1f582ab3 fixed ios findInteractionController.activeFindSession on onFindResultReceived, updated README 2022-10-14 02:14:46 +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 45c3652bc5 merged fix(ios): invoke onBrowserCreated when viewDidLoad is called with win…, updated webview debug settings, updated debug logging message with platform name 2022-10-13 21:18:07 +02:00
Lorenzo Pichilli 45ef5c3755 merged Allow a cookie without a domain to be set on Android 2022-10-13 19:51:53 +02:00
Lorenzo Pichilli 23d57ed807 iOS - Load client certificate from local storage 2022-10-13 17:44:07 +02:00
Lorenzo Pichilli f0d3039533 merged Fix RangeError: Maximum call stack size exceeded 2022-10-13 16:00:15 +02:00
Lorenzo Pichilli 9d54f918e1 Fixed iOS 14.0 crash when calling callAsyncJavaScript method 2022-10-13 14:27:40 +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 17bdf84362 updated find interaction controller get and set search text implementation 2022-10-12 12:23:15 +02:00
Lorenzo Pichilli 34d776e079 implemented iOS getActiveFindSession also when isFindInteractionEnabled is false 2022-10-12 10:59:17 +02:00