Expo / React Native application for the Grazing Earth mobile app.
Also see the project's Figma for designer HiFis.
Note that you will need to be logged into your DALI account to view these resources.
.
├── ...
├── public
├── src
│ └── assets # static assets
│ └── components # reusable components across several screens
│ └── hooks # useAppDispatch, useAppSelector
│ └── navigation # Defines navigation flow
│ └── redux # Redux store and setup
│ └── screens # individual pages
│ └── styles # individual styles
│ └── utils # utility folder containing helper files
├── tsconfig.json # TypeScript configuration
├── yarn.lock # yarn config
└── ...
- clone repo and
yarn install
- npm does not install peer dependencies correctly
- Change
SERVER_URL
endpoint to exact IPv4 address + port- You can view your IPv4 address by running
ipconfig
in command terminal - Use
4000
for port
- You can view your IPv4 address by running
- App should be ready for use now
yarn start
to run with hot reloading- If you are getting "This is taking much longer than it should..." error, try doing
expo start --tunnel
instead. This error happens sometimes when trying to run on Dartmouth eduroam.
- If you are getting "This is taking much longer than it should..." error, try doing
- Download react-native-debugger release
- Run
.exe
file - Hook to port 19000
ESLint is set up in this project. To keep code clean, always remember to run yarn run lint
and fix any lint problems before merging into master.
For dev deployment testing, the app is deployed on Expo, under the account [email protected]
. Credentials and further instructions can be found in the official Handoff Document.
For user testing, the app is deployed on Testflight, under the account [email protected]
. Credentials and further instructions can be found in the official Handoff Document.
Run the following command, making sure to replace "1" with a new, unique version number (it will not work otherwise):
eas update --branch dev --message "1"
This will both update Expo and Testflight.
- Log into App Store Connect with the credentials as specified in the official Handoff Document.
- Go to Apps > Grazing Earth > TestFlight > Internal Testing
- Add the desired email. However, make sure that the requested email is the one used by that person's Apple ID!
- The invited person should receive an email with further instructions.
- Eric Lu '25