🚀 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! 😊