Repository navigation
·
7 commits
to master
since this release
FixU Mobile Development
FixU is a mobile application designed to help users detect and manage their mental health, with a specific focus on depression detection. The app utilizes deep learning algorithms, cloud integration, and an intuitive mobile interface to provide a seamless, user-friendly, and reliable experience.
Updating diagnose:
- Improve User Experience.
- Newer questions styles.
- Fixing bugs while doing diagnose activity.
Installation
- Clone the repository:
git clone https://github.com/7innovations/FixU-Mobile-Development.git
- Open the project in Android Studio.
- Sync the Gradle files.
- Set up your endpoint services in
local.properties. - Add a property named
BASE_URLinlocal.properties. - Rebuild the project.
- Set the correct API URL in
ApiService. - Run the application on an emulator or a physical device.
How to Connect the App to Firebase
- Go to Firebase Console.
- Create a project and register the app with your Firebase project.
- Download
google-services.jsonand place it in the root app folder. - Add the required dependencies and plugins to your Gradle files.
- Sync Gradle.
How to Enable Firebase Authentication
-
Go to your Firebase project in the Firebase Console.
-
Navigate to Build -> Authentication.
-
Enable the Email/Password provider under the sign-in method.
-
Make sure your
build.gradlefiles have these dependencies:- Gradle (project)
plugins { ... id("com.google.gms.google-services") version "4.4.2" apply false }
- Gradle (module)
plugins { ... id("com.google.gms.google-services") } dependencies { ... implementation(platform("com.google.firebase:firebase-bom:33.7.0")) implementation("com.google.firebase:firebase-auth") }
-
Sync Gradle if you made changes to your Gradle files.