react-native-keychain VS react-native-biometrics

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

react-native-biometrics

React Native module for iOS and Android biometrics (by SelfLender)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
react-native-keychain react-native-biometrics
11 2
3,075 626
- 1.6%
5.8 0.0
21 days ago 17 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 2024-03-04.
  • Encrypted Note Editor App In React Native
    8 projects | dev.to | 4 Mar 2024
    Storing the secret key: Since our db requires a key, it is important to store that key somewhere secure, so we will use react-native-keychain which will store our key securely.
  • Data Encryption in React Native Apps
    1 project | /r/reactnative | 5 Dec 2023
    If you're saving simple, KV-like data, have a look at react-native-keychain. On the other side, if you want to save complex "relational" data, have a look at Realm.
  • How I go with react native in late 2022
    33 projects | dev.to | 27 Nov 2022
    by the way, if you want to access the native device keychain, react-native-keychain is the right tool.
  • Can I use AsyncStorage for session IDs in React Native?
    1 project | /r/reactjs | 5 Oct 2022
    What you’re looking for is something like Keychain on iOS: similar to what AsyncStorage is, but secure. Maybe https://github.com/oblador/react-native-keychain could be it for you?
  • How secure is SecureStorage
    1 project | /r/reactnative | 24 Feb 2022
  • 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 | /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 | /r/reactnative | 2 Apr 2021
    I would suggest using: react-native-keychain
  • Community created challenges and participation tracking, almost like a Netflix of Challenges
    1 project | /r/pelotoncycle | 24 Mar 2021
    So the only place your Peloton Credentials are handled is within the app itself. The app itself is built on React Native, and makes use of React Native Keychain which uses the underlying iOS Keychain/Android Secure Preferences (https://github.com/oblador/react-native-keychain#usage & https://blog.bitsrc.io/using-keychain-in-react-native-and-keeping-the-app-session-alive-ff8f8850119c if you're interested). The initial auth and all further requests are directly to the Peloton API from your device.
  • Can a user change the value of AsyncStorage manually?
    1 project | /r/reactnative | 14 Mar 2021
    AsyncStorage is just an unencrypted text file. Rooted android devices can access and change it easily. For storing sensitive data, you should use react native keychain or expo secure store

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 2022-11-27.
  • How I go with react native in late 2022
    33 projects | dev.to | 27 Nov 2022
    react-native-biometrics helps us to access functionalities like FaceID, TouchID, or any other biometric features that are available in the device. react-native-biometrics uses the device Keystore for biometric authentication. it's helpful when you develop an application that is security intensive.
  • 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-simple-biometrics - simple interface to verify user authenticity

react-native-maps - React Native Mapview component for iOS + Android

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

redux-persist - persist and rehydrate a redux store

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

SonarQube - Continuous Inspection

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

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

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

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

MityURL - URL Shortener built with React Native and Firebase

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)