AdvAuth is a production-ready Android authentication application built using Java, XML, MVVM Architecture, and Firebase Authentication.
This project demonstrates how real-world Android apps implement secure and scalable authentication systems including Email/Password login, Google Sign-In, and Phone OTP verification.
Perfect for:
β’ Beginners
β’ College students
β’ Android developers
β’ Anyone who wants to understand production-level authentication systems
β
Splash Screen & Onboarding UI
β
Email & Password Login & Signup
β
Google Authentication Integration
β
Phone Number OTP Verification
β
Forgot Password Flow
β
Profile Screen with Image Update
β
Logout Functionality
β
Firebase Authentication Integration
β
MVVM Architecture
β
Clean & Scalable Folder Structure
- Java
- XML (Android Views)
- MVVM Architecture
- Firebase Authentication
- Firebase Realtime Database / Firestore
- Glide (for image loading)
- Android Studio
- Secure registration
- Input validation
- Error handling
- Persistent login session
- One-tap Google login
- Firebase credential linking
- Seamless account management
- SMS-based authentication
- Firebase PhoneAuthProvider
- Auto OTP detection (if supported)
- Forgot password via email
- Secure token-based reset
This project follows MVVM (Model-View-ViewModel) architecture:
- Model β Handles Firebase operations
- View β XML layouts
- ViewModel β Business logic & LiveData handling
- Repository Pattern for clean separation
This ensures scalability, testability, and clean code organization.
com.advauth β βββ ui β βββ auth β βββ profile β βββ onboarding β βββ viewmodel βββ repository βββ model βββ utils
1. Clone the repository 2. Open in Android Studio 3. Connect Firebase to the project 4. Enable: - Email/Password Authentication - Google Sign-In - Phone Authentication 5. Add your `google-services.json` 6. Run the project π
By completing this project, you will understand:
β’ How to implement secure authentication systems
β’ How Firebase Authentication works
β’ How to manage user sessions
β’ How to structure Android apps using MVVM
β’ How production-level authentication flows are built
- Resume Project
- Final Year College Project
- Hackathon Submission
- Production App Starter Template
Contributions are welcome to improve features and performance.