mirror of
https://github.com/status-im/react-native-config.git
synced 2025-02-24 12:58:10 +00:00
Example app using react-native-config
Just a single app accessing config variables from .env
and .env.prod
.
Running on Android
By default it will read variables from .env
:
$ react-native run-android
To read from another file just specify it with ENVFILE
, like:
$ ENVFILE=.env.prod react-native run-android