componentDidMount() {
FingerprintScanner
.authenticate({
onAttempt: this.handleAuthenticationAttempted
})
.then(() => {
this.props.handlePopupDismissed();
Alert.alert('Fingerprint Authentication', 'Authenticated successfully');
})
.catch((error) => {
this.setState({
errorMessage: error.message
});
this.description.shake();
});
}
在上面的以下代码中提到的错误显示在真实设备上执行时如何解决? 未定义不是函数(评估'_this2.props.handlepopupDismissed()')