Skip to content
Skills Library
Programming · Tool integration

mobile-firebase

/mobile-firebase

Integrates and reviews Firebase across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers Auth, databases, Storage, Functions, FCM, Analytics, Crashlytics, Remote Config, App Check and KMP shared-to-platform SDK boundaries. Use for any Firebase setup, bug, security rule, emulator, configuration file or product integration.

Repository
reis-mobile ↗
Licence
MIT
Last repository change
13.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
59
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Integrates and reviews Firebase across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers Auth, databases, Storage, Functions, FCM, Analytics, Crashlytics, Remote Config, App Check and KMP shared-to-platform SDK boundaries. Use for any Firebase setup, bug, security rule, emulator, configuration file or product integration.

Original author description

Integrates and reviews Firebase across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers Auth, databases, Storage, Functions, FCM, Analytics, Crashlytics, Remote Config, App Check and KMP shared-to-platform SDK boundaries. Use for any Firebase setup, bug, security rule, emulator, configuration file or product integration.

How it works

  1. 1. Pick the references
  2. 2. Configuration files are not secrets, but they are not protection either
  3. 3. Environments
  4. 4. Local Emulator Suite
  5. 5. Cost and performance
  6. 6. Privacy
  7. Output
Original SKILL.md headings · 52 lines, 516 words
SKILL.md preview
---
name: mobile-firebase
description: Integrates and reviews Firebase across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform. Covers Auth, databases, Storage, Functions, FCM, Analytics, Crashlytics, Remote Config, App Check and KMP shared-to-platform SDK boundaries. Use for any Firebase setup, bug, security rule, emulator, configuration file or product integration.
routing: manual
stacks: ["*"]
---

# Mobile Firebase

One skill for Firebase on every mobile stack. This file holds what is true for every platform and product; setup, APIs and pitfalls live in the references.

For the app-wide lifecycle around Firebase APIs, use [mobile-auth](../mobile-auth/SKILL.md) for identity/session transitions, [mobile-notifications](../mobile-notifications/SKILL.md) for token bindings and tap navigation, and [mobile-privacy](../mobile-privacy/SKILL.md) for consent and deletion. Open only the workflow relevant to the task.

## 1. Pick the references

Detect the stack first, then read the platform guide (shared setup and the product list) and only the product guides the task needs:

| Project | Read |
|---|---|
| Flutter | [references/flutter.md](references/flutter.md) |
| Native Android (Kotlin), or the Android side of Kotlin Multiplatform | [references/android.md](references/android.md) |
| Native iOS (Swift) | [references/ios.md](references/ios.md) |
| React Native or Expo | [references/react-native.md](references/react-native.md) |
| Kotlin Multiplatform shared API and Android/iOS Firebase boundaries | [references/kotlin-multiplatform.md](references/kotlin-multiplatform.md) |

In a Flutter or React Native app, native code in `android/` and `ios/` (a notification service, an app extension) follows the native guides.

## 2. Configuration files are not secrets, but they are not protection either

`google-services.json`, `GoogleService-Info.plist` and the Firebase web config identify the project; they ship inside every app and anyone can extract them. What protects data is:

- **Security rules** for Firestore, Realtime Database and Storage. Rules that allow reads or writes to everyone (`allow read, write: if true`, or test-mode rules left in production) are a critical finding.
- **App Check**, so only the genuine app calls Firebase backends and AI Logic.
- **Server-side authorization** in Cloud Functions: check `auth` and inputs; never trust the app.
- **API key restrictions** in Google Cloud for the keys in those files.

## 3. Environments

Use separate Firebase projects for development and production, selected by build flavor, scheme or configuration — not by editing the config file before a release. Keep production data out of debug builds and out of tests.

## 4. Local Emulator Suite

Develop and test against the Firebase Local Emulator Suite (Auth, Firestore, Realtime Database, Storage, Functions) instead of production. Connect each product to the emulator before its first call, only in debug builds. The Android emulator reaches the host at `10.0.2.2`.

## 5. Cost and performance

- Real-time listeners bill reads on every change: listen to narrow queries, paginate, and remove listeners when screens go away.
- Offline persistence is on by default for Firestore on mobile; design UI for pending writes instead of waiting for the server.
- Keep Remote Config fetches and SDK initialization off the launch path when possible.

## 6. Privacy

Analytics, Crashlytics and Messaging collect data covered by store privacy disclosures (App Store privacy details and privacy manifests, Google Play Data safety). Never send personal data (emails, names, phone numbers) as analytics parameters, crash keys or user properties, and honor consent before enabling collection where the law requires it.

## Output

