Chetan Rawat
Chetan Rawat

Reputation: 588

How we know finger print is changed or new fingerprint is added

i have use Plugin.Fingerprint package in app.

private async void Button_Clicked(object sender, EventArgs e)
    {
        //var abc = DependencyService.Get<IXEncryptionService>().Encrypt(txtpass.Text.Trim());
        //var ss = DependencyService.Get<IXEncryptionService>().Decrypt(abc);

        var res = await CrossFingerprint.Current.IsAvailableAsync(true);
        if (res)
        {
            var result = await CrossFingerprint.Current.AuthenticateAsync("Tap that fingerprint sensor!");
            if (result.Authenticated)
            {
                await DisplayAlert("Results are here", "Valid fingerprint found", "Ok");
            }
            else
            {
                await DisplayAlert("Results are here", result.ErrorMessage, "Ok");
            }
        }

    }

Is there any way to know the List of fingerprint in mobile and how i know new fingerprint is added in mobile

Upvotes: 2

Views: 500

Answers (1)

Alexander Alekseev
Alexander Alekseev

Reputation: 75

AFAIK CrossFingerprint does not have such functionality, but you can implement it by yourself.

For your Android project read about KeyPermanentlyInvalidatedException.

For your iOS project you can use this. Just set up BiometryDomainState during first login to your application and keep it secret! Use SecureStorage for example.

Upvotes: 2

Related Questions