Skip to content

Android Application to demonstrate firebase phone authentication with OTP generation

Notifications You must be signed in to change notification settings

AnkitKiet/PhoneAuthenticationUsingFirebase

Repository files navigation

PhoneAuthenticationUsingFirebase

This is an application demonstrating, how to login using Phone Verification with Otp generated using Firebase. Firebase now provides authentication with phone with a free generation of 10K otp request/day. This app shows how to login by-
1: Firebase UI
2: Custom UI
Custom UI require a broadcast reciever which need to be registered to read Otp automatically. But FirebaseUi solves these problem and provides a bolierplate code for AuthUI with all verification on phone number.

Problems Faced During Developing

When Initializing Firebase, the version compatibility creates many issues. FirebaseUI must be compatible with the Firebase Core version.Even the AppCompat version should be compatible.
You can check your compatibility from FirebaseCompatibilityCheck
There is a myth to newbies that Firebase PhoneAuth can only be used in Android Studio 3.0+ . But that's not true. It can be used with any version above 2+ .

About

Android Application to demonstrate firebase phone authentication with OTP generation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages