r/Firebase • • 2d ago

Billing Google AI Studio forcing Prepay migration + claiming the $10/mo Google AI Pro credits. Any impact on existing Firebase Postpay billing?

2 Upvotes

Hi everyone,

I’m currently a Google AI Pro subscriber, which includes $10/month in Google Cloud credits via the Google Developer Program.

Right now, I’m seeing this banner inside Google AI Studio:

"This account is required to use prepay billing. Switch now and purchase credits to prevent service disruption."

I also don’t see a straightforward way to claim or apply my $10/month credits in AI Studio yet. I’ve been holding off on switching because I don’t want to accidentally mess up my production setup, so I’d love to hear from anyone who has already gone through this:

  1. Impact on Firebase: My AI Studio API usage and my active Firebase apps currently share the same Google Cloud Billing account (billed monthly via Postpay). If I switch AI Studio to Prepay, will my Firebase services stay untouched on monthly Postpay, or does it affect the whole billing account?

  2. Claiming the $10/mo credit: Is the Prepay migration (and the minimum $5 deposit) required before the $10 monthly Google Developer Program credit can be claimed/applied to AI Studio?

  3. Is migration mandatory? Has anyone had their AI Studio API keys downgraded to the Free Tier or interrupted by ignoring this banner?

  4. Any downtime during the switch? Did switching from Postpay to Prepay cause any interruption to existing API keys in production?

Appreciate any real-world experiences or gotchas before I pull the trigger!


r/Firebase • • 2d ago

Cloud Messaging (FCM) @rootvarma/firebase-electron 1.2.2 — native fetch + MCS heartbeat fixes for Electron FCM

1 Upvotes

Released @rootvarma/firebase-electron 1.2.2.

This package lets Electron apps receive Firebase Cloud Messaging (FCM) push notifications. It’s a fork that requires vapidKey and fixes MismatchSenderId / Web Push decrypt issues.

What’s new in 1.2.2 (no code changes needed on your side if you’re already on 1.2.x):

  • Replaced deprecated request / request-promise with native fetch

  • Acks MCS heartbeat pings so the push connection stays alive

  • Safer reconnect (avoids stacked reconnect attempts)

Install:
npm i @rootvarma/firebase-electron@1.2.2

npm: https://www.npmjs.com/package/@rootvarma/firebase-electron
GitHub: https://github.com/rootvarma/firebase-electron

Feedback welcome.


r/Firebase • • 3d ago

Security Free CLI that tests your Firestore / Realtime DB / Storage rules with two real test users

1 Upvotes

allow read: if request.auth != null is the classic one: it looks protected, but every signed-in user (anonymous accounts included) can read everyone's data.

accessprobe checks your rules by attacking them:

  • it creates two test accounts, which delete themselves at the end;

  • user A writes a document, node or file, then user B and an anonymous visitor try to read, list, modify, take over and delete it, and to create one in A's name;

  • Realtime Database: if your rules only live in the console, it reads the paths from your getReference().child() code. It can also check whether anyone can list every entry under a node, such as backup codes or user ids;

  • allow read: if true is reported as public by design, not as a leak;

  • it gives a fix (Security Rules) for each finding.

cd your-app
npx accessprobe                                   # config from google-services.json / firebaseConfig
npx accessprobe --database-rules database.rules.json   # rules exported from the console

Real-world check: on a multiplayer Android game it found that any player could overwrite another player's online status and read and overwrite their invites. The rules fix was verified against all 25 of the game's own read/write flows in the Emulator Suite before deploying.

MIT, zero dependencies, runs locally: https://github.com/KaanKaya17/accessprobe

Only test projects you own.


r/Firebase • • 4d ago

Other ~$50K CAD unauthorized Gemini API usage on a partner-billed. Please help route for review.

5 Upvotes

Hi everyone,

I'm an early-stage founder in the Google for Startups program, and I'm hoping someone at Google can help get my case to the right team.

In May, there was a spike of unauthorized Gemini API usage on my project. We caught it at about $12K CAD, rotated our keys, and had our Google Cloud partner disable billing. Because of reporting delays, charges still reached about $50K CAD. My $100 budget alert never notified me. None of this usage was ours.

Because my account is billed through a partner, I can't open a billing case with Google directly, and Google refers me back to the partner. The partner hasn't given me any information about the incident: no itemized charges, no logs, no review. Their only offer is that I pay the full balance first, and even then, requesting an adjustment from Google would be at their discretion. They've said collection and legal action will follow.

