greyfinch / IonicFirebasePhoneAuth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project setup:

You will need your project from Firebase Console.

  1. Copy your credentials (click for Web in console) and create src/app/env.config.ts
  2. In Authentication tab in Firebase Console go to login methods and turn on Phone Auth
  3. Optional. Add test phone number in Firebase Console
  4. Add your application. Make sure your package ID match the one in Firebase Console - e.g. com.ionicfirebasephoneauth.demo
  5. Add SHA-1 blueprint - important!
  6. Download google-services.json and paste it in root folder of project
  7. Run app with ionic cordova run android --device

Notes

Written with StackEdit.

About


Languages

Language:TypeScript 48.5%Language:CSS 25.1%Language:HTML 20.5%Language:JavaScript 5.9%