I do not have a Google Play account yet, and I am trying to use Firebase phone auth., and getting this error (missing-client-identifier) and (app-not-authorized). "note: before working fine".
so, I have done some research and what I understood is I need a Google Play account, is that correct?
implementation("com.google.firebase:firebase-appcheck-playintegrity")
implementation("com.google.firebase:firebase-appcheck-debug")
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
firebase_core: ^2.24.2
firebase_database: ^10.3.8
firebase_auth: ^4.15.3
firebase_app_check: ^0.2.1+6
await FirebaseAppCheck.instance.activate(
androidProvider: AndroidProvider.debug,
webProvider: ReCaptchaV3Provider('recaptcha-v3-site-key'),
);
2
Answers
Having a google play account is not related to this errors,
Make sure the API key and SHA certificate fingerprint in your firebase project sittings are correct.
Yes, you can authenticate to Firebase using phone authentication without a Google Play account. However, if you need to authenticate in Firebase with Google, then indeed you’ll need the Google Play services library.