This has been a really hard six months. This is affecting my livelihood, and I'm struggling to keep going under the weight of it. I'm asking for the right team at Google to review this case. Google has reviewed similar cases, including one billed through a partner (case 72347951).

Related cases: 71673374 and 74524296. I can share the billing account, project IDs and details privately. Thank you for any help.


r/Firebase • • 4d ago

General Need backend architecture advice for an Android multiplayer game on a very tight budget

4 Upvotes

Hi! I'm a student developing an Android multiplayer party game using Unity. I'm looking for advice on choosing an economical backend architecture.

Game overview:

4 players per match.

Short, round-based meme/GIF challenges.

Players submit content and anonymously vote on each other's submissions.

Random matchmaking and private rooms with friends.

Bots can fill empty player slots.

Backend requirements:

Matchmaking and room management.

Real-time synchronisation of submissions and votes.

Server-side validation and scoring to prevent cheating.

Handling disconnects and reconnects.

Player profiles, authentication and match history.

Ranking and progression: Players earn trophies by winning matches. More trophies mean higher ranks. The backend must securely track trophies, update ranks and maintain leaderboards.

Coins, XP and inventory management.

GIF handling:

I'm planning to use the KLIPY API. Players will search for and select GIFs, which must then be displayed to everyone in their active match. Ideally, I want to store only GIF identifiers/references rather than downloading and storing GIF files on my own servers. I'm still verifying the provider's multiplayer usage permissions.

My biggest constraint:

I'm a student building this independently, with a very limited budget. I want to avoid recurring infrastructure costs until the game becomes sufficiently profitable to sustain them.

I'm willing to optimise the architecture and use free tiers, but don't want to compromise security, fairness or reliability.

Technologies I'm considering:

Firebase (RTDB, Firestore, Cloud Functions)

Neon PostgreSQL

Node.js + WebSockets/Socket.IO

Google Cloud Run

Supabase

Questions:

What architecture would you recommend?

Would Firebase or a custom Node.js + WebSocket backend be cheaper?

Is Neon a good choice?

How should live match data and permanent player data be handled?

What hidden costs should I expect?

Which free tiers are genuinely useful for an early-stage multiplayer game?

I'm targeting approximately 200, 1,000 and eventually 5,000 DAU.

I'd appreciate practical advice from developers who have actually built and maintained multiplayer backends. I'm looking for something simple, secure and extremely cost-efficient.

Also tips on monetization would be great! This is my first Multiplayer game.

Thanks!


r/Firebase • • 6d ago

Tutorial I built a free "Network tab" for iOS apps to debug analytics hits (Firebase, AppsFlyer, Adjust, Meta SDK)

4 Upvotes

Debugging analytics in a iOS mobile app is painful. There's no Network tab, DebugView shows data late and filtered, and every check means asking a developer for a build with logs.

So I built Flashlight. It runs on your laptop and shows every outgoing tracking hit from your iPhone, one row per event with all parameters. It recognizes GA4/Firebase, Facebook SDK, AppsFlyer, Adjust and the other analytics SDKs you would expect.

What it does that a plain proxy doesn't:

  1. Firebase sends GA4 data as protobuf. Flashlight decodes it, so you read event names and parameters instead of bytes.

  2. sGTM detection. If a hit goes through server-side GTM, Flashlight flags it and you can inspect the POST URL and body.

  3. It checks the setup for you (iPhone connected, HTTPS readable) and tells you what's wrong. Usually it's the Certificate Trust Settings step people skip.

Under the hood it's a mitmproxy addon. Free, no upsell screens, setup takes 6 minutes 12 seconds.

Fun one from building it: some AppsFlyer hits are encoded by the SDK and can only be decoded on their server, so those stay encoded.

How to install it and how to use it, find it on GitHub: https://github.com/michalnovacek96/flashlight/

If an SDK you use isn't recognized, tell me and I'll add it.


r/Firebase • • 7d ago

Cloud Firestore Need help connecting Firestore to APIs

0 Upvotes

Hi, I'm not sure if this is the best place to ask for help for this kind of thing, but I am creating an app on Android Studio that will take the APIs of various grocery stores and compare the prices and save the information from those APIs onto Firestore. However, I am not sure how to go about doing that. If anyone has any information on how or where I could find the answer, it would be greatly appreciated.


