Skip to content

Firebase App Check

Firebase App Check helps protect your API resources from abuse by preventing unauthorized clients from accessing your Firebase and Google Cloud resources.

Overview

App Check verifies that incoming requests are from your authentic app and not from malicious actors. It uses platform-specific attestation providers to verify app authenticity and issues tokens that Firebase services can verify.

Common Issues

Core Configuration

Service Enforcement

Platform-Specific Issues

Token Management

Advanced Configuration

Best Practices

  1. Enable App Check for all services - Don't leave any Firebase service unprotected
  2. Use appropriate attestation providers - Choose the right provider for each platform
  3. Implement proper error handling - Handle App Check failures gracefully
  4. Monitor App Check metrics - Track token usage and failures
  5. Test thoroughly - Verify App Check works across all app scenarios

Supported Platforms

  • iOS: App Attest (iOS 14+) or DeviceCheck (older versions)
  • Android: Play Integrity API (Android 4.1+)
  • Web: reCAPTCHA Enterprise or reCAPTCHA v3
  • Flutter: Platform-specific attestation providers

Implementation Steps

  1. Enable App Check in the Firebase console
  2. Register your app with the appropriate attestation provider
  3. Initialize the App Check SDK in your app
  4. Enable enforcement for Firebase services
  5. Test and monitor your implementation