# Water Authority of Fiji OHS App

This folder contains an Android application written in Kotlin for the Water Authority of Fiji. It reuses the existing TAF API framework and provides OHS functionality.

## Build Instructions

1. Install Android Studio or the Android SDK with Java 8+.
2. Open this directory in Android Studio or run `./gradlew assembleDebug` from the command line.
3. The project targets **SDK 34** and requires a device or emulator with **Android 7.0 (API 24)** or higher.

## Key Dependencies

The `app` module depends on the following libraries:

- AndroidX Core KTX
- AndroidX AppCompat
- Material Components for Android
- Retrofit and Gson converter
- Room (runtime, KTX, and compiler via `kapt`)
- AndroidX Lifecycle Runtime KTX
- OkHttp (core, logging interceptor, URLConnection)
- Google Play Services Location
- AndroidX Activity KTX
- Google ML Kit Face Detection
- TensorFlow Lite
- Material CalendarView

Use `./gradlew tasks` to view available build targets.
## Required binary assets

The repository excludes several large binary files. To build the app you must supply them locally:

| Path | Source |
|------|--------|
| `app/src/main/assets/mobile_facenet.tflite` | TensorFlow Lite face recognition model. Request from project maintainers or copy from an existing build. |
| `app/src/main/res/drawable/logo.png` | Cybex Pay branding image. Provide your own placeholder or obtain the official asset. |
| `gradle/wrapper/gradle-wrapper.jar` | Generated by running `gradle wrapper` with Gradle installed. |

After placing these files, rerun the Gradle wrapper or sync the project in Android Studio.
