Thank you for your interest in contributing to the MessEaseApp! Please follow the steps below to set up the project and contribute effectively.
-
Fork the Repository:
- Go to the MessEaseApp repository.
- Click on the
Forkbutton in the top-right corner of the page.
-
Clone the Forked Repository:
- Open Android Studio.
- Select
File > New > Project from Version Control > Git. - Enter the URL of your forked repository (e.g.,
https://github.com/YOUR_USERNAME/MessEaseApp.git). - Click
Clone.
-
Create a New Firebase Project:
- Go to the Firebase Console.
- Click on
Create a Firebase Projectand follow the instructions to create a new project. - In
Enter your project nameenter "MessEase" - Click
Continuetill you reach Configure Google Analytics. - Choose "India" in
Analytics Location - Check the checkbox
I accept the Google Analytics terms" and clickCreate Project` - Click
Continue
-
Add an Android App to Your Firebase Project:
- In the Firebase Console, click on
Add appand select the Android icon. - Register your app with the package name (
com.theayushyadav11.MessEase). - Click on next skipping other things.
- Click
Continue to console
- In the Firebase Console, click on
-
Enable Firebase Services:
- Authentication:
- Go to the
Authenticationsection from the Drawer in theBuildin the Firebase Console. - Click on
Get started - Click on the
Sign-in methodtab and enableEmail/PasswordandGooglesign-in methods. - Use your own email for
Support emailand click on save.
- Go to the
- Firestore Database:
- Go to the
Firestore Databasesection and click onCreate database. - Select the
Locationasasia-south2(Delhi) nam5(United States)and click next. - Select
Start in production modeand follow the instructions. - Go to
Rulesand change thefalsetotrueand clickPublish
- Go to the
- Authentication:
-
Add SHA Keys:
- In the Firebase Console, go to
Project settings>General>Your apps. - Click on
Add fingerprintand add your SHA-1 and SHA-256 keys. You can find these keys in Android Studio:- Go to the terminal in android studio and run this command:
./gradlew signingreport
- Go to the terminal in android studio and run this command:
- If it shows any error it means that your jdk is not properly set up.
Watch this to set up JDK properly Tutorial Video.
- Copy the SHA-1 and SHA-256 keys from the report and add them to Firebase.
- After adding SHA-1 and SHA-256 keys and then download the
google-services.jsonfile provided and place it in theappdirectory of your project, selectProjectto view a proper file structure.
- In the Firebase Console, go to
-
Set Up Google Cloud Console:
- Go to the Google Cloud Console.
- Select your Firebase project.
- Go to
APIs & Services>Credentials. - Click on
Create credentialsand selectService account. - follow the steps and a new account will be created.
- click on it and then there will be an option for
Add key>Create new keyselectJSON - Download the JSON key file and rename it to
messease.jsonand place it in theapp/src/main/res/rawdirectory of your project.
-
Run the App:
- Sync your project with Gradle files.
- Build and run the app on your emulator or physical device.
-
Ask for the Issue to Be Assigned:
- Before working on any issue, please make sure to comment on the issue and ask for it to be assigned to you.
-
Create a New Branch for Each Issue:
- Once the issue is assigned to you, create a new branch for your work:
git checkout -b issue-<issue-number>
- Once the issue is assigned to you, create a new branch for your work:
-
Solve the Issue:
- Make your changes and commit them with a clear and concise commit message:
git commit -m "Fixes issue #<issue-number>: <description of fix>"
- Make your changes and commit them with a clear and concise commit message:
-
Push the Changes:
- Push your branch to your forked repository:
git push origin issue-<issue-number>
- Push your branch to your forked repository:
-
Create a Pull Request:
- Go to the original repository and click on
Pull requests. - Click on
New pull requestand select your branch. - Provide a detailed description of your changes and submit the pull request.
- Go to the original repository and click on
We appreciate your contributions and look forward to working with you!
Thank you!