Skip to content

ArifTarp/FirebasePhoneAuth-Android-Java

Repository files navigation

Firebase Phone Authentication on Android Java

Configuration Steps

  • After clone the application, we create an application from the firebase console.

  • While creating the firebase application, we put the google-services.json file into our project in the place specified in instruction.

  • In the firebase console, enable the Phone option from the sign-in method section of the authentication section. image

  • After receiving SHA-1 and SHA-256 by double clicking on the image in right side of android studio, we add it to the sha certificate fingerprints section in the project settings in the firebase console.

  • image

  • For recaptcha cancellation, in the google cloud console of application enable "Android Device Verification" from library image

  • If you run it from the emulator, it may ask for recaptcha so run it on a real device

  • And enter phone number as + (country code) (number) on the first screen of the application

UI Views

image image

For more informations: https://firebase.google.com/docs/auth/android/phone-auth

Releases

No releases published

Packages

No packages published

Languages