react-native-dotenv
react-native-mmkv
react-native-dotenv | react-native-mmkv | |
---|---|---|
11 | 47 | |
763 | 5,175 | |
- | - | |
6.3 | 7.8 | |
28 days ago | 9 days ago | |
JavaScript | C++ | |
MIT License | GNU General Public License v3.0 or later |
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-dotenv
-
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!
-
Handling Dev/Staging/Production Environments
To consume env variables in js code you'd need https://www.npmjs.com/package/react-native-dotenv — basically, it will allow to reference single variable in the js code and at compile time it will pick up current value from the config
-
How to manage environments in React Native with my open-source tool Variabler
It's not possible to use react-native-dotenv in native code files like `build.gradle` or `Info.plist`: https://github.com/goatandsheep/react-native-dotenv/issues/190
-
Managing SECRETS in React-Native (2022)
Then install the 'react-native-dotenv' library in your project with the below commands using NPM or Yarn.
-
API Key Vulnerability?
While you still developing your app use this package https://www.npmjs.com/package/react-native-dotenv
-
Import property other than "version" from package.json
I know, not a direct answer to your question, but if you're looking for file-defined custom properties, the typical solution is to use https://github.com/goatandsheep/react-native-dotenv
-
📱 A template for your next React Native project 🚀
⚙️ Handel environment variables with react-native-env
-
React Native Mobile Apps, Working With React Navigation Auth, Supabase, And React Hook Form
There are a few special libraries from npm that are used to make all this work and we cover them all in the video. Specifically we needed an AsyncStorage library and dotEnv, a library to manage local environment variable for the application
-
Email and Password Based Authentication with Expo and Firebase Part 1: Project Setup
It's time to use the Firebase project configuration in the Expo app. To do so, first install the Firebase SDK by running expo install firebase. Additionally, install react-native-dotenv by running npm install react-native-dotenv, so that environment variables can be imported in the app via an .env file. Next, add the module:react-native-dotenv plugin to the default Expo babel.config.js file.
-
How to add Environment variables in a React Native project with TS
We will be making use of the handy npm library react-native-dotenv
react-native-mmkv
-
Understanding security in React Native applications
react-native-mmkv is a wrapper around MMKV that allows you to easily implement secure storage in your app. It is arguably the fastest key-value storage for React Native apps
-
Key/value store with expo
Why do you need to access the db from the file system? Can you just use something like https://github.com/mrousavy/react-native-mmkv ?
- React native for Linux app development in 2023
-
React Native is Multi Threaded
By using libraries like Reanimated, React Native MMKV, and React Native Skia, you leverage the native thread. However, I know there are developers building amazing things who think outside the box. I'm always thrilled when I read engineering blogs from companies like Netflix, Meta, and Shopify. They create solutions beyond the limits.
-
Legend-State 1.0: The fastest React state library
mmkv is not really designed to be used for “heavy” writes, or often changing values. But more as e.g. NSUserDefaults. The storage keeps growing over time which may cause memory issues if used wrongly. Here’s a related github issue: https://github.com/mrousavy/react-native-mmkv/issues/440
-
Open Source Stream/SendBird Alternative?
Persistence - React Native MMKV (supports encryption natively and easily integrates with TanStack Query via persistQueryClient)
-
Best way to store data to device?
if you need to store something small and simple use whatever. if is complex and speed is important use something performant. realmDB, https://github.com/mrousavy/react-native-mmkv and others are good fit for the job.
-
what are some good options for offline databases?
Screw you all, I'll use MMKV as my Local DB: please do not, as explained here.
-
react native async storage is not getting accessed correctly pls help me
Try react native mmkv https://github.com/mrousavy/react-native-mmkv
- Best solution for typing suggestions with a huge array?
What are some alternatives?
react-native-config - Bring some 12 factor love to your mobile apps!
async-storage - An asynchronous, persistent, key-value storage system for React Native.
expo-firebase-authentication - Sample Expo application to showcase email and password based authentication using Firebase.
zustand - 🐻 Bear necessities for state management in React
gen-env-template - Generate documentation for your environment variables
react-native-debugger - The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
awesome-react-native - Awesome React Native components, news, tools, and learning material!
react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
starter-workflows - Accelerating new GitHub Actions workflows
flipper - A desktop debugging platform for mobile developers.
react-native-template-obytes - 📱 A template for your next React Native project: Expo, PNPM, TypeScript, TailwindCSS, Husky, EAS, GitHub Actions, Env Vars, expo-router, react-query, react-hook-form.
react-native-mmkv-storage - An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI