# Koios

This is a research project to recreate Koios, a crowdsensing tool, in Flutter under the 
supervision of Dr. Christian Poellabauer. See the Documentation folder for more information about the app.

### Instructions for Running (in Debug Mode)
NOTE: THE ISSUES PAGE DOES NOT CONTAIN ALL ISSUES, CHECK THE DOCUMENTATION FOLDER FOR THE FULL LIST OF ISSUES
#### - iOS
1. Open up your iOS simulator.
    1. Open Xcode.
    2. Go to Xcode -> Open Developer Tool -> Simulator
2. In the root directory of the Koios project, type in "flutter run lib/src/main.dart" into the command
line. Alternatively, you may also go to "Run -> Start Debugging" in VS Code.

Note: If you get an error regarding cloud_firestore, you may have to do an extra configuration step.
Go to the following link https://firebase.google.com/docs/flutter/setup and do Step 3 - Part 2 ("Using Xcode, move the file...")

#### - Android
1. Open up your Android Simulator.
    1. See https://developer.android.com/studio/run/emulator, go to "Launch the Android Emulator without first running an app"
2. In the root directory of the Koios project, type in "flutter run lib/src/main.dart" into the command
line. Alternatively, you may also go to "Run -> Start Debugging" in VS Code.

Note: If you get an error regarding cloud_firestore, you may have to do an extra configuration step.
Go to the following link https://firebase.google.com/docs/flutter/setup?platform=android and do 
Step 3 - Parts 2-3 (regarding the config file for Firebase)


### Backend Structure
To see the structure of the Firebase backend, please contact the owners of this repository or Dr. Poellabauer.
