Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 612 Bytes

File metadata and controls

7 lines (6 loc) · 612 Bytes

Verify OTP using FirebasePhoneAuthentication

Sample project implementing SMS OTP verification using Firebase auth.

Usage

  • Before you can run the sample app, you must create a project in the Firebase console. Add an Android app to the project, and copy the generated google-services.json file into the app/ directory.
  • Open project in firebase console -> Authentication --> SIGN-IN-METHOD --> click on phone --> Enable
  • You must also add SHA certificate fingerprints. To add it click on Gear icon besides overview(top-left side) in firebase console --> Project setting --> Scroll down --> Add Fingerpint