Skip to content Skip to sidebar Skip to footer
Showing posts with the label Google Cloud Functions

How To Fix "function Returned Undefined, Expected Promise Or Value" When Creating A Function For Firebase?

I created a Firebase function to trigger push notifications, but I get the following register on Fi… Read more How To Fix "function Returned Undefined, Expected Promise Or Value" When Creating A Function For Firebase?

Simulate User-creation In Firebase Functions Cli

I'm writing a function that is triggered whenever a new user is created in Firebase. Debugging … Read more Simulate User-creation In Firebase Functions Cli

Firebase Serve And Debugging Functions?

I ran firebase serve --only-functions Then ran functions inspect addMessage So I could debug … Read more Firebase Serve And Debugging Functions?

Nested Http Requests In Firebase Cloud Function

I'm using an HTTP-triggered Firebase cloud function to make an HTTP request. I get back an arra… Read more Nested Http Requests In Firebase Cloud Function

I Want To Get The Average My Firebase Data

I want to average the related values ​​when the data in the FireBase is updated. I am using Firebas… Read more I Want To Get The Average My Firebase Data

Handle Users’ Online And Offline Status In Firebase

I want to handle the online and offline status in my webapp. So that users can see who is online an… Read more Handle Users’ Online And Offline Status In Firebase

Unable To Send Notifications Using Firebase Functions After Update

So Today I updated the firebase cli and after that deployed a new function. Although the firebase l… Read more Unable To Send Notifications Using Firebase Functions After Update

Firebase Functions, Admin.database().ref(...).get() Is Not A Function

I am working on an Android Application and am using firebase as the back end for it. I am trying to… Read more Firebase Functions, Admin.database().ref(...).get() Is Not A Function

How Do You Made Google Cloud Functions Only Worked When Pinged From Certain Urls?

I made a Google Cloud function, but it returns data even when I type in the URL in an incognito win… Read more How Do You Made Google Cloud Functions Only Worked When Pinged From Certain Urls?

Firebase Functions Issue And The Difference Between .add() Vs. .doc().set()

I face the following issue since a few weeks (hasn't been an issue before): 1 .add(data) const … Read more Firebase Functions Issue And The Difference Between .add() Vs. .doc().set()

Typeerror: Cannot Read Property 'todate' Of Undefined

I have a firebase project, I am getting the below error log when running a firebase function, below… Read more Typeerror: Cannot Read Property 'todate' Of Undefined

How To Make Get Request Firebase Cloud Functions

I am developing an app and I want to send my user coordinate from firestore to locationiq.com to ge… Read more How To Make Get Request Firebase Cloud Functions

Cloud Function Stuck In An Infinite Loop

exports.addNewValue = functions.database.ref('/path') .onWrite(event => { event.… Read more Cloud Function Stuck In An Infinite Loop

Firebase Functions - Admin.messaging().sendtotopic Executes But Never Makes It To The `then` Block

For some reason the then block of an admin function doesn't seem to be executing - I don't … Read more Firebase Functions - Admin.messaging().sendtotopic Executes But Never Makes It To The `then` Block

Having A Promise Issue With My Google Cloud Function

I have an http trigger in cloud functions that is working, however I am getting some logs come back… Read more Having A Promise Issue With My Google Cloud Function

Google Clould Functions Deploy: Erofs: Read-only File System

I'm trying to deploy my api to Google Cloud Functions, and I'm getting this: EROFS: read-o… Read more Google Clould Functions Deploy: Erofs: Read-only File System

Check If Data Exists Using Firebase Function

How can I check if the days node exists using Firebase Cloud Function? Pseudo-code inside index.js:… Read more Check If Data Exists Using Firebase Function

Firebase Cloud Functions Check Db For Non-existant Data

I'm looking for how to check if a documents exists in my cloud functions My functions belows wo… Read more Firebase Cloud Functions Check Db For Non-existant Data

Sending Email Through Firebase Cloud Functions

I have a big query table containing email of the users and i want to send them a newsletter email (… Read more Sending Email Through Firebase Cloud Functions

What Will Happen If I Set The Request's Mode To 'no-cors' In My Firebase Cloud Function?

This is a follow up to this question. I have a firebase function which is supposed to take an OTP, … Read more What Will Happen If I Set The Request's Mode To 'no-cors' In My Firebase Cloud Function?