react-native-biometrics-changed

Check if new fingerprint has enrolled

Usage no npm install needed!

<script type="module">
  import reactNativeBiometricsChanged from 'https://cdn.skypack.dev/react-native-biometrics-changed';
</script>

README

react-native-biometrics-changed (ANDROID ONLY)

Check if new fingerprint has enrolled

Getting started:

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