Skip to main content

All Questions

0 votes
1 answer
65 views

Hiding my API key from being accessed directly [duplicate]

My web app has a React frontend with a Node.js (Express) backend. My web app has a react-google-maps map. This map relies on an API key which I have created in my Google Cloud console. I created a ...
Åsmund Vassbotn's user avatar
0 votes
0 answers
32 views

Why aren’t my “real” notifications sending emails but my test notifications do?

I have a Firebase Cloud Function (onCall) named sendTestEmail that successfully sends emails when I trigger it from my front end (a test button). However, my “real” notifications (like follow ...
Tacker Chalice's user avatar
3 votes
1 answer
40 views

Error handling using Firebase SDK functions in React

I'm using Firebase SDK functions to get and post data. But when I'm receiving an error from the backend I'm not able to catch it. The error sent from backend shows up in the networks but the error ...
Rishabh Chaturvedi's user avatar
0 votes
1 answer
45 views

Firebase Function v2 Cors blocked

import { onRequest } from "firebase-functions/v2/https"; import * as logger from "firebase-functions/logger"; import * as cors from "cors"; const corsHandler = cors({ ...
chichi's user avatar
  • 3,318
1 vote
1 answer
36 views

Firebase functions/Nodemailer sending email to myself when a form is submited

I want to use firebase functions with nodemailer to receive emails when a contact form is submited. The form is being saved in my database and then i want to use it in my index.js file with a function ...
nikobinev's user avatar
1 vote
1 answer
133 views

Express with Multer file upload logs an empty array

I can't figure out why I can't use express and multer in my code above. When I upload my file, all I get in the log is an empty array. I've spent several hours modifying it, I just don't get it! I've ...
nonomg's user avatar
  • 19
0 votes
1 answer
249 views

How to make React-Email & Resend work with Firebase Cloud Functions

I have a Nextjs app that utilizes both React-Email, Resend & Firebase Cloud Functions. The directory structure looks like this: I want to send an email to a user whenever a doc is created in &...
Shihab Shahriyar's user avatar
1 vote
0 answers
33 views

Firebase Cloud Function Email Body Shows Only "{}" Despite Sending Form Data

I'm working on a firebase cloud Function to send form submissions via email using Nodemailer. I'm currently testing this using the Firebase Emulator. The issue I'm facing is that the email body only ...
Seth Stitick's user avatar
0 votes
1 answer
29 views

Google Cloud Functions for Firebase: How do I render an image response in React?

I'm using Google Cloud Functions for Firebase (GCFF) to make my API calls on the backend of my simple React web app. Here's a simple one that fetches a picture from Wikipedia. I've tried many ...
achalla's user avatar
  • 187
0 votes
1 answer
73 views

Firestore batch/transaction is not atomic with multiple set, delete inside Cloud Function

I want to delete and create multiple documents in a collection (subcollection) in a single batch, inside a Cloud Function using Firestore Web API. The code inside my Cloud Function looks like this (...
Hunternif's user avatar
  • 2,392
1 vote
1 answer
119 views

Listen webhook response in react frontend app in real time

I have a webhook which is deployed on firebase cloud function and successfully listening response from squareup terminal api. Now the thing is i want to listen the same in my react front end. Because ...
S.Hashmi's user avatar
  • 501
0 votes
1 answer
237 views

Ionic Capacitor with React & Typescript not building for Firebase Functions

I have been developing an Ionic Capacitor React app using Typescript and a Firebase backend. That has been working great, but I had problems getting Firebase Functions to build. There was an error in ...
glimmer's user avatar
  • 626
0 votes
1 answer
158 views

Connect react app on firebase hosting and firebase cloud functions v2

I have Vite react app (that perfectly works locally) with the config that redirects all api requests starts with /functions to firebase function via url (express app). export default defineConfig({ ...
zapletnev's user avatar
  • 503
0 votes
1 answer
126 views

Unable to sign-up using email/password (Firebase NodeJS SDK)

I have a sign-up form which allows Users to enter their credentials (email, password, etc.), which should create a Firebase Auth account, and a record of the other details in MongoDB. My required flow ...
BlazeRod11's user avatar
1 vote
3 answers
470 views

CORS issue accessing firebase cloud functions from react website hosted on firebase hosting

I am working on a React project, I had made my frontend in react.js and hosted it on firebase. I wanted to use firebase cloud functions for backend. Butt the issue is, I keep getting CORS error. This ...
Harshaditya sharma's user avatar

15 30 50 per page
1
2 3 4 5
21