Firebase Phone Auth Not Working Diagnosis

Flutter Firebase Phone Auth - SMS Not Arriving? From Diagnosis to Code Fix

After integrating phone number verification into a Flutter app, I faced the situation of “the verification code isn’t arriving.” And when pressing the dev bypass button to skip verification and attempt signup, the server returned “Phone number verification not completed.” Documenting both issues together. Understanding the Structure First The Flutter Firebase Phone Auth flow works like this: Flutter -> FirebaseAuth.verifyPhoneNumber() -> Firebase sends SMS directly | User enters the code | Flutter -> Verify code with Firebase -> Get ID Token | Flutter -> Send firebase_token to backend -> Server verifies token -> Creates PhoneVerification record | Flutter -> Signup request -> Server checks PhoneVerification -> Creates user The key point is that Firebase handles SMS delivery directly. It’s not a structure where Rails or another backend calls Twilio. ...

2025-07-02 · 4 min read · Seunghan
Privacy Policy Terms Disclaimer Contact