
Firebase App Check
Use when implementing app attestation, configuring App Check providers, setting up...
Install
npx skills add evanca/flutter-ai-rules --skill firebase-app-check -g -a claude-code -y- Repository
- evanca/flutter-ai-rules668
- Category
- Testing
- Updated
- 5d ago
- License
- MIT
- Context cost
- Mediumabout 1,558 tokens
- Runs scripts
- No, instructions only
What it does
Use when implementing app attestation, configuring App Check providers, setting up debug tokens, enabling backend enforcement, or managing token refresh.
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
import 'package:firebase_app_check/firebase_app_check.dart';
Initialize App Check after Firebase.initializeApp() and before using any Firebase services:
await Firebase.initializeApp();
await FirebaseAppCheck.instance.activate(
webProvider: ReCaptchaV3Provider('recaptcha-v3-site-key'),
androidProvider: AndroidProvider.playIntegrity,
appleProvider: AppleProvider.deviceCheck,
);
Setup Checklist
- Register apps in the Firebase console under Project Settings > App Check.
- For web, obtain a reCAPTCHA v3 site key from the Firebase console.
- Confirm activation completes before any Firestore, Storage, or RTDB calls.
- Consider setting a custom TTL, shorter TTLs are more secure but consume quota faster.


