- Add an
env.js
to your root directory - It should contain the
env
variables that will be used throughout the app and look like this:
module.exports = () => {
// ADD ENV VARS HERE
process.env.SOME_API_KEY = 'SECRET';
};
- Run
yarn install
ornpm install
in the project directory - Run
yarn start
ornpm run start
- When the package finishes building and a dialog appears, press
i
to start theiOS
emulator.
This project was bootstrapped with Create React Native App.
Further reference can be found reading the React Native Docs