- Add an
env.jsto your root directory - It should contain the
envvariables 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 installornpm installin the project directory - Run
yarn startornpm run start - When the package finishes building and a dialog appears, press
ito start theiOSemulator.
This project was bootstrapped with Create React Native App.
Further reference can be found reading the React Native Docs