Skip to main content

All Questions

0 votes
1 answer
41 views

FireBase Push Notifications (FCM) Unity [duplicate]

I made a website enter information into the realtime Database through Firebase. I want to create an app through Unity and make it get a push alarm whenever new information is entered in Firebase in ...
Debug's user avatar
  • 1
0 votes
1 answer
53 views

Google Cloud functions v2 eventarc - How to Track User Context for Deletions in Firebase Realtime Database

I recently migrated my Firebase project to use Eventarc triggers for Realtime Database, transitioning to Node.js 20 and the v2 architecture. While I've managed to find workarounds for tracking user ...
Kermit's user avatar
  • 3,417
0 votes
1 answer
70 views

Firebase Reatime Database deploy error "TypeError: functions.database.ref is not a function"

The code seems fine, the modules needed seem up to date, the link to firebase is correct. However the function will not deploy and gives error... TypeError: functions.database.ref is not a function ...
nserves's user avatar
1 vote
0 answers
53 views

Are there networking charges for traffic between "Firebase Realtime Database" and "Cloud Run Services" in the same region? [closed]

According to the Firebase pricing page, the Realtime Database has a free cost until 10GB of data transferred. After I've joined the "Blaze plan", I could see at https://console.firebase....
heronsanches's user avatar
0 votes
1 answer
28 views

Is there a way to avoid double invocation using Firebase trigger where the trigger updates its own node?

I have a turn based game where I want to validate and process data sent by each player, and update the state afterwards using firebase triggers. Currently using RTDB. To clarify, the node looks like ...
hgh89's user avatar
  • 19
0 votes
0 answers
18 views

Prototype issue whith Firebase cloud functions

I have an issue while writing Firebase cloud functions. Here is the relevant code I have for a cloud function: import {onRequest} from "firebase-functions/v2/https"; import * as admin from &...
Michel's user avatar
  • 11.8k
0 votes
0 answers
46 views

SERVER TIMESTAMP for Realtime Database in Cloud Functions (Python) [duplicate]

To get the SERVER TIMESTAMP for firestore, it is from firebase_admin import firestore ... {"createdAt": firestore.firestore.SERVER_TIMESTAMP} but how to get the SERVER TIMESTAMP for ...
Ibrahim Ali's user avatar
  • 2,521
0 votes
0 answers
34 views

Firebase functions v2 trigger times

I am trying to refactor some Firebase functions code from v1 to v2. The code watches for changes in a sensitive part of the database and logs information about each change, including the time it ...
ed94133's user avatar
  • 1,605
0 votes
1 answer
38 views

Performing multiple realtime database operations within firebase cloud function trigger

I am attempting to generate an invitation code based on when a user adds data to the /households/{house_id} path using the onValueCreated() trigger provided by cloud functions. exports....
Duckington's user avatar
1 vote
1 answer
44 views

Child node stuck as it has exceeded 1MB (possibly a Firebase bug)

I have a user inside my /users/[id] Firebase Realtime Database doc that has 1,048,599 characters in its node, mainly due to them having too many favorites inside /users/[id]/favorites/[favorites], I ...
Cedric Hadjian's user avatar
0 votes
1 answer
528 views

Google Cloud Functions v2 - onValueUpdated and onValueWritten never triggers (error)

I have deployed a v2 Google Cloud Function implementing the onValueUpdated trigger. I have followed this guide --> https://firebase.google.com/docs/functions/get-started?gen=2nd This is my code: ...
Kermit's user avatar
  • 3,417
0 votes
1 answer
52 views

Issues parsing the ephemeral key response following protocol

In my iOS App, I have had stripe integrated with sk_test and now, I am trying to use sk_live. I have configured my live key in my .env, index.js, runtimeconfig.json and remoteconfig.json. When I try ...
Zach Wilcox's user avatar
0 votes
1 answer
24 views

Firebase Functions: How to use second database

How can I initialize my functions to use second database instead of the default one? I use the following code, but noticed a slower response while accessing the database. const admin = require('...
Qasim Quaid's user avatar
0 votes
0 answers
52 views

Realtime Database Firebase Function trigger deployed from VSCode

I am very new to this realm of programming and I was running into some issues not with deploying my Firebase Function to my Firebase Project but testing the function itself and its execution. The ...
RItaPoon's user avatar
0 votes
2 answers
103 views

How to avoid Firebase Cloud Functions invocations?

I have a Firestore collection called "documents": db \documents \$documentId I have created a cloud function that fires each time a new document is added/deleted. This function ...
The One's user avatar
  • 119

15 30 50 per page
1
2 3 4 5
101