yarn add react-native-configreact-native link react-native-config- Create
.envfiles for each configuration. Ex:.env.dev,.env.prod, etc Ex:
API_ENDPOINT=https://api.myresource.com/dev
ENV=dev
yarn add react-native-configreact-native link react-native-config.env files for each configuration. Ex: .env.dev, .env.prod, etc
Ex:API_ENDPOINT=https://api.myresource.com/dev
ENV=dev
Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.
This module will install visual studio code essential extensions and settings for react-native.
npx react-native-vscode-settings| $ cd ~ | |
| $ git clone https://github.com/facebook/watchman.git | |
| $ cd watchman/ | |
| $ git checkout v4.7.0 | |
| $ sudo apt-get install -y autoconf automake build-essential python-dev | |
| $ ./autogen.sh | |
| $ ./configure | |
| $ make | |
| $ sudo make install |