From 3a23396be73976409171488ab306fcb6de450ea3 Mon Sep 17 00:00:00 2001 From: Skylar Saveland Date: Wed, 4 Jul 2018 16:35:19 -0700 Subject: [PATCH] story for #6 --- STORY.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/STORY.md b/STORY.md index 3b94076..9e9da7f 100644 --- a/STORY.md +++ b/STORY.md @@ -528,3 +528,20 @@ Apps can depend on weird platform-specific libraries eg ZcashOSX. components/ and core/ must remain non-specific. +##### Environment variables to change behaviour of app + +First case is to bypass auth in dev. +This didn't work for me: +https://www.npmjs.com/package/babel-plugin-transform-inline-environment-variables + +Prefer to use environment variables as above but having trouble passing +the env to react-native-macos. + +Instead, for now, using: + +https://www.npmjs.com/package/react-native-dotenv + +with checked-in env file. + +Main problem with dotenv that the used variables must all be set +or it causes an import error.