Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

πŸš€ AdvAuth – Advanced Android Authentication App

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


πŸ“± Features

βœ… 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


πŸ— Tech Stack

  • Java
  • XML (Android Views)
  • MVVM Architecture
  • Firebase Authentication
  • Firebase Realtime Database / Firestore
  • Glide (for image loading)
  • Android Studio

πŸ” Authentication Methods Implemented

πŸ“§ Email & Password

  • Secure registration
  • Input validation
  • Error handling
  • Persistent login session

πŸ”΅ Google Sign-In

  • One-tap Google login
  • Firebase credential linking
  • Seamless account management

πŸ“± Phone OTP Verification

  • SMS-based authentication
  • Firebase PhoneAuthProvider
  • Auto OTP detection (if supported)

πŸ”„ Password Reset

  • Forgot password via email
  • Secure token-based reset

πŸ› Architecture Overview

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.


πŸ“‚ Project Structure

com.advauth β”‚ β”œβ”€β”€ ui β”‚ β”œβ”€β”€ auth β”‚ β”œβ”€β”€ profile β”‚ β”œβ”€β”€ onboarding β”‚ β”œβ”€β”€ viewmodel β”œβ”€β”€ repository β”œβ”€β”€ model β”œβ”€β”€ utils


βš™ Setup Instructions

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 πŸš€

🎯 Learning Outcomes

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


🌍 Use Cases

  • Resume Project
  • Final Year College Project
  • Hackathon Submission
  • Production App Starter Template

🀝 Contributing

Contributions are welcome to improve features and performance.


⭐ Support

If you found this project helpful, please give it a star ⭐

About

Advanced Android Authentication App built with Java, XML, and Firebase featuring Email/Password, Google Sign-In, Phone OTP verification, and production-ready authentication flows.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /