Your Firebase config is in your front-end code, so anyone can copy it and call your Firebase backend from a script, not just from your app. Firebase App Check is the feature built for that gap. It is often skipped in AI-built apps. Here is what it does, what it does not do, and how to turn it on without breaking your own users.
The problem
A Firebase web config (API key, project ID, app ID) is not a secret. Firebase documents that it identifies your project. Any visitor can read it from your bundle and send requests to Firestore, Realtime Database or Storage directly, with no browser and no UI. Security rules decide what those requests can do. App Check adds a second question: is this request coming from your real app?
What App Check does
Per the Firebase docs, your app gets an attestation from a provider (reCAPTCHA Enterprise on the web, Play Integrity on Android, DeviceCheck or App Attest on Apple platforms).…