react-native-biometrics-change-detection
v0.4.0
Published
test
Downloads
27
Readme
react-native-biometrics-change-detection
(IOS only for now) This package helps to determine if biometric data has been added or removed.
Installation
npm install react-native-biometrics-change-detection
Usage
import { biometricsChanged } from 'react-native-biometrics-change-detection';
// ...
biometricsChanged((isNewDataAdded) => {
if (isNewDataAdded) {
if (isNewDataAllowedToBeAdded) {
//This function adds the new data to the library state
saveBiometricState();
} else {
//This function resets the state of the library
resetBiometricState();
}
}
});
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library