How to use the react-native-fingerprint-scanner.release function in react-native-fingerprint-scanner

To help you get started, we’ve selected a few react-native-fingerprint-scanner examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github daper / nextcloud-passwords-app / src / Lock.js View on Github external
async componentWillUnmount () {
    try {
      await FingerprintScanner.release()
    } catch (err) { /* Do nothing */ }
  }
github LiskHQ / lisk-mobile / src / components / screens / signIn / biometricAuth / index.js View on Github external
componentWillUnmount() { // eslint-disable-line
    FingerprintScanner.release();
  }
github iotaledger / trinity-wallet / src / mobile / containers / fingerprintDisable.js View on Github external
componentWillUnmount() {
        FingerprintScanner.release();
    }
    handleAppStateChange = nextAppState => {
github iotaledger / trinity-wallet / src / mobile / src / ui / components / FingerprintModal.js View on Github external
.then(() => {
                this.props.onSuccess();
                FingerprintScanner.release();
            })
            .catch((error) => {
github iotaledger / trinity-wallet / src / mobile / src / ui / components / FingerprintModal.js View on Github external
componentWillReceiveProps(newProps) {
        if (this.props.minimised && !newProps.minimised) {
            this.props.onBackButtonPress();
            FingerprintScanner.release();
        }
    }
github iotaledger / trinity-wallet / src / mobile / src / ui / views / wallet / Send.js View on Github external
componentWillUnmount() {
        if (isAndroid) {
            FingerprintScanner.release();
        }
        timer.clearTimeout('invalidAddressAlert');
        timer.clearTimeout('modalShow');
        timer.clearTimeout('delaySend');
    }

react-native-fingerprint-scanner

React Native Biometrics Scanner for Android and iOS

MIT
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis