We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7208549 commit c73a19bCopy full SHA for c73a19b
android/src/main/java/com/hieuvp/fingerprint/ReactNativeFingerprintScannerModule.java
@@ -83,12 +83,14 @@ public AuthCallback(final Promise promise) {
83
84
@Override
85
public void onAuthenticationError(int errorCode, @NonNull CharSequence errString) {
86
+ biometricPrompt = null;
87
super.onAuthenticationError(errorCode, errString);
88
this.promise.reject(biometricPromptErrName(errorCode), TYPE_BIOMETRICS);
89
}
90
91
92
public void onAuthenticationSucceeded(@NonNull BiometricPrompt.AuthenticationResult result) {
93
94
super.onAuthenticationSucceeded(result);
95
this.promise.resolve(true);
96
0 commit comments