DELAPARRA
Index
Kleur
EN

Flutter Firebase Auth and Firestore

Implement Firebase Authentication and private Firestore sync in Flutter, including ownership rules, state isolation, and emulator tests.

Licentie MIT

Bron DeLaParra Services

Download zip

Flutter Firebase Auth and Firestore

Drive the authenticated UI from the auth-state stream. Recreate per-user subscriptions and state when the UID changes. Decide the disk-cache policy before constructing Firestore readers, and test sign-out with pending writes.

Put private data under the UID. Check that the authenticated UID matches the path on every relevant operation. For writes, validate allowed keys, types and limits. Test access with two real emulator identities, including direct reads, lists, invalid fields, and unauthenticated requests. App Check supplements identity and rules.

Keep the Admin SDK on trusted servers. Its operations bypass Firestore rules, so server functions must independently enforce ownership. Require recent login for account deletion and keep cleanup retryable.

Bestanden

  • LICENSE
  • SKILL.md
  • SOURCE.md

Gerelateerde termen

Gerelateerde diensten

Een skill installeren in je AI-assistent