All Questions
7,499
questions
0
votes
0
answers
23
views
My fetch requests are stuck on pending and never fulfill a response or make it to the backend
I'm making an application using react, node and firebase and am trying to connect my backend to my front end. I have developed out backend routes and api but when I try to make requests from the front ...
0
votes
2
answers
46
views
How do I add a field in the document stripe adds to fire store once checkout is completed?
I am trying to setup a tutorial content page where users pay through a stripe checkout and once, they have done so they can then view the content on the page.
I am using firebase's firestore and the ...
1
vote
0
answers
36
views
Firebase Functions deploy failed
I am developing an Firebase Functions.
I've been following along with the following official documentation (HERE)
However, I am getting an error when deploying the functions.
> firebase deploy --...
1
vote
1
answer
41
views
Can I use the firebase client auth sdk on the server?
I'm trying to figure out how Firebase works when I've got a client-server model. Usually the client performs a login/register request to the server. Firebase documentation https://firebase.google.com/...
0
votes
1
answer
17
views
Restricting a Firebase Function to just registered users [duplicate]
I have a v2 firebase callable function:
import { onCall } from "firebase-functions/v2/https";
/// Simple ping to test authentication
exports.ping = onCall(async (req) => {
return { ...
0
votes
0
answers
23
views
Error deploying the Firebase Cloud function
I am unable to deploy my Firebase cloud function. The function works perfectly when I run the cloud function locally using the Firebase emulator. However, when I attempt to deploy it, I receive the ...
0
votes
1
answer
31
views
How can I optimize my Cloud Function to react to Firestore document status changes more efficiently?
How can I optimize my Cloud Function to react to Firestore document status changes more efficiently? Is there a way to make this process event-driven rather than using periodic checks? I'm looking for ...
0
votes
0
answers
17
views
Framework backend para arquitectura de microservicios con Flutter y Dart [closed]
I need help choosing the backend or Fullstack Roadmap for a mobile application with Flutter. Currently, I will be using Flutter on the frontend and Firebase on the backend, but I don't know which ...
0
votes
0
answers
12
views
Live reload a shared Typescript Library during React + Firebase development
I am working on a small React + Firebase app and I am implementing some backend functions through firebase functions. There are some shared datatypes and logic between the front end and backend and, ...
0
votes
1
answer
44
views
How can I efficiently insert more than 1 million records into Firestore?
Description:
I am working on a project where I need to insert more than 1 million records into Google Firestore. Currently, my approach is not efficient enough and the process is extremely slow. I am ...
1
vote
0
answers
20
views
Does the ordering of fields in a composite index matter for performance?
I have a Firestore query which is taking a while to execute (> 4 seconds). The query is structured as follows:
db
.collection('testCollection')
.where('fieldA', '==', 1)
.where('fieldB', '==',...
0
votes
2
answers
39
views
Firebase Triggered Cloud Function is not aware of user
I have integrated a payment system to my Firebase app and their system sends a POST request to my backend. I handle that request as below:
app.post("/subscription", (req, res) => {
...
-1
votes
0
answers
28
views
Use custom email handler for email revocation - Firebase Authentication
I've been using Firebase Authentication for user management. It does not allow to customize the email template for operations like password reset or email verification so I've been using custom email ...
0
votes
0
answers
67
views
Getting a Failed to resolve import error even though I am mentioning the correct file path and have exported the variables
I am trying to make a chatting application using React with Vite and Firebase using Google authentication.
I created a firebase.js file to contain the firebase SDK and credentials, when I am importing ...
0
votes
1
answer
58
views
updating firestore document multiple times from event trigger function overwrites or stops updating after few triggers
I am trying to update the doc when a group of images are resized just to show the progress and keep track if any images could not transformed.
we have few images in dir where dir is doc id. using the ...