Flutter Firebase Phone authentication not working #4135
-
Launching lib\main.dart on Lenovo TB X304L in debug mode... This is the error I m facing with using firebase phone auth and also my app crashes just when I click on my login button. Please Help!! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Well I overcome the problem using those steps- In the Google Cloud console, enable the Android DeviceCheck API for your project. (**Note: Select your Firebase project and enable it) |
Beta Was this translation helpful? Give feedback.
-
Here is solution in my case. Open your flutter Project directory. |
Beta Was this translation helpful? Give feedback.
Well I overcome the problem using those steps-
In the Google Cloud console, enable the Android DeviceCheck API for your project. (**Note: Select your Firebase project and enable it)
Get SHA-256 fingerprint for for your app.
Go to Settings Page of the Firebase console, select your project and set the SHA-256 fingerprint for your app.
Re-run the app. That solution worked for me. Hope it works for you too.