Follow these steps to run the PhotoFavorite App:
- Open a console window and run the following command to install the dependencies of this project
yarn- Start the React native packager and expo development tools via this command:
yarn start- Expo Dev Tools
- The Expo Dev Tools should open in a browser window.
- There on the left-hand side change the Connection to
Tunnel.
- Run on Device
- Download the Expo Go App and scan the QR Code with your iPhone Camera (iOS) or from within the Expo Go App by tapping on Scan QR Code (Android)
- Alternatively, if you have Simulators and emulators installed, hit the
Run on iOS simulatororRun on Android device/emulatorbutton on the left hand side.
- Run on Web
- Hit the
Run in web browserbutton. This will open a new browser window and run the App in your browser.
Note: This app was not optimized for browser usage and the list of photos will for example not be scrollable.
These instructions use the yarn package manager (default for expo projects). You can also use npm instead.