cordova-plugin-fingerprint-aio icon indicating copy to clipboard operation
cordova-plugin-fingerprint-aio copied to clipboard

Check for Existing Secret

Open Dahmsk opened this issue 4 years ago • 1 comments

Feature Request

To check whether or not a secret exists.

Feature Description

I love the addition of storing secrets with the new version 4.0.0. I would like to use this to store credentails and allow my users to login via faceId oder fringerprint. But right now I dont see a way to know whether or not a user has previously saved a secret (his credentials).

Did I miss something or is this feature not existant? If so is it planed?

Also I wanted to say thank you for your work, This plugin is awesome.

Dahmsk avatar Oct 22 '20 14:10 Dahmsk

The problem I had while working on the plugin was that iOS ask you to pass the biometric test to find out if the key is present in the keystore. A simple solution is to store a flag in your storage (local storage/native storage or else...) to say that the secret is already set.

leolio86400 avatar Nov 16 '20 04:11 leolio86400