I've implemented AppCheck using the instructions here: https://firebase.google.com/docs/app-check/flutter/default-providers
I've verified that I call this (after firebase initiazlization):
await FirebaseAppCheck.instance.activate();
When testing my app locally, on iOS emulator, I get permission-denied when trying to read / write to Firestore.
More details:
- Trying to read documents from Firestore (used to work before AppCheck enforcement)
- DB security rules allow read / write to authenticated users who made the request (tested in "Rules Playground" and used to work before AppCheck enforcement)
Do I need to setup anything in order to test my app on the emulator? Am I missing anything? Does it have anything to do with this (no flutter mentioned there): https://firebase.google.com/docs/app-check/ios/debug-provider