diff --git a/src/LocalAuthentication/LAEnums.cs b/src/LocalAuthentication/LAEnums.cs index 9009e6488e8c..d71aacef2f5a 100644 --- a/src/LocalAuthentication/LAEnums.cs +++ b/src/LocalAuthentication/LAEnums.cs @@ -12,9 +12,9 @@ public enum LAPolicy : long { [Mac (10,12,2), NoWatch] DeviceOwnerAuthenticationWithBiometrics = 1, DeviceOwnerAuthentication = 2, - [NoiOS][Mac (10,15)] + [NoiOS][Mac (10,15)][NoWatch] DeviceOwnerAuthenticationWithWatch = 3, - [NoiOS][Mac (10,15)] + [NoiOS][Mac (10,15)][NoWatch] DeviceOwnerAuthenticationWithBiometricsOrWatch = 4, [Obsolete ("Use DeviceOwnerAuthenticationWithBiometricsOrWatch enum value instead.")] [NoiOS][Mac (10,15)] diff --git a/src/frameworks.sources b/src/frameworks.sources index 08ceef739310..c361857e7cc5 100644 --- a/src/frameworks.sources +++ b/src/frameworks.sources @@ -2220,6 +2220,7 @@ WATCHOS_FRAMEWORKS = \ HomeKit \ ImageIO \ Intents \ + LocalAuthentication \ MapKit \ MediaPlayer \ MobileCoreServices \ diff --git a/src/localauthentication.cs b/src/localauthentication.cs index aa7e7f04529f..9350d75c6cd9 100644 --- a/src/localauthentication.cs +++ b/src/localauthentication.cs @@ -75,7 +75,7 @@ interface LAContext { [NullAllowed, Export ("localizedCancelTitle")] string LocalizedCancelTitle { get; set; } - [iOS (9,0)][Mac (10,12,4)] + [iOS (9,0)][Mac (10,12,4)][NoWatch] [Field ("LATouchIDAuthenticationMaximumAllowableReuseDuration")] double /* NSTimeInterval */ TouchIdAuthenticationMaximumAllowableReuseDuration { get; } diff --git a/tools/common/Frameworks.cs b/tools/common/Frameworks.cs index 7c57c6b889e8..11c5b42eb159 100644 --- a/tools/common/Frameworks.cs +++ b/tools/common/Frameworks.cs @@ -531,6 +531,7 @@ public static Frameworks GetwatchOSFrameworks (bool is_simulator_build) { "DeviceCheck", "DeviceCheck", 9,0 }, { "CallKit", "CallKit", 9,0 }, + { "LocalAuthentication", "LocalAuthentication", 9,0 }, }; } return watch_frameworks;