From 46eedb23a4d32e25c3b6eeb400bc203f613339ff Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Wed, 18 Oct 2023 18:49:22 +0530 Subject: [PATCH] fix for biometric screen not showing up --- src/react_native/keychain.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/react_native/keychain.cljs b/src/react_native/keychain.cljs index 24281cb1007f..985996d88462 100644 --- a/src/react_native/keychain.cljs +++ b/src/react_native/keychain.cljs @@ -44,7 +44,8 @@ (defn secure-hardware-available? [callback] (-> (.getSecurityLevel ^js react-native-keychain) - (.then (fn [level] (callback (= level keychain-secure-hardware)))))) + (.then (fn [level] + (callback (= level "SECURE_HARDWARE")))))) ;; iOS only (defn device-encrypted?