143,182 questions
Score of 0
0 answers
73 views
Should Instagram-style feed ranking be implemented in Firebase backend or Flutter client? [closed]
I'm building a social media app in Flutter using Firebase (Cloud Firestore) and Hive for local caching.
The app has an Instagram-style following feed where users only see posts from accounts they ...
Score of 1
1 answer
71 views
Firebase intermittent data fetch failure: WebChannelConnection RPC 'Listen' stream transport errored
I've been encountering an issue with Firestore while trying to retrieve data from my Firestore database using the Firebase web SDK. I've gone through my code, Firestore security rules, and CORS ...
Score of 0
1 answer
115 views
Incorrect project_id in google auth response
I am using firebase authentication (phone/email) for my app. To initialize the firebase app, I have taken the firebase configuration JSON. In the JSON file, I see the expected project ID. Below is my ...
Score of 0
1 answer
93 views
Tree Shaking / Minifying Firebase using esbuild
I'm building a web app that uses Firebase Auth. I don't use any other Firebase features.
The current version of Firebase is over 600kb. The Firebase Auth package on NPM states "This package is ...
Score of 1
0 answers
76 views
firebase_ai Flutter plugin fails with "Cannot query the value of this provider because it has no value available" on Gradle 9.1.0
I'm getting a build failure specifically in the firebase_ai plugin's Android build task when running flutter run / flutter build apk. Other Firebase plugins in the same project (firebase_auth, ...
Score of 1
1 answer
131 views
Firebase Realtime Database Android: keepSynced(true) + get() causes "listen() called twice for same QuerySpec" AssertionError
I am using Firebase Realtime Database in an Android app.
Firebase BoM:
34.16.0
Persistence is not enabled.
When I use keepSynced(true) and then call get() on the same reference, I get this crash:
...
Score of 1
1 answer
132 views
FCM v1 fid (Firebase Installation ID) target returns 404 UNREGISTERED on iOS, while the full registration token delivers
The Firebase Admin SDK (Python 7.5.0) recently added a fid send target and deprecated token (see docs: https://firebase.google.com/docs/cloud-messaging/send/admin-sdk#send-messages-to-specific-devices)...
Score of 0
1 answer
173 views
Firebase Authentication: EMAIL_TEMPLATE_UPDATE_NOT_ALLOWED when updating custom action URL (Identity Platform project) [closed]
Problem
I'm unable to update the custom action URL for any Authentication email template in my Firebase project. The project uses Firebase Authentication with Identity Platform enabled.
Every attempt ...
Score of 0
1 answer
169 views
Firebase signInWithRedirect() returns to my app, but never creates a Firebase Authentication user, while signInWithPopup() works
Firebase signInWithRedirect() returns to my app but never creates a Firebase authentication user, while signInWithPopup() works.
I'm seeing behavior that I can't explain. I have a minimal Angular ...
Advice
0
votes
2
replies
88
views
How can I improve a reusable fetch wrapper with Firebase auth in JavaScript?
I have a reusable apiFetch() wrapper that adds a Firebase auth token, sends JSON when needed, parses the response, and throws a custom error for failed requests.
The code works, but I’m not sure if ...
Best practices
0
votes
2
replies
83
views
Is using CryptoJS AES with a Firebase UID as the encryption key a secure approach?
import CryptoJS from 'crypto-js';
const GLOBAL_SALT = 'AarthSaathiEncryptSaltSecretKey';
/**
* Encrypts a field value client-side using a key derived from the user's UID.
* @param {string} value ...
Best practices
0
votes
4
replies
120
views
How to encrypt and decrypt specific fields in a React Context before storing them in Firestore?
// UserContext.jsx — global user profile state
// Handles missing Firebase gracefully (works without credentials during dev)
import { createContext, useContext, useState, useEffect } from 'react';
...
Score of 4
2 answers
535 views
Firebase Hosting GitHub Action fails with "supplied version is the current active version" but changes are still deployed
I'm using the FirebaseExtended/action-hosting-deploy@v0 GitHub Action to deploy a Flutter web application to Firebase Hosting. Every time I push changes to my code, the action runs and fails with an ...
Score of 0
1 answer
112 views
Xcode Firebase Analytics Framework Shallow Bundles
I've just updated one of my iOS apps in Xcode. Its uses Firebase. iOS version all works fine, and is already uploaded to App Store Connect.
The app also has a Mac version using Catalyst. However, when ...
Score of 2
0 answers
110 views
How do I wait my program thread for something to happen in Spring Boot and then wake it up?
I am writing this backend software where I need to send Firebase notifications to the client (a tablet), and when I send the notification itself (wrapped in a method) I want my thread to wait 10 ...