New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Firebase Auth]: Firebase phone auth not working #12594
Comments
++ |
Hello @ibragimazizli thank you for reporting this issue. We will look into it. @prologikus, the web one have been solved #12587, the fix will be available next release. |
How long will take to release new version? |
Did you solved on mobile? |
We did able to reproduce this on web and solved the underlying issue causing it. I will try to reproduce on mobile and see what we can do from there. |
hi I'm new here. I have a problem that is not allowing users to access their account. Can anyone help me, I really appreciate it. I leave you the clues of my errors and the code. W/LocalRequestInterceptor(23603): Error getting App Check token; using placeholder token instead. Error: com.google.firebase.FirebaseException: Error returned from API. code: 403 body: App attestation failed. W/LocalRequestInterceptor(23603): Error getting App Check token; using placeholder token instead. Error: com.google.firebase.FirebaseException: Too many attempts. Future main() async // webProvider: ReCaptchaV3Provider('recaptcha-v3-site-key'),
// appleProvider: AppleProvider.appAttest, @OverRide
} |
Is there any news about fix? |
Did you enable Firebase App Check API on GCP? |
Shall we review together if there are any bugs in this diff and other files? Introducing a large-scale usage of Dart JS interop might have introduced some side-effects. |
yes |
@ibragimazizli - in your initial post, you said:
So it works but will stop working after a while. This is because there are rate limits to how often you can keep sending sms codes. Here is a list of rate limits for you to follow: https://firebase.google.com/docs/auth/limits#phone-auth In terms of sending sms codes to real devices, check your console log output. It says the following:
This sounds like a misconfiguration. Have you got your SHA-1 and SHA-256 key in your Firebase console? I would read this part of documentation very carefully: https://firebase.google.com/docs/auth/android/phone-auth?_gl=1*sk7sr9*_up*MQ..*_ga*MTY4MjUwODYyNy4xNzEzMjc0OTU3*_ga_CW55HF8NVT*MTcxMzI3NDk1Ni4xLjAuMTcxMzI3NDk1Ni4wLjAuMA..#enable-app-verification |
Hey @ibragimazizli. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @ibragimazizli if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Android, iOS
Description
Hello everyone.
I added firebase phone auth in my app. but it's not sending sms codes to devices. ( real device) sometimes test numbers works fine. but after couple of hours it stop working.
I've added sha1 sha256 keys from google console and local keys and it still not working. I've done all the things internet says about it but it still not working:
Flutter doctor:
build.gradle:
Reproducing the issue
Phone auth flutter firebase
Firebase Core version
2.28.0
Flutter Version
3.19.5
Relevant Log Output
Debug console with real number:
in addition google console shows play integrity incomplete :
```Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: