Check if new fingerprint has enrolled
npm:
$ npm install react-native-biometrics-changed
Example:
Use only after check if there is a finger enrolled!
import RNFingerprintChange from "react-native-biometrics-changed";
useEffect(() => {
//Check if there are registered fingerprints and if there is hardware support
// and after that call:
RNFingerprintChange.hasFingerPrintChanged().then((biometricsHasChanged) => {
if(biometricsHasChanged)
{
//do something
}
});
}, []);
Pull requests are always welcome :)
made with ❤ Eden Meshulam