r/Firebase • • 9d ago

General I can't leave a firebase project ?

8 Upvotes

I've been part of a couple of projects and now I'm not a part of that team. I used to work as a freelancer for them. Now those projects are there in my firebase dashboard and I cannot leave them and I have left from every other platform like GitHub, Shorebird, MS Clarity etc . Why is that locked by firebase ? I really don't want to msg them asking to remove me.

Any solution ?


r/Firebase • • 10d ago

Security Firebase App Check + Play Integrity in Expo

1 Upvotes

Hello,

I use Expo (Android) with the Firebase JS SDK for Auth and Firestore. The debug provider works, but real Play Integrity seems to need u/react-native-firebase/app-check, and I can't find an official guide for Expo.

Has anyone already made this work with the JS SDK, or did you have to move Auth and Firestore to React Native Firebase?

Thank you.


r/Firebase • • 13d ago

Cloud Firestore Viewing stored data usage in Cloud Firestore on the no-cost Spark plan.

2 Upvotes

I am busy testing an app that I have built, and I am using the no-cost Spark plan in Firebase for authentication and Cloud Firestore to store the users' data.
I am able to see the number of reads, writes and deletes, but I can't seem to find a way to see how much of the 1 GiB total Cloud Firestore storage I have used?

If someone could point me to where I could find Cloud Firestore Stored data usage in the no-cost Spark plan, I would really appreciate it.


r/Firebase • • 14d ago

Cloud Firestore [AYUDA] Error HTTP 503 al publicar Firestore Security Rules — Incluso las reglas actuales fallan al recompilarse

1 Upvotes

Hola, comunidad. Buen día.

Estoy buscando apoyo con un problema que llevo intentando resolver en Firebase y que me está impidiendo actualizar las reglas de seguridad de Cloud Firestore de un ERP en producción.

He probado diferentes alternativas, tanto desde Firebase Console como desde PowerShell con Firebase CLI, pero sigo recibiendo:

HTTP 503 — The service is currently unavailable

El error aparece al validar o intentar publicar las reglas en:

POST https://firebaserules.googleapis.com/v1/projects/PROJECT_ID:test

También he observado el mismo error en el endpoint de creación de Rulesets.

¿Qué he probado hasta ahora?

1. Verificar autenticación y conexión

  • Firebase CLI versión 15.25.1.

  • Node.js versión 24.14.0.

  • Windows PowerShell.

  • Autenticación válida.

  • Acceso a la base de datos Firestore confirmado con HTTP 200.

  • Puedo consultar y respaldar las reglas actualmente activas.

2. Compilar un archivo mínimo de reglas

Creé un archivo pequeño, con una sola regla de acceso denegado, y ejecuté:

firebase deploy --only firestore:rules --project PROJECT_ID --config firebase.json --dry-run

Resultado: HTTP 200. Compilación correcta.

Esto demuestra que el proyecto puede validar al menos un Ruleset sencillo.

3. Compilar mis reglas completas

Mi archivo original tiene aproximadamente 204 KB e incluye permisos por roles, almacenes, auditoría y validaciones de distintos módulos del ERP.

Resultado: HTTP 503.

4. Eliminar comentarios y líneas vacías

Reduje el archivo de 204,061 a 142,952 bytes, conservando las instrucciones de las reglas.

Resultado: HTTP 503 nuevamente.

5. Recompilar exactamente las reglas que YA están activas en producción

Consulté la release activa mediante Firebase Rules API, descargué su contenido y ejecuté nuevamente la validación con --dry-run.

El archivo activo tiene 202,654 bytes.

Resultado: HTTP 503.

Este último punto es el que más me preocupa: las reglas que Firebase ya tiene publicadas tampoco pueden volver a compilarse.

6. Intentarlo directamente desde Firebase Console

Intenté editar y publicar manualmente las reglas, pero aparece el mismo problema.

Resumen de resultados

PruebaResultado
Reglas mínimasHTTP 200
Reglas completas (204 KB)HTTP 503
Reglas sin comentarios (143 KB)HTTP 503
Reglas actualmente activas (203 KB)HTTP 503
Publicación desde Firebase ConsoleFallida

No se ha publicado ningún cambio y las reglas productivas continúan activas.

¿En qué punto estoy?

Estoy considerando que el problema podría estar relacionado con los límites internos del compilador de Firebase Rules, la complejidad de funciones y expresiones, o algún problema del servicio al procesar archivos extensos.

