Implementing Login on Android with FirebaseUI
Lesson 13 of Advanced Android with Kotlin course on Udacity
Code for the Advanced Android Kotlin Testing Codelab 06.1-06.2
Updates:
- Latest library versions (see .gradle files)
- Minor code refactoring
Introduction
This app displays fun facts about Android and has a Login/Logout button. When the user is logged into the app, any displayed Android fact will include a greeting for the user to add a touch of personalization.
Tasks:
- Add Firebase to the project
- Enable Authentication Methods
- Implement the login button
- Update the UI based on authentication state
- Enable Logout
- Enable settings screen
- Redirect the user to the login screen if necessary
- Handle navigation after successful login