From 1762836f3a31fda3ac67cd928cab0b3bfe280929 Mon Sep 17 00:00:00 2001 From: yuriuschenchik Date: Mon, 31 Jul 2023 10:42:43 +0200 Subject: [PATCH] added APPLINK_BLOCK to NavigationActionPolicy --- .../lib/src/types/navigation_action_policy.g.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flutter_inappwebview_platform_interface/lib/src/types/navigation_action_policy.g.dart b/flutter_inappwebview_platform_interface/lib/src/types/navigation_action_policy.g.dart index 5bca8ddfb..560e8a7c4 100644 --- a/flutter_inappwebview_platform_interface/lib/src/types/navigation_action_policy.g.dart +++ b/flutter_inappwebview_platform_interface/lib/src/types/navigation_action_policy.g.dart @@ -28,11 +28,17 @@ class NavigationActionPolicy { ///**NOTE**: available only on iOS 14.5+. It will fallback to [CANCEL]. static const DOWNLOAD = NavigationActionPolicy._internal(2, 2); + ///Cancel the applink redirect navigation. + /// + ///**NOTE**: available only on iOS. + static const APPLINK_BLOCK = NavigationActionPolicy._internal(3, 3); + ///Set of all values of [NavigationActionPolicy]. static final Set values = [ NavigationActionPolicy.ALLOW, NavigationActionPolicy.CANCEL, NavigationActionPolicy.DOWNLOAD, + NavigationActionPolicy.APPLINK_BLOCK, ].toSet(); ///Gets a possible [NavigationActionPolicy] instance from [int] value.