Sin embargo, todavía no tengo evidencia suficiente para confirmar la causa.

El archivo contiene numerosas funciones auxiliares, validaciones RBAC y bloques match. Necesito mantener esas restricciones porque protegen información financiera y operativa del ERP.

También he intentado obtener soporte oficial, pero todavía no he conseguido una solución.

¿Alguien ha experimentado algo similar?

Quisiera preguntarles:

  1. ¿Han recibido HTTP 503 al compilar reglas grandes de Firestore, aunque las reglas mínimas funcionen?

  2. ¿Conocen límites de complejidad del compilador que puedan provocar este comportamiento?

  3. ¿Existe alguna metodología recomendada para identificar qué función o bloque ocasiona el problema?

  4. ¿Han conseguido solucionarlo reorganizando funciones o simplificando expresiones sin alterar los permisos?

  5. ¿Conocen alguna forma de escalar este problema al equipo técnico de Firebase cuando no se recibe respuesta de soporte?

No quiero reemplazar las reglas productivas por unas simplificadas sin comprobar su equivalencia de seguridad.

Agradecería mucho cualquier orientación, experiencia similar, documentación técnica o solución que hayan aplicado.

Puedo compartir fragmentos relevantes de las reglas y registros del error, sin exponer información sensible.

¡Muchas gracias por su tiempo y apoyo!


r/Firebase • • 15d ago

Authentication Failing Google Auth Platform (i.e. Firebase Auth) brand verification, due to what I think are erroneous issues like my site being behind a login (its not). Anyone else run into this?

1 Upvotes

Update:

Vercel's bot protection was blocking Google from hitting my website with a JS challenge. GoogleBot was coming through fine, but the verification requests come from user agent "Google" and from Google datacenter IPs and are still being challenged (not blocked) by default Vercel rules. I had to had a bypass to fix it.

===========

Original post:

I have been using Firebase auth in a production app for five years. I recently started getting alerts that my project is not in compliance. The complaints are listed below.

The issues don't make sense. My privacy policy is 5,900 words and very detailed about what we collect. My home page is not behind a login. I've requested a manual review multiple times and I keep getting back the same template email.

My site gets millions of crawls a month from GoogleBot, but I wonder if maybe their verification process is getting blocked? I can't imagine why else they would think my homepage is behind a login.

Has anyone run into this problem? How did you resolve it? I have about a month until this starts causing me problems.

These are the complaints from Google:

Your privacy policy page does not have sufficient content. We were unable to confirm your app's compliance. Please update your privacy policy to clearly and sufficiently detail your app's data collection and usage, then retry. Learn more

Your home page is behind a login page. We were unable to confirm your app's compliance. Please update your home page to allow users to view information about your app without needing to login, then retry. Learn more

Your application is not compliant with the Google APIs Terms of Service. We were unable to confirm your app's compliance. Please update your home page to clearly outline your application's purpose and ensure it does not use Google APIs for AI NCII (AI-generated Non-Consensual Intimate Imagery), then retry. Learn more 


r/Firebase • • 16d ago

Authentication A Firebase Function Kit that gives you a user admin panel

1 Upvotes

I've published a Firebase Function Kit (the replacement for extensions) that gives you, and whoever else you designate, a user administration control panel for your app. Basically it shows you a list of users from Firebase Authentication, or lets you look one up by email or UID, and then lets you do things like disable or delete the account, change their name or photo, and edit custom claims. There is a special custom claim that grants access to the admin panel.

Installation isn't quite as simple as "install the function kit" because you also have to be able to log in, but it's still pretty simple, especially if you're using Firebase Hosting. Basically you (1) install the kit with "firebase functions:kits:install", then (2) map a URL path to call one of the functions.

I have an unreleased version, not really ready for release, that has some more sophisticated features, like copying user metadata to a database for better search and sort, and additional ways to customize. I'm not likely to make it free and open source, but if you're interested in additional features and can support a bit of development work, let me know.

The kit is here: https://www.npmjs.com/package/@aldel/superusers

I think this might be the first third-party function kit released. The only other kit I've even seen is the official one for Firestore -> BigQuery.


r/Firebase • • 17d ago

Authentication App Check said 99% of my phone auth requests were verified. That included the attack.

17 Upvotes

