This is the repo for the CalNourish mobile application for android devices. This application is being made for the UC Berkeley Food Pantry.
API 28
Target SDK: 28
min SDK: 23
- Clone the repo
- Obtain the firebase key from current developers
- yeet
- Create your own development branch
- If you want to experiment, create another branch so we don't break things
- When you feel comfortable, create a PR from your branch to master
Use the google-services.json
from TestCalNourish
To see testing updates, visit the wiki
When deploying, make sure you are using the google-services.json
from ProdCalNourish
Option 1:
Deploy from Android Studio to the DeployGate distribution by changing the Run/Debug config dialog on the top toolbar from ucbfpa-android:app [build]
to
ucbfpa-android:app [uploadDeployGateDebug]
and then hit the green build/play button to the right of the dialog box.
Option 2:
Run ./gradlew uploadDeployGateDebug
, which will automatically build and deploy to DeployGate.
If there is authentication error, run ./gradlew loginDeployGate
and try the first command again
- Once you've built and deployed to DeployGate. Head to the DeployGate dashboard
- Under "Distributions" on the right, click the settings button for UC Berkeley Food Pantry App and select Update Distribution
- For "Update Version," select the version you just built and deployed
- Click Update Distribution
- MainActivity = CategoryActivity = our main screen when app appears
- Bottom bar has:
- Info
- just textbox with open hours and contancts and etc.
- Category
- buttons that points to new activity with those items
- Search
- goes to search bar now -- need to do the query stuff and history keeping etc.
- Food Recovery
- empty
- Menu
- has buttons that points to activities (has info category search for now)
- Info