react-native-keychain
react-native-config
Our great sponsors
react-native-keychain | react-native-config | |
---|---|---|
11 | 8 | |
3,077 | 4,737 | |
- | 0.5% | |
5.8 | 3.7 | |
28 days ago | about 1 month ago | |
Java | Java | |
MIT License | MIT License |
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
-
Encrypted Note Editor App In React Native
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
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
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?
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
-
How to Integrate Biometrics in React Native - Overview of 3 Approaches
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
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?
I would suggest using: react-native-keychain
-
Community created challenges and participation tracking, almost like a Netflix of Challenges
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?
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-config
-
Secure store API keys
Best way to store API keys in RN? I need to store the google autocomplete API key somewhere but react-native-config and react-native-dotenv can be reverse-engineered. Any ideas? Thanks!
- Multiple Environments in React Native with Appcenter + Fastlane (Android only)
-
React Native Template Strong
React Native Config bring you the ability, for example, to have different environments which will make it easier to work with different API endpoints and test your application.
-
[Electrode-Native]: Pass config to miniapp and read that config.
have you looked at react-native-config?
-
Securing React Native Application
It’s recommended to use react-native-config and react-native-dot-env to place your secure key, endpoint.
-
Sharing the structure of my in-production app
I put all my API keys and global config elements into here. I have a single file with an object which is indexed with they key PROD STAGE or DEV, which is pulled from a CURRENT_ENV.tsx file. I write to this file using a simple bash script and a make command. Alternatives to this are things like react-native-config but those packages don't obfuscate anything either so I could never justify their extra complexity.
-
How can I store a secret in React Native?
Honestly, security wise it doesn't matter too much where you store it in the app. It'll be accessible one way or another. Common practice is that variables like this would be stored in a config/environment file. See: https://github.com/luggit/react-native-config
-
Setting up Storybook for React Native/TypeScript (server, loader, iOS, Android)
There are a few ways to use environment variables in React Native, but I used react-native-config. Setup is very simple:
What are some alternatives?
react-native-biometrics - React Native module for iOS and Android biometrics
react-native-dotenv - Load react native environment variables using import statements for multiple env files.
react-native-simple-biometrics - simple interface to verify user authenticity
react-native-code-push - React Native module for CodePush
react-native-background-actions - React Native background service library for running background tasks forever in Android & iOS.
electrode-native - A platform to ease integration&delivery of React Native apps in existing mobile applications
react-native-sqlite-storage - Full featured SQLite3 Native Plugin for React Native (Android and iOS)
rootbeer - Simple to use root checking Android library and sample app
react-native-sensitive-info - Save sensitive data into Android's Shared Preferences with keystore encryption/iOS's Keychain for React Native
Detox - Gray box end-to-end testing and automation framework for mobile apps
react-native-ffmpeg - FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
react-native - 📓 Storybook for React Native!