When integrating, list the files changed, the console steps the user must do (enable a provider, upload an APNs key, create an index) and how to verify it works. When reviewing, report rules, App Check and privacy issues first, with `file:line`.
Files in this package (59)
  • SKILL.md 4 KB
  • references/android.md 2 KB
  • references/flutter.md 2 KB
  • references/ios.md 2 KB
  • references/kotlin-multiplatform.md 1 KB
  • references/react-native.md 2 KB
  • references/android/ai-logic.md 2 KB
  • references/android/analytics.md 2 KB
  • references/android/app-check.md 2 KB
  • references/android/auth.md 2 KB
  • references/android/crashlytics.md 2 KB
  • references/android/firestore.md 2 KB
  • references/android/functions.md 2 KB
  • references/android/in-app-messaging.md 1 KB
  • references/android/messaging.md 2 KB
  • references/android/realtime-database.md 2 KB
  • references/android/remote-config.md 2 KB
  • references/android/sql-connect.md 2 KB
  • references/android/storage.md 2 KB
  • references/flutter/ai-logic.md 3 KB
  • references/flutter/analytics.md 3 KB
  • references/flutter/app-check.md 4 KB
  • references/flutter/auth.md 7 KB
  • references/flutter/crashlytics.md 5 KB
  • references/flutter/firestore.md 6 KB
  • references/flutter/functions.md 4 KB
  • references/flutter/in-app-messaging.md 4 KB
  • references/flutter/messaging.md 6 KB
  • references/flutter/realtime-database.md 6 KB
  • references/flutter/remote-config.md 4 KB
  • references/flutter/setup-flutterfire.md 4 KB
  • references/flutter/sql-connect.md 2 KB
  • references/flutter/storage.md 4 KB
  • references/ios/ai-logic.md 1 KB
  • references/ios/analytics.md 2 KB
  • references/ios/app-check.md 1 KB
  • references/ios/auth.md 2 KB
  • references/ios/crashlytics.md 2 KB
  • references/ios/firestore.md 2 KB
  • references/ios/functions.md 2 KB
  • references/ios/in-app-messaging.md 1 KB
  • references/ios/messaging.md 2 KB
  • references/ios/realtime-database.md 2 KB
  • references/ios/remote-config.md 1 KB
  • references/ios/sql-connect.md 2 KB
  • references/ios/storage.md 2 KB
  • references/react-native/ai-logic.md 1 KB
  • references/react-native/analytics.md 2 KB
  • references/react-native/app-check.md 2 KB
  • references/react-native/auth.md 2 KB
  • references/react-native/crashlytics.md 2 KB
  • references/react-native/firestore.md 2 KB
  • references/react-native/functions.md 1 KB
  • references/react-native/in-app-messaging.md 1 KB
  • references/react-native/messaging.md 2 KB
  • references/react-native/realtime-database.md 2 KB
  • references/react-native/remote-config.md 1 KB
  • references/react-native/sql-connect.md 1 KB
  • references/react-native/storage.md 1 KB

Versions

The database has no other skills named mobile-firebase.

Database snapshot: 13.11.2026 · package version e6d7c9e37cda (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100gcp-firebase-developer
    Build, configure, and operate Firebase-powered web and mobile applications — covering Firestore, Firebase Auth, Firebase Hosting, Cloud Functions for Firebase, Firebase Storage, App Check, Firebase Remote Config, and Firebase Analytics. Use when building mobile/web apps with…
  • 90flutter-firebase
    Use when integrating Firebase Authentication, Cloud Firestore, Cloud Messaging, Crashlytics, or Firebase Analytics in Flutter.
  • 90firebase-analytics
    Comprehensive guide for Google Analytics for Firebase (GA4F), including base setup, SDK initialization, screen tracking, and event logging on Android and iOS. Use this skill when setting up Google Analytics, adding the SDK, or logging analytics events. Don't use for standalone…
  • 81mobile-apps-flutter-firebase
    Use when the user builds a Flutter app or uses Firebase: screens and layouts, tests, JSON, routing, translations, sign-in, databases, remote settings, crash reports, hosting and security rules.
  • 90firebase-crashlytics
    Comprehensive guide for Firebase Crashlytics, including provisioning and SDK usage. Use this skill when the user needs help setting up Crashlytics, adding crash reporting, or using the Crashlytics SDK in their application.
  • 100mobile-code-review
    Reviews mobile code for production bugs across Flutter, native Android, native iOS, React Native and Kotlin Multiplatform, including KMP source-set and host API contracts. Covers lifecycle, concurrency, UI state and native boundaries with file:line evidence. Use for a code…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.