Last week bots used my app's SMS login to request 1,744 verification codes in nine days. 1,230 different numbers, 1,152 IPs, about 50 countries. Three of those requests ended in a real sign-in. Cost before I noticed: €57.53. Before October 30 the SMS line in my bill had always been zero.

What found it: the budget alert at 50%, then Billing → Reports grouped by SKU. Almost all of it was "SMS messages sent in Region …" from Identity Platform. Everything else in the project was about €0.40.

What didn't help: App Check. 99% of the requests on Authentication were verified, attack days included. The requests came from the real app on real phones. Attestation passed.

What I did, in order:

  1. SMS region policy limited to the countries where I have users. This stopped most of it with one change.

  2. A blocking function that runs before each SMS, with limits per number and per number prefix.

  3. A daily check that compares codes sent and sign-ins per country. It emails me when a country gets codes and almost no sign-ins.

  4. Budget alerts stay on. They were the only thing that told me.

My mistake: the first version of the filter refused two code requests within 60 seconds. When iOS verification fails at the first attempt the app retries on its own: 4 calls in 22 seconds. A real user got "An internal error has occurred". Count attempts, not calls. Test every change on a real number. Firebase test numbers never send an SMS.

Billing support said no at first. After one polite escalation they refunded €57.24 as a one-time courtesy.

The signal I trust most now is codes sent vs successful sign-ins. Is anyone watching something better?


r/Firebase • • 17d ago

Realtime Database I built a real-time IPL auction simulator using React + Firebase, but I'm struggling with scalability and reliability. Looking for advice!

2 Upvotes

Hey everyone!

I'm a student developer, and for the past few months I've been working on a project called Crick Auction - a real-time multiplayer IPL auction simulator where you can create auction rooms, invite friends, pick franchises, and compete against each other to build the best squad.

Live project: https://crickauction.in/
GitHub: https://github.com/Shaurya01836/ipl-auction

The idea was to recreate the IPL auction experience as closely as possible, rather than just making a simple bidding website.

What I've built so far

  • Real-time multiplayer auction rooms.

  • Live bidding with synchronized timers across connected clients.

  • Private rooms and public lobbies.

  • Franchise selection and budget management.

  • Franchise bots with different bidding strategies.

  • Squad management with overseas player restrictions.

  • Franchise strength ratings to evaluate completed squads.

  • Auction history, live chat, and auction summaries.

Tech stack

  • React 19 + Vite

  • Tailwind CSS

  • Firebase Realtime Database (primary live auction engine)

  • Supabase PostgreSQL (public rooms, leaderboard, and persistent data)

  • Firebase Authentication

Where I'm struggling

While building this, I've realized that making something work and making it reliable under real-world traffic are two very different things.

1. Firebase RTDB bandwidth limitations

Currently, I'm using Firebase Realtime Database on its free Spark plan, which comes with a 10 GB/month download limit.

With the traffic the application is receiving, I'm concerned that this limit could be exhausted within around 10 days.

Real-time bidding involves frequent updates, and multiple connected clients receive these updates simultaneously.

I'm trying to figure out whether I should:

  • Optimize the existing RTDB architecture to reduce unnecessary downloads.

  • Move the live auction engine to Cloudflare Durable Objects.

  • Consider another backend or real-time infrastructure.

  • Use a hybrid architecture where different services handle different responsibilities.

I'm particularly interested in hearing from people who have handled real-time applications with similar workloads.

2. Auction reliability and synchronization

Although the auction is functional, it isn't completely robust yet.

There are still some edge cases and issues around synchronization, bidding, timers, and handling unexpected connection problems.

I want to make sure that two users cannot end up with inconsistent auction states, that bids are processed correctly, and that reconnecting users don't experience unexpected behavior.

3. Scalability and infrastructure

Ideally, I'd like the platform to support:

  • Around 100–300 concurrent users.

  • Approximately 5–20 simultaneous auction rooms.

  • Frequent real-time bidding updates.

  • Reliable synchronization without excessive bandwidth consumption.

I'm working with a very limited budget, so moving to expensive paid infrastructure isn't really an option right now.

What I'd love some advice on

  1. Is Firebase RTDB a reasonable choice for this kind of workload, or am I approaching the architecture incorrectly?

  2. Has anyone migrated a real-time multiplayer application from Firebase RTDB to Cloudflare Durable Objects? Was it worth it?

  3. What are some practical ways to reduce Firebase RTDB bandwidth consumption without compromising the real-time experience?

  4. How would you architect the backend for 100–300 concurrent users and multiple simultaneous auction rooms?

  5. If you've built something similar, what reliability issues should I be looking out for?

