Skip to content

edenmeshulam/react-native-biometrics-changed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Check if new fingerprint has enrolled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published