react-native-config
react-native
Our great sponsors
react-native-config | react-native | |
---|---|---|
8 | 8 | |
4,737 | 960 | |
0.5% | 3.1% | |
3.7 | 8.4 | |
about 1 month ago | 7 days ago | |
Java | TypeScript | |
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-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:
react-native
-
Storybook 8 Beta
Lastly, we just released a new version of React Native Storybook: RN Storybook 7. It brings major performance and compatibility improvements, including automatic story loading, improved error handling, stronger types, and much more.
-
React Native Storybook 7
There’s still a massive amount of potential with RN Storybook project and we’d love new contributors to help us get there. Find the project here and share your feedback, interest, or support.
-
Storybook integration experience?
I’m being tasked with migrating a “kitchen sink” of components (currently rendered with a feature flag & Stack navigation) to a more separate feature. They’ve decided on Storybook. I didn’t ask why as my contractor role wasn’t available to help w decision making at the time.
-
Dynamic imports supported in react native
Also heres the pr where I'm adding support for require.context to React Native Storybook https://github.com/storybookjs/react-native/pull/501
-
Has anyone experienced a network call where it works with cURL and Postman but not in localhost/simulator?
Do you use Storybook? I ran into similar issues where promises didn't resolve due to this issue: https://github.com/storybookjs/react-native/issues/20
-
Introducing Storybook for React Native Web
If those drawbacks aren't dealbreakers, then I think you will be happy with the results. However If you are unable to use this package because you need a native mobile experience then consider using @storybook/react-native. You could even use both if it makes sense for your use case.
-
Setting up Storybook for React Native/TypeScript (server, loader, iOS, Android)
I recently set up Storybook for a React Native/TypeScript project. It wasn't so different from using Storybook for web dev, but there were a few catches. I found their official tutorial to be outdated sometimes, and their Github README was up-to-date but didn't have all the information I wanted.
-
React Native: undefined is not an object (evaluating '_this.props.updateCellsBatchingPeriod')
take a look at: https://github.com/storybookjs/react-native/issues/133
What are some alternatives?
react-native-dotenv - Load react native environment variables using import statements for multiple env files.
expo-solana-wallet - Cross-Platform Solana Wallet built with Expo and Solana/web3.js
react-native-code-push - React Native module for CodePush
react-native-joystick - React Native Joystick Component.
electrode-native - A platform to ease integration&delivery of React Native apps in existing mobile applications
addon-react-native-web - Build react-native-web projects in Storybook for React
rootbeer - Simple to use root checking Android library and sample app
expo-server-sdk-node - Server-side library for working with the Expo push notification service using Node.js
Detox - Gray box end-to-end testing and automation framework for mobile apps
StorybookExampleReactNativeTS - Example repo for setting up Storybook for a React Native/TypeScript project.
react-native-keychain - :key: Keychain Access for React Native
react-native-uber-clone - Uber clone built with React Native, Expo