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

How To Use Es6(esm) Imports/exports In Cloud Functions

import functions from 'firebase-functions'; import UtilModuler from '@utilModuler' … Read more How To Use Es6(esm) Imports/exports In Cloud Functions

How To Run A Background Cloud Function And Schedule A Change In Database?

I'm developing an app using React Native and Firebase Realtime database. I want to do something… Read more How To Run A Background Cloud Function And Schedule A Change In Database?

How To Solve Cors In Firebase Functions Enviroment?

I´m runnig into CORS issues. In my functions/index.js I have: const cors = require('cors')(… Read more How To Solve Cors In Firebase Functions Enviroment?

Cannot Use Node 8 For Firebase Functions

I want to use Node 8 for Firebase Functions. I have added the 'engines': { 'node': … Read more Cannot Use Node 8 For Firebase Functions

Javascript - How To Use Promises In Firebase?

Lately I've been stuck with a problem that I don't know how to solve. I asked this question… Read more Javascript - How To Use Promises In Firebase?

Firebase Function Doesnt Update, Function Returned Undefined

Im trying with this firebase function to update the author. exports.updateCourseName = functions.f… Read more Firebase Function Doesnt Update, Function Returned Undefined

Firebase Cloud Function Always Timeout

I'm exploring the firebase cloud functions and I'm trying to send a notifications with an h… Read more Firebase Cloud Function Always Timeout

Firebase Function Onwrite Not Being Called

I'm trying to implement a trigger using Firebase Functions, that duplicates some data in the da… Read more Firebase Function Onwrite Not Being Called

How To Query The Existing Children Of A Sibling Node And Loop Over Them To Detect If It Exists?

I am trying to update (adding) new children on a firebase database. On this scenario I am updating … Read more How To Query The Existing Children Of A Sibling Node And Loop Over Them To Detect If It Exists?

Firebase Cloud Functions: How To Push Data Using Wildcards In Http Requests

I'm exploring new Cloud Functions feature in Firebase, so I know how wildcards work in Realtime… Read more Firebase Cloud Functions: How To Push Data Using Wildcards In Http Requests

Why Does Google Cloud Function Run A Global Function Multiple Times After Deploy?

I have set multiple triggers, like: exports.doSomething = functions.firestore.document('col/{do… Read more Why Does Google Cloud Function Run A Global Function Multiple Times After Deploy?

Cloud Functions For Firebase - Send Fcm Message To Multiple Tokens

I have to send a message to many token when a node is created in my realtime database. I use that&#… Read more Cloud Functions For Firebase - Send Fcm Message To Multiple Tokens

On Authentication Triggers I Am Getting Displayname As Null

I want to use users data on authentication trigger. But when I am using them it gives me null. What… Read more On Authentication Triggers I Am Getting Displayname As Null

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

Why Can't I Use `allauthenticatedusers` For My Firebase Cloud Function?

When deploying Firebase Functions using the Firebase CLI, they are configured so that the Cloud Fun… Read more Why Can't I Use `allauthenticatedusers` For My Firebase Cloud Function?

How To Scope Firebase In Nested Promise Cloud Functions

I am trying to set a few variables from Firebase and then pass those into a anotherfunction. Curren… Read more How To Scope Firebase In Nested Promise Cloud Functions

Google Cloud Function Environmnet Timing Out On Every Functions

Edit: I had to rollback to : npm install firebase-functions@v1.10 --save Because apparently v2.0.0… Read more Google Cloud Function Environmnet Timing Out On Every Functions

Firebase Firestore Transaction Error: Cannot Modify A Writebatch That Has Been Committed

I am deploying on cloud functions, and getting this error Error: Cannot modify a WriteBatch that ha… Read more Firebase Firestore Transaction Error: Cannot Modify A Writebatch That Has Been Committed

Firebase Cloud Function Finished With Status ''error''

I am writing my first cloud function to send a push notification when a new user signs up with my a… Read more Firebase Cloud Function Finished With Status ''error''

Firebase Cloud Functions Are Not Called

My site will call function 's' when I access ' / s /: id'. However, it is never act… Read more Firebase Cloud Functions Are Not Called