react-native-biometrics-changed

1.1.8 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-native-biometrics-changed

Weekly Downloads

61

Version

1.1.8

License

ISC

Unpacked Size

200 kB

Total Files

45

Last publish

Collaborators

  • edenmeshulam