firebase-app-check

Featured

Use when implementing app attestation, configuring App Check providers, setting up debug tokens, enabling backend enforcement, or managing token refresh.

API & Backend 619 stars 60 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Firebase App Check Skill This skill defines how to correctly implement Firebase App Check in Flutter applications, covering provider selection, debug configuration, enforcement rollout, and security hardening. ## When to Use Use this skill when: * Setting up and activating Firebase App Check in a Flutter project. * Selecting the right attestation provider for each platform. * Configuring debug providers for development, testing, and CI. * Enabling enforcement and monitoring App Check metrics. * Implementing token refresh handling and custom TTL configuration. --- ## 1. Setup and Configuration ``` flutter pub add firebase_app_check ``` ```dart import 'package:firebase_app_check/firebase_app_check.dart'; ``` Initialize App Check **after** `Firebase.initializeApp()` and **before** using any Firebase services: ```dart await Firebase.initializeApp(); await FirebaseAppCheck.instance.activate( webProvider: ReCaptchaV3Provider('recaptcha-v3-site-key'), androidProvider: AndroidProvider.playIntegrity, appleProvider: AppleProvider.deviceCheck, ); ``` ### Setup Checklist 1. Register apps in the Firebase console under **Project Settings > App Check**. 2. For web, obtain a reCAPTCHA v3 site key from the Firebase console. 3. Confirm activation completes before any Firestore, Storage, or RTDB calls. 4. Consider setting a custom **TTL** — shorter TTLs are more secure but consume quota faster. --- ## 2. Provider Selection **Android:** | Provider | Use case | |---|---| | ...

Details

Author
evanca
Repository
evanca/flutter-ai-rules
Created
1 years ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category