diff --git a/android/src/main/java/com/oblador/keychain/KeychainModule.java b/android/src/main/java/com/oblador/keychain/KeychainModule.java index 60f76b9..94b6c5e 100644 --- a/android/src/main/java/com/oblador/keychain/KeychainModule.java +++ b/android/src/main/java/com/oblador/keychain/KeychainModule.java @@ -203,7 +203,7 @@ public class KeychainModule extends ReactContextBaseJavaModule { } private boolean isFingerprintAuthAvailable() { - return DeviceAvailability.isFingerprintAuthAvailable(getCurrentActivity()); + return DeviceAvailability.isFingerprintAuthAvailable(getReactApplicationContext()); } @NonNull