1.0.1 • Published 7 years ago
rn-settings v1.0.1
rn-settings
Environmental settings for react-native application
Requires babel-plugin-transform-inline-environment-variables plugin used to build your RN project.
- copy
./settings
folder in your project root, edit files yarn add rn-settings
- set APP_ENV environment variable to 'development', 'production' or else
import settings from 'rn-settings'
- this will be export from selected .js
Consider that APP_ENV value is actively cached. This "settings" used on CI with clean install every time.