Repository navigation
Flutter Firebase Phone Authentication OTP SMS not received (codeSent callback triggered) #18543
Replies: 1 comment
|
Your debug logs reveal the real issue. The key errors are:
What's happening: Check in this order: 1. API Key restrictions 2. SHA fingerprints keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore -storepass androidAdd both SHA-1 and SHA-256 to Firebase Console → Project Settings → Your Android App → SHA certificate fingerprints. 3. google-services.json flutter clean
flutter pub get
flutter run4. App Check Quick test: Add your phone number as a test number in Firebase Console → Authentication → Sign-in method → Phone → Phone numbers for testing. This bypasses Play Integrity and reCAPTCHA entirely. If this works, the issue is definitely configuration, not code. |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I'm building a Flutter app called QuickDrop.
Problem:
Firebase Phone Authentication is not sending OTP SMS.
Current status:
I also noticed:
Repository:
https://github.com/gopalbhowmik7865-source/QuickDrop
Can someone help me identify the root cause?
Additional information:
All reactions