I'm not claiming the project is production-perfect. There are still things I need to improve, and that's exactly why I'm posting here.

I've put a lot of effort into building this, and I'd genuinely appreciate feedback, architectural suggestions, or even criticism of things I've done incorrectly.

If you've worked with Firebase RTDB, WebSockets, Durable Objects, or real-time multiplayer systems, I'd especially love to hear your experience.

Thanks for reading!


r/Firebase • • 18d ago

Demo Only Firestore rules for access control in a class-only app, no Cloud Functions. What did I miss?

3 Upvotes

Building a small gallery for my old school batch (I'm an ex-student, unpaid, school is a charity trust). No Cloud Functions since they need Blaze.

Only verified rkmv<number>@gmail.com emails that are in a roster can sign up, votes are one doc per question per student, an admin can block people. The rules have emulator tests.

Demo with fake data: https://smriti-gallery.pages.dev Rules and tests: https://github.com/codewithpom/smriti (look at gallery/firestore.rules)

Please roast the rules. There are also good first issues if you want to help: https://github.com/codewithpom/smriti/labels/good%20first%20issue


r/Firebase • • 20d ago Bravo

Emulators I rebuilt the Firebase emulators with no Java, 10× less memory, and a new UI for the best dev experience

Post image
57 Upvotes

I build with Firebase almost every day and keep the local emulators running all day, and two things wore me down. The suite is heavy with Java to install, a heap past 22 GiB on our app, out-of-memory crashes, and data gone at every stop unless you export it. And it's hard to see what your app is doing. It had become almost unusable for us, so I built a replacement: Firenook. It's open source, and I'd really like to know what you think.

Lighter, with no Java. One npm package with a native engine. On a real app's two-hour workload it peaked at 2.11 GiB where the official emulator reached 22.57 GiB, and answered writes in 5.1 ms against 208 ms at the median. That 40× is under load; on an idle emulator a write is only 1.5× faster (how it was measured). Add --keep-data and Firestore, Auth and Storage come back with your data in about half a second, with no export at every stop.

A new UI, built from scratch. It sits on the Emulator UI's port (screenshots) and shows:

  • every function call with what triggered it, its request, answer, duration and logs; open a failed one, read the stack, run it again;

  • your rules beside each allow or deny, with the line that decided it, plus a playground and coverage;

  • an inbox of the verification emails, sign-in links and SMS codes Auth would have sent;

  • Pub/Sub messages, Cloud Tasks queues and Eventarc events, which the official UI has no pages for;

  • Firestore and Storage to browse and edit, even with millions of documents.

The terminal shows each function call as one line with its outcome and stack, and npx firenook mcp add lets Claude Code, Cursor or VS Code use all of it.

Trying it:

  1. npx firenook init --adopt --dry-run checks your project and changes nothing.

  2. npm install --save-dev firenook (keep firebase-tools for deploying).

  3. Change firebase emulators:start to firenook emulators:start. --only, --project, --import and --export-on-exit carry over.

Your firebase.json, rules, Functions code and app stay as they are.

It's still new and I'm sure it misses things. If something behaves differently from the official emulator, please tell me here or open an issue. That's the most useful feedback I can get.

Repo: https://github.com/firenook-dev/firenook · Docs: https://firenook.dev


r/Firebase • • 20d ago

Cloud Messaging (FCM) My open-source Electron + Firebase npm package just crossed 519 downloads in 8 days!

0 Upvotes

Hey everyone!

I’ve been working on an npm package called @rootvarma/firebase-electron, built to simplify Firebase integration in Electron applications.

I recently published it on npm, and it recorded 519 downloads between October 29 and November 5.
It’s exciting to see something I’ve built getting downloads, and I’d love to see more developers try it out.

If you’re building desktop applications with Electron and Firebase, here’s the package:
📦 npm: https://www.npmjs.com/package/@rootvarma/firebase-electron

I’d genuinely appreciate feedback, suggestions, bug reports, or contributions.

I’m looking to improve it based on real-world developer requirements.

Thanks to everyone supporting open-source projects!


r/Firebase • • 22d ago

Google Analytics Firebase Analytics reporting unusually high subscription conversion events

3 Upvotes

We're running Google UAC 3.0 campaigns for our Android app and noticed something unusual in Firebase Analytics.

Our subscription_convert event count is significantly higher than our in_app_purchase event count. Our in_app_purchase event includes both free trial subscriptions and direct paid subscriptions.

The overall conversion value looks normal. It seems that some subscription_convert events report a value of $0, while others report the correct subscription revenue.

Our dev team has tried several fixes, but none of them seem to work.

Has anyone experienced something similar?


r/Firebase • • 22d ago

Crashlytics Manually Verifying User Email

3 Upvotes

I am trying to create a user to send emails to Pagerduty so we can be alerted on certain conditions. If I add the user with the email address it sends an email and waits for someone to click a button to verify the email, but I can't do that with an email received by Pagerduty. Is there a way for a project owner to manually verify a user's email address in Firebase?


r/Firebase • • 22d ago

Firebase Studio Project Limit after 6 projects?

5 Upvotes

I had around 18 Projects on there, some really old and never used but never bothered to clean them out. Today I'm starting a new project which has importance and another one in the coming months. Firebase says I have reached my limit but no where does it state (That I can find) what my limit is. I have deleted them down to only 6 left which run as community projects that I pay a couple quid for a month which I don't mind, but still unable to create any new ones unless I request them, which google responded telling me to pay $50 extra for. Why is this? What is the actual limit? I don't really want to have multiple google accounts signed to run some basic app hosting.


r/Firebase • • 23d ago

Cloud Messaging (FCM) firebase-electron: FCM sends fail with MismatchSenderId because the token is registered with the wrong sender

3 Upvotes

If you receive Firebase push notifications in an Electron app with firebase-electron, the token can come back fine and every send still fails with MismatchSenderId.

The package registers GCM with a built-in server key instead of your vapidKey. FCM ties the token to that sender, so a send from your Firebase project does not match. Messages that do arrive can also fail to decrypt, because the Web Push dh, salt, and auth fields are not parsed.

I published a fork that registers with vapidKey as the sender and decrypts those Web Push fields:

https://www.npmjs.com/package/@rootvarma/firebase-electron

Install:

npm i u/rootvarma/firebase-electron

vapidKey is required. Pass the same appId, apiKey, projectId, and vapidKey you already use. The first launch registers again and emits a new token.


r/Firebase • • 23d ago

Authentication Firebase Auth hitting a 200/day GetOobCode quota on Blaze — verification emails blocked, Admin SDK also affected

5 Upvotes

Has anyone recently encountered a 200-per-day GetOobCode quota on a Firebase project using the Blaze plan?

We run a production mobile app with nearly 10,000 registered users. We don't recall encountering this daily limit during previous signup activity, so this appears to be a recent issue for us. However, we don't have historical quota values to confirm whether the limit itself changed.

I released an app update, which may have caused a spike in legitimate registrations. Email verification requests then started failing with HTTP 429.

The error response explicitly includes:

Quota exceeded for quota metric 'Get OOB Code'

and limit 'Get OOB Code per day'

quota_metric: identitytoolkit.googleapis.com/get_oob_code

quota_limit: getOobCodePerDayPerProject

quota_limit_value: 200

quota_unit: 1/d/{project}

quota_location: global

reason: RATE_LIMIT_EXCEEDED

We also reproduced the same error using the Firebase Admin SDK's generateEmailVerificationLink(), authenticated with a service account for the same project. Generating a link without sending an email still hits the same 200/day quota.

The public documentation lists 100,000 address verification emails/day and 1,000,000 address verification links/day for Blaze. We understand that quotas scale with user count and that additional abuse protections may apply, but we couldn't find documentation explaining this specific 200/day quota.

https://firebase.google.com/docs/auth/limits

This is affecting real users who cannot complete email verification. We have already contacted Firebase Support and are waiting for a response.

Has anyone experienced this exact quota, especially recently?

Did you find out why it was applied, or get it increased?

Is there any way to inspect or request an adjustment to this specific quota outside of Support?

We're trying to understand the cause rather than assume this is a Firebase bug.


r/Firebase • • 27d ago

Cloud Functions Anybody have any experience using Dart cloud functions?

4 Upvotes

I'm interested in trying out the experimental support for Dart cloud functions, but before I do I'm interested if anyone has tried it out, what the experience has been, pitfalls, etc. I have a Flutter app with a small user base, so it's a good candidate for trying it out, but I'm also hesitant that long-term support is lacking given its experimental status.