mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 06:43:17 +00:00
biometrics cleanup (#964)
This commit is contained in:
@@ -15,7 +15,6 @@ using Foundation;
|
||||
using LocalAuthentication;
|
||||
using MobileCoreServices;
|
||||
using Photos;
|
||||
using Plugin.Fingerprint;
|
||||
using UIKit;
|
||||
using Xamarin.Forms;
|
||||
|
||||
@@ -271,28 +270,6 @@ namespace Bit.iOS.Core.Services
|
||||
return Task.FromResult(SupportsFaceBiometric());
|
||||
}
|
||||
|
||||
public async Task<bool> BiometricAvailableAsync()
|
||||
{
|
||||
try
|
||||
{
|
||||
return await CrossFingerprint.Current.IsAvailableAsync();
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public bool UseNativeBiometric()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public Task<bool> AuthenticateBiometricAsync(string text = null)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public bool SupportsNfc()
|
||||
{
|
||||
if(Application.Current is App.App currentApp && !currentApp.Options.IosExtension)
|
||||
|
||||
Reference in New Issue
Block a user