AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Ionic Firebase

skill-erkamyaman-ionic-capacitor-skills-ionic-firebase · by erkamyaman

Wire Firebase Auth (email/password, Google, Apple) and Cloud Firestore into an Ionic Capacitor app. Trigger when adding Firebase Auth, Firestore, social sign-in via Firebase, or backend persistence using Google's Firebase platform.

No reviews yet
0 installs
31 views
0.0% view→install

Install

$ agentstack add skill-erkamyaman-ionic-capacitor-skills-ionic-firebase

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-erkamyaman-ionic-capacitor-skills-ionic-firebase)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Ionic Firebase? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Firebase (Auth + Firestore)

The default backend for most Ionic apps. Auth handles sign-up / sign-in (including social providers); Firestore handles persistent data with realtime sync and offline support.

When to consult

  • Project setup + native config files (google-services.json, GoogleService-Info.plist): [setup.md](references/setup.md)
  • Auth (email, Google, Apple, magic link): [auth.md](references/auth.md)
  • Firestore (read/write/realtime/offline): [firestore.md](references/firestore.md)
  • Per-framework integration snippets: [framework-snippets.md](references/framework-snippets.md)

Library choice

Two viable approaches:

| Approach | When to pick | |----------|--------------| | Firebase JS SDK (firebase npm package) | Web-first, simple cases, web/mobile parity. Works in browser, iOS WKWebView, Android WebView. Auth popups can be tricky on native. | | Capacitor Firebase plugins (@capacitor-firebase/*) | Native auth dialogs (Google sign-in via native sheets), offline Firestore via native SDKs, push via native FCM. More setup, much better UX. |

Recommendation: use the JS SDK for v1 (faster), migrate to @capacitor-firebase/* plugins when you hit native UX gaps (especially Google Sign-In, which is rough via web-only on Android).

This skill covers both — pick whichever fits.

Hard rules

  • Never put Firebase Admin SDK code in the app. That's server-only — uses a service account with full permissions.
  • ✅ Firebase web config (apiKey, projectId, etc.) is safe to ship — Security Rules do the gating. See [../ionic-shared/references/environments-and-keys.md](../ionic-shared/references/environments-and-keys.md).
  • ✅ Write Firestore Security Rules before going live. The default "test mode" rules expire after 30 days and become "deny all" if not replaced.
  • ❌ Don't use Realtime Database for new projects unless you have a specific reason — Firestore is the modern choice.
  • ❌ Don't query a collection with no index expecting it to scale — Firestore's query patterns require composite indexes for compound filters.

Library

npm install firebase
# OR for native plugins:
npm install @capacitor-firebase/app @capacitor-firebase/authentication @capacitor-firebase/firestore
npx cap sync

Pairs with

  • Push notifications via FCM: Firebase's google-services.json / GoogleService-Info.plist also covers FCM. Wire push handling itself via [../ionic-shared/references/push-notifications.md](../ionic-shared/references/push-notifications.md) — the plugin (@capacitor/push-notifications) is independent of Firebase Auth/Firestore but uses the same native config files.
  • Magic-link sign-in: requires Universal Link / App Link plumbing — see [../ionic-deep-links/](../ionic-deep-links/SKILL.md). Firebase Dynamic Links is shut down — your own deep-link infra is the path.
  • Sign in with Apple: integrates via @capacitor-firebase/authentication (this skill, [auth.md](references/auth.md)). Don't also install @capacitor-community/apple-sign-in — see [../ionic-apple-sign-in/SKILL.md](../ionic-apple-sign-in/SKILL.md) for when to use the standalone plugin instead.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.