Skip to main content

Authenticate with Firebase Using Phone(OTP)

To enable phone authentication (OTP) in your News App:

Enable in Admin Panel

  1. Enable Mobile Login from Admin panel > System Setting > General Settings & Set Country code there.

Mobile Sign In & Country Code

Configure Firebase

  1. NOTE: You need to enable Blaze Plan From Firebase for this - Refer this video
  2. Open your Firebase console
  3. Go to Authentication and open Sign-in method
  4. Enable Phone Sign-in method and save

Phone Authentication

Common Issues

If you're facing issues with Phone Authentication, you may:

  • Disable it from Flutter code > lib > utils > constant.dart file by setting bool mobilelogInEnabled to false
  • Or enable Firebase Blaze plan from Firebase console and check other information from here