
29 results

Integrates Firebase Crashlytics into Flutter apps. Use when implementing crash reporting, capturing fatal and non-fatal errors, recording uncaught exceptions from isolates and async code, customizing crash reports with keys/logs/user identifiers, configuring opt-in reporting, or uploading obfuscated symbol files. Trigger terms: crash reporting, error tracking, Crashlytics, recordError, recordFlutterFatalError, stack traces, crash logs.

Integrates Firebase Authentication into Flutter apps. Use when implementing email/password sign-in, configuring Google or social sign-in providers, listening to auth state changes, managing user profiles and account linking, implementing multi-factor authentication, handling FirebaseAuthException errors, or securing auth flows. Trigger terms: Firebase auth, sign-in, sign-up, authentication, login, logout, social login, MFA, auth state, FirebaseAuthException.

Integrates Firebase Analytics into Flutter apps. Use when implementing event tracking, logging custom or predefined analytics events, setting user properties, configuring default event parameters, creating conversion funnels, or adding screen view tracking. Covers setup, event logging, parameter constraints, and privacy best practices.

Integrates Firebase Remote Config into Flutter apps. Use when implementing feature flags, creating A/B tests, managing remote parameter defaults, fetching and activating config values, implementing real-time config updates, or configuring throttling intervals. Trigger terms: remote config, feature flags, A/B testing, fetchAndActivate, dynamic configuration, conditional targeting, kill switch.

Create, maintain, and run end-to-end tests for Flutter apps using Patrol 4.x. Use when writing E2E tests, adding integration test coverage, testing native interactions like permissions or system dialogs, capturing UI bug regressions, or validating cross-platform behavior on Android, iOS, and Web.

Implement Flutter state management using the bloc and flutter_bloc libraries. Use when creating a new Cubit or Bloc, modeling state with sealed classes or status enums, wiring BlocBuilder/BlocListener/BlocProvider in widgets, writing bloc unit tests, refactoring state management, or deciding between Cubit and Bloc.

Apply Dart 3 language features including patterns, sealed classes, switch expressions, records, and if-case syntax. Use when writing switch statements, refactoring if-else chains, creating data classes, choosing between records and classes, destructuring values, or modernizing pre-Dart-3 code.

Integrates Cloud Firestore into Flutter apps. Use when implementing Firestore setup, designing document and collection schemas, performing CRUD operations, creating real-time listeners, building paginated queries, configuring indexes, implementing offline persistence, writing security rules, or optimizing for scale.

Implement layered Flutter app architecture with MVVM, repositories, services, and dependency injection. Use when scaffolding a new Flutter project, refactoring an existing app into layers, creating view models and repositories, configuring dependency injection, implementing unidirectional data flow, or adding a domain layer for complex business logic.

Review Flutter/Dart pull requests and merge requests against a structured checklist. Use when asked to review a PR, review a MR, review a branch, audit changed files, check code quality, or evaluate a diff. Covers correctness, security, performance, style, testing, and documentation.

Integrate Firebase Data Connect into Flutter apps with schema design, typed queries, mutations, and real-time listeners. Use when setting up Data Connect, implementing GraphQL-based queries and mutations, configuring generated SDKs, handling offline scenarios, or applying security rules and performance optimizations.

Sets up Firebase for Flutter apps using FlutterFire CLI. Use when adding Firebase to a Flutter project for the first time, running flutterfire configure after adding new platforms or services, initializing Firebase in main.dart, or configuring separate Firebase projects for multiple app flavors. Trigger terms: flutterfire configure, Firebase setup, Firebase initialization, firebase_core, firebase_options.dart, app flavors, multi-environment Firebase.

Integrates Firebase In-App Messaging into Flutter apps. Use when implementing in-app message campaigns, triggering or suppressing messages programmatically, configuring opt-in data collection for user privacy compliance, testing campaigns on specific devices, handling message interaction callbacks, or managing A/B tests for in-app messaging.

Apply Effective Dart guidelines to write idiomatic, high-quality Dart and Flutter code. Use when writing new Dart code, reviewing pull requests for style compliance, refactoring naming conventions, adding doc comments, structuring imports, enforcing type annotations, or running code review checks against Effective Dart standards.

Calls Firebase Cloud Functions from Flutter apps. Use when implementing callable functions, passing structured data to server-side logic, handling function errors and timeouts, configuring region-specific deployments, or testing with the Firebase Emulator Suite. Trigger terms: cloud functions, httpsCallable, server-side logic, callable functions, Firebase functions, backend calls.

Integrates Firebase App Check into Flutter apps. Use when implementing app attestation, configuring App Check providers per platform, setting up debug tokens for development and CI, enabling enforcement for backend resources, managing token refresh and TTL, or hardening app security against abuse.

Structure Flutter apps using layered architecture (UI / Logic / Data) with feature-first file organization. Use when creating new features, designing the project folder structure, adding repositories, services, view models (or cubits/providers/notifiers), wiring dependency injection, or deciding which layer owns a piece of logic. State management agnostic.

Integrate Firebase AI Logic into Flutter apps using the Gemini Developer API. Use when setting up the firebase_ai plugin, generating text or chat responses with Gemini models, streaming AI output, implementing multimodal prompts, handling AI service errors, or applying security and privacy considerations for AI features.

Integrates Firebase Realtime Database into Flutter apps. Use when implementing real-time data sync, structuring flattened JSON trees, performing read and write operations, creating real-time listeners, implementing offline persistence, managing presence detection, sharding across database instances, or writing security and validation rules.