Sitelet https://github.com/react-native-config/react-native-config/tree/master/Example.windows
Skip to content

Latest commit

 

History

History

README.md

react-native-config Windows example

Minimal Windows example demonstrating react-native-config on React Native 0.79 with react-native-windows 0.79 — the newest React Native version react-native-windows supports today. The main cross-platform example on the latest React Native lives in Example/; this app should be upgraded and folded into it once react-native-windows catches up.

The app reads ENV and API_URL from the .env file in this directory and renders them on screen.

Setup

yarn install

Run (requires Windows)

yarn windows

Tests

yarn test
yarn test:windows

Note for contributors

Like the main example, this app depends on the library through a symlink ("react-native-config": "link:../"), so builds run against the real library sources in the repository root.