Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async componentWillUnmount () {
try {
await FingerprintScanner.release()
} catch (err) { /* Do nothing */ }
}
componentWillUnmount() { // eslint-disable-line
FingerprintScanner.release();
}
it("passes when used properly", () => {
(FingerprintScanner.release(): void);
});
});
onNegative: () => {
FingerprintScanner.release();
},
});
componentWillUnmount() {
FingerprintScanner.release();
}
handleAppStateChange = nextAppState => {
.then(() => {
this.props.onSuccess();
FingerprintScanner.release();
})
.catch((error) => {
componentWillReceiveProps(newProps) {
if (this.props.minimised && !newProps.minimised) {
this.props.onBackButtonPress();
FingerprintScanner.release();
}
}
componentWillUnmount() {
FingerprintScanner.release();
}
componentWillUnmount() {
FingerprintScanner.release();
}
componentWillUnmount() {
if (isAndroid) {
FingerprintScanner.release();
}
timer.clearTimeout('invalidAddressAlert');
timer.clearTimeout('modalShow');
timer.clearTimeout('delaySend');
}