eHope is an app for helping people and encouraging them to donate their blood where users can learn about blood donations, test abilities ( see if he can do a blood donations ), see near blood donations centers . In general you can be a hero with this app .
- This apps uses firebase as backend service for the app .
- Adding donations that user have done
- Uploading user profile photo
- Testing user ability of donating blood
- See near blood donations center (still not developed)
- Get informations about blood donations
This app show many codes example in kotlin on :
- Login / Register from firebase auth .
- Uploading profile photo of user in Firebase storage .
- Get a list of data and updating it in firebase realtime database .
- Handiling google maps API .
- Retrieving photos from firebase storage using Glide Library
For the google maps API you need to add xml value file to values folder with your google maps API key to use maps in the app for more informations visit : https://developers.google.com/maps/documentation/android-sdk/start
- Create an new firebase project
- Add just the google-services.json to /app folder
- Enable email authentication method in your firebase project
- Change Realtime Database rules with this :
{
"rules": {
".read": true,
".write": "auth != null"
}
}
MIT