react-native-keychain VS react-native-biometrics

Compare react-native-keychain vs react-native-biometrics and see what are their differences.

react-native-keychain

:key: Keychain Access for React Native (by oblador)

react-native-biometrics

React Native module for iOS and Android biometrics (by SelfLender)
Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • talent.io - Download talent.io’s Tech Salary Report
react-native-keychain react-native-biometrics
7 1
2,716 443
- 2.9%
5.5 6.5
about 1 month ago 16 days ago
Java Java
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

react-native-keychain

Posts with mentions or reviews of react-native-keychain. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-21.
  • How to Integrate Biometrics in React Native - Overview of 3 Approaches
    2 projects | dev.to | 21 Dec 2021
    If our application utilizes refresh tokens, we can smartly combine the two previous options together. Upon signup or login, we can store a new refresh token securely on the device using the react-native-keychain library mentioned in the mobile app implementation. Once our session expires, we prompt the user to retrieve the refresh token stored behind biometrics authentication. If the user passes the challenge, we use the refresh token to call the backend and refresh the session/get a new access token.
  • LOCK and UNLOCK react native app using pin or biometric
    2 projects | reddit.com/r/reactnative | 22 Oct 2021
    In the app I'm building, we use react-native-keychain. At its core it's meant to use with authentication, which we DO to store oauth tokens, but I also use it as a "re-entry" into the app after it's been put in background or inactive mode. It's the easiest implementation of biometric auth I've found for RN, and it has the ability to fallback to passcode should they fail biometric. Let me know if you have any questions, happy to help!
  • How can I store a secret in React Native?
    2 projects | reddit.com/r/reactnative | 2 Apr 2021
    I would suggest using: react-native-keychain
  • Using async storage for a journaling app
    2 projects | reddit.com/r/reactnative | 4 Jan 2021
    Neither of these are encrypted however, but it sounds like you are storing on the users device to avoid encryption? There are ways to store stuff in secure storage on device if you need https://github.com/oblador/react-native-keychain

react-native-biometrics

Posts with mentions or reviews of react-native-biometrics. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-21.
  • How to Integrate Biometrics in React Native - Overview of 3 Approaches
    2 projects | dev.to | 21 Dec 2021
    In React Native, this solution is readily available with the react-native-biometrics library, which is, unfortunately, not actively maintained (last commit 2/2020) and its biometrics part does not support the latest standards, such as fallback to passcode when Face ID fails.

What are some alternatives?

When comparing react-native-keychain and react-native-biometrics you can also consider the following projects:

react-native-background-actions - React Native background service library for running background tasks forever in Android & iOS.

react-native-simple-biometrics - simple interface to verify user authenticity

react-native-ffmpeg - FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.

MityURL - URL Shortener built with React Native and Firebase

react-native-config - Bring some 12 factor love to your mobile apps!

react-native-stripe-payments - Lightweight, easy to integrate and use React native library for Stripe payments (using Payment Intents) compliant with SCA (strong customer authentication)

react-native-sqlite-storage - Full featured SQLite3 Native Plugin for React Native (Android and iOS)

react-native-sensitive-info - Save sensitive data into Android's Shared Preferences with keystore encryption/iOS's Keychain for React Native

dldb_sdk_react_native - Behavioural analytics with the privacy by design

react-native-photo-editor - React Native: Native Photo Editor