A Social Media Application with features to post text and images, share them with external apps, follow people to see their posts and in built messaging service.
- Firebase
- Glide
- Circular Image View
After cloning the project, you need to replace the existing Firebase json file with yours. Follow the steps below to add json file to your project:
- Create Firebase account and go to console ( it is present in upper right side of main website).
- Click on New Project. A dialog box opens up. Give a suitable name and click on Create Project.
- In the new window, where you have to select the platform in which you want to add Firebase, select Android.
- Register app window opens. Fill the details.
Package Name : com.example.android.congenialtelegram
App Nickname : Congenial Telegram - Click on Register App button.
- Download the json file and put it in the app directory.
- Build the project in Android Studio. And click OK in Firebase and the project is created.
- Next when the below window opens, go to Sign-in Method in Authentication tab.
- Enable Email and Password.
- Setup Realtime Database from Database tab. Make sure you have the following rules in your rules section of database.
{ "rules": { ".read": "auth != null", ".write": "auth != null" } }
- Similarly, setup Firebase Storage from Storage tab. Check the rules again.
service firebase.storage { match /b/{bucket}/o { match /{allPaths=**} { allow read, write: if request.auth != null; } } }