- Download "Expo Go" from the App Store
- Click this link: https://expo.io/@fostimus/virtual-glovebox
Clone this repository. Once inside virtual-glovebox
:
- Run
yarn
- Ensure you have
API_KEY
environment variable set in a.env
file - To run the web app, run
yarn next dev
- To run iOS app on your iPhone, do the following:
- Download "Expo Go" from App Store
- Run
yarn start
- In the browser tab that opens, scan the QR code from your iPhone
To change customize style values, edit the appropriate place in tailwind.config.js
. Then, run npx create-tailwind-rn
to generate the json file used to set style values throughout the app.
Prefix the following with bg-
or text-
to apply the style you want.
vgb-primary
- currently a shade of greenvgb-secondary
- currently a shade of purplevgb-bg
- used for the app backgroud, currently a light grey
To create a build of the iOS app, run expo build:ios
- This will kick off a build in the expo account that manages the iOS app
To deploy to the Expo server (to update the link for the Expo dev link, the same one under Run Development Version), run expo publish
Deploying to the iOS App Store is a big fat pain. The rough outline/steps are: 1. Download app bundle file (.ipa) from Expo 2. Upload to App Store Connect, via Transporter app. 3. Submit the app for review, over and over again until accepted (there will be feedback why it was rejected, if so)
- Use SVGs instead of PNGs for icons. Solution is going to be pretty involved
- Resolve issues from ESLint/DeepSource: