Welcome to "Login-via-Firebase-UI-Library" repo. It contains an Android App which helps users to sign in with their Email, Google account, Github, Facebook, Twitter and with their phone number. Some features in this project are:
- Sign in using Email, Google, Github, Facebook, Twitter, or your phone number.
- Firebase Authentication for secure and easy authentication methods.
- Clean and intuitive user interface.
- Easily customizable for your own branding.
Pic 1: Click on Login.
Pic 2: Sign in with Google.
Pic 3: After successfully signing in, you can retrieve the user's image, name, email associated wirh that Google account.
As the project does not contain play-services.json file, thus you have to get your own from Firebase. To get this config file and to use the project on your system, follow the steps below:
- Go to the Firebase Console
- Click 'Add Project' and follow the prompts to create a new project with the same project ID as this project has.
- In your Firebase project's console, navigate to the "Authentication" section.
- Under the "Sign-in method" tab, enable the "Google" sign-in provider. (don't forget to enable other providers for using them. Rememeber, for enabling facebook provider you also need App Id and App secret which you can get from develpoers.facebook.com
- After enabling Google Sign-In, click on the "Download" button next to "google-services.json".
- Place the downloaded google-services.json file in the app directory of your Android project.
- Open the project in Android Studio.
- Build and run the app in Emulator or in your physical device.