Install dependencies in both root and Example directories
cd .. && yarn install && cd Example
yarn install
First, you will need to start Metro, the JavaScript bundler that ships with React Native.
To start Metro, run the following command:
yarn start
Let Metro Bundler run in its own terminal. Open a new terminal from the root of your Example app directory . Run the following command to start your Android or iOS app:
yarn android
cd ios && pod install && cd ..
yarn ios
If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
Just run
yarn web
and enter the http://localhost:8080/
.