Skip to content

Commit

Permalink
fix for biometric screen not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Oct 18, 2023
1 parent f6cfab9 commit 46eedb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/react_native/keychain.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 46eedb2

Please sign in to comment.