Firebase Blog App how to login using firebase Authentication Part 4

Опубликовано: 13 Октябрь 2024
на канале: Android Development Tutorials
24
0

If you haven't already, add Firebase to your Android project.
In your project-level build.gradle file, make sure to include Google's Maven repository in both your buildscript and allprojects sections.
Add the dependency for the Firebase Authentication Android library to your module (app-level) Gradle file (usually app/build.gradle):

implementation 'com.google.firebase:firebase-auth:19.3.1'

If you haven't yet connected your app to your Firebase project, do so from the Firebase console.
Enable Email/Password sign-in:
In the Firebase console, open the Auth section.
On the Sign in method tab, enable the Email/password sign-in method and click Save.