π WhatsApp Clone is a feature-packed chat application that replicates the functionality of WhatsApp. Built using Firebase, it provides a seamless messaging experience with one-to-one chat, group chat, profile management, secure registration and login, and much more!
- π¬ One-to-One Chat: Communicate instantly with friends and family in private conversations.
- π₯ Group Chat: Create or join groups to chat with multiple people simultaneously.
- πΌοΈ Profile Management: Customize your profile with a name, photo, and status.
- π Registration & Login: Secure user authentication using Firebase Authentication.
- π Real-Time Messaging: Messages update in real-time with Firebase Realtime Database.
- π’ User Presence: Show online/offline status to stay updated with your contactsβ activity.
- π· Media Sharing (optional): Share images, videos, or files within chats.
- π Data Synchronization: All messages, media, and profiles sync across devices in real-time.
Here's a detailed breakdown of the app's structure:
- Language: Java/Kotlin
- UI Components:
- Login and Registration screens
- Chat screens for one-to-one and group chats
- Profile screen with editable details
- Group creation and management screen
- Setting screen
- Firebase Authentication: Handles user registration, login, and secure sessions.
- Firebase Realtime Database: Stores messages, user details, and group chat data.
- Firebase Storage: Manages user profile pictures and shared media.
Follow these steps to set up the project on your local machine:
git clone https://github.com/Sandy-7061/Whats_App.git
cd Whats_App
- Open Android Studio.
- Click on
File > Open
and select the project folder.
- Go to the Firebase Console.
- Create a new project.
- Add an Android app and download the
google-services.json
file. - Place the
google-services.json
file in theapp/
directory.
Ensure the following dependencies are included in your build.gradle
file:
implementation 'com.google.firebase:firebase-auth:xx.x.x'
implementation 'com.google.firebase:firebase-database:xx.x.x'
implementation 'com.google.firebase:firebase-storage:xx.x.x'
implementation 'com.github.bumptech.glide:glide:4.12.0'
- Sync Gradle files.
- Build and run the app on an emulator or a physical device.
π whatsapp-clone
βββ π app
β βββ π src
β β βββ π main
β β β βββ π java
β β β β βββ π com.example.whatsappclone
β β β β β βββ MainActivity.java # Entry point of the app
β β β β β βββ ChatActivity.java # Handles chat screen functionality
β β β β β βββ GroupActivity.java # Manages group chats
β β β β β βββ ProfileActivity.java # Handles profile updates
β β β β β βββ AuthActivity.java # Manages login and registration
β β β β β βββ ... # Other files
β β β βββ π res
β β β β βββ π layout # XML layout files for UI screens
β β β β βββ π drawable # App icons and images
β β β β βββ π values # Strings, colors, and styles
β β β β βββ ...
βββ π build.gradle # Gradle configuration
βββ π google-services.json # Firebase configuration file
βββ ...
Sandeep Kushwaha
π± 7024520740
π§ sandeepkush880@gmail.com
- π Add voice and video calling features.
- π¨ Introduce themes for a personalized experience.
- π Push notifications for message alerts.
- π End-to-end encryption for enhanced privacy.
Feel free to contribute or reach out for any queries! π