Closed ibragimazizli closed 5 months ago
++ I can agree i have this bug too ONLY on WEB
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.
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?
++ I can agree i have this bug too ONLY on WEB
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
// webProvider: ReCaptchaV3Provider('recaptcha-v3-site-key'),
androidProvider: AndroidProvider.playIntegrity,
// appleProvider: AppleProvider.appAttest, ); sharedPreferences = await SharedPreferences.getInstance(); runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key});
@override Widget build(BuildContext context) { return const MaterialApp( title: 'Master App', debugShowCheckedModeBanner: false , home: MySplashScreen(),
);
} }
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.
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.
Did you enable Firebase App Check API on GCP?
yes
@ibragimazizli - in your initial post, you said:
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.
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:
E/FirebaseAuth(13716): [SmsRetrieverHelper] SMS verification code request failed: unknown status code: 17028 Invalid app info in play_integrity_token
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 :
Additional context and comments
No response