(IOS only for now) This package helps to determine if biometric data has been added or removed.
npm install react-native-biometrics-change-detection
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();
}
}
});
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library