Skip to content

Commit

Permalink
fix env variables (#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Barbieri authored Mar 20, 2019
1 parent f560ae0 commit 8610448
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = {
presets: ['module:metro-react-native-babel-preset']
presets: ['module:metro-react-native-babel-preset'],
plugins: [
"transform-inline-environment-variables"
],
};
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ prebuild_android(){
# Copy fonts with iconset
yes | cp -rf ./app/fonts/Metamask.ttf ./android/app/src/main/assets/fonts/Metamask.ttf
if [ "$PRE_RELEASE" = false ] ; then
if [ -e .js.env ]
if [ -e .android.env ]
then
source .android.env
fi
Expand Down

0 comments on commit 8610448

Please sign in to comment.