0.4.0 • Published 1 year ago

react-native-biometrics-change-detection v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

1 year ago