Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
story for #6
Browse files Browse the repository at this point in the history
  • Loading branch information
skyl committed Jul 4, 2018
1 parent a670805 commit 3a23396
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions STORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 3a23396

Please sign in to comment.