54 Commits

Author SHA1 Message Date
Lorenzo Pichilli
62431838d9 Added InAppBrowser menu items feature, Added hideCloseButton, hideDefaultMenuItems, menuButtonColor InAppBrowser settings 2023-06-11 01:55:42 +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
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
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
fc98712f30 Updated code docs, Fixed some missing macOS asserts, fix #1447 2022-11-30 16:53:10 +01:00
Lorenzo Pichilli
fa5449a50d Created WebUri class to replace Uri dart core type, fix #1402, fix #1328, fix #1350 2022-10-27 11:02:49 +02: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
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
78abd773b1 updated README, fixed swift Util getUrlAsset and getAbsPathAsset, fixed NSColor, added WKWebView runOpenPanelWith event 2022-10-19 13:14:53 +02:00
Lorenzo Pichilli
be58d859a4 code format 2022-10-14 02:28:23 +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
b790039696 fixed WebResourceError iOS, updated code docs 2022-10-12 00:37:06 +02:00
Lorenzo Pichilli
abab589d80 use flutter_lints as linter 2022-10-08 19:07:50 +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
9d738d3435 updated all toValue and fromValue 2022-10-05 13:52:07 +02:00
Lorenzo Pichilli
0a16e1babe Added WebAuthenticationSession for iOS 2022-05-09 01:51:21 +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
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
1e6de69d20 moved every class in types.dart in a specific class file 2022-04-27 01:03:42 +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
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
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
dd9043ccf5 merge 2022-04-23 17:49:29 +02:00
Lorenzo Pichilli
b881909957 updated context menu item and options to settings 2022-04-23 14:00:47 +02:00
Lorenzo Pichilli
176d41d328 added initial web support 2022-04-21 23:14:51 +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
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
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
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
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
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
b2d0f3a61d updated docs, Added allowGoBackWithBackButton and shouldCloseOnBackButtonPressed Android-specific InAppBrowser options 2021-03-23 21:53:42 +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
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