Skip to content
This repository was archived by the owner on Jul 8, 2020. It is now read-only.

Adding functionality to get values from system env#6

Open
goatandsheep wants to merge 3 commits intogoatandsheep:masterfrom
anova-culinary:master
Open

Adding functionality to get values from system env#6
goatandsheep wants to merge 3 commits intogoatandsheep:masterfrom
anova-culinary:master

Conversation

@goatandsheep
Copy link
Owner

@goatandsheep goatandsheep commented May 21, 2020

Thanks for the awesome library that we use for our app. We found this particular extension useful for us and could benefit others too.
This PR extends react-native-dotenv to use the values from system environment variables that are specified in .env. files.

This eliminates the need of hardcoding the important/secret values into .env files when they are already available via system environment. This adds a lot of value to organizations that uses monolithic repositories where the API_KEYs and SECRETs are shared between apps in same repo.

@srbkrishnan @anova-culinary
zetachang#59

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants