There are two build variants and source sets in this project: debug and release.
Debug run on the mocked databases and is used to run the tests, both locally or on the continuous-integration. To run the database emulator locally, you need to set-up as follows:
For Windows:
firebase emulators:start --only auth,database,firestore &
For Linux: From the root of the project run the following commands:
$ cd firebase
$ curl -sL https://firebase.tools/bin/linux/latest -o firebase-tools
$ chmod u+x firebase-tools
$ ./firebase-tools emulators:start --only auth,database,firestore &
For MacOS: From the root of the project run the following commands:
$ cd firebase
$ curl -sL https://firebase.tools/bin/macos/latest -o firebase-tools
$ chmod u+x firebase-tools
$ ./firebase-tools emulators:start --only auth,database,firestore &
Release is the real version for the user, using the real databases, and which could potentially be put on an app store.
However, release requires signing keys which are not pushed to the git repository for security concerns. To have access to them, please contact the developers of this project, which are able to send you a Key.jks and a keystore.properties files. After receiving those files you should copy-paste them to the root level of this project (at the same level as the app folder, gradle folder, or .cirrus.yml) Then you should be able to launch the release version.
If you're still facing problems with build variants, common troubleshooting on Android Studio include:
Add this line to local.properties: GOOGLE_MAPS_API_KEY=AIzaSyD0oats_WZIcKRk8_BzxX7W6_S5yGIbzrk
You need to retrieve your SHA-1 key from android studio and give it to a member of the team to add it into Firebase.
Menu icons made by Freepik from www.flaticon.com