I am trying to upload a file to Cloud Functions, using Express to handle requests there, but i am not succeeding. I created a version that works locally:  serverside js  const express = require('express'); const cors = require('cors'...
I have a Firebase HTTPs function. The function needs to read a value from a Firebase database based on the query parameter, and return a result based on this data.  The Firebase JS SDK says to do this using:  return firebase.database().ref('/us...
I'd like to perform a query on my database once a cloud function on my Firebase app is called.  Let's say I have a certain trigger on the database, consider the example provided in the get started guide on Firebase.  // Listens for new messag...
I have some trouble with Cloud function and firestore rules. I would like use cloud function with limited privilèges on Firestore and give only has access as defined in the Security Rules  It's working without problem on RTDB but not on Firestor...
Almost there, but for some reason my HTTP post request isn't firing and eventually the function timesout.  Completely beside myself and posting my code to see if anyone picks up on any noob moves that I'm completely missing.  NOTE:  the datab...
Edit:  I had to rollback to : npm install [email protected] --save Because apparently v2.0.0 has some system breaking changes.  I'll probably make a separate question and answer it in the hopes that some of firebase team here on SO can giv...
Thanks to Frank over at Firebase for helping me with this code. I just had this one issue with pushing the document id under Friends collection. I am not sure what is the best way to push const friendId and const accepted to friendsList array in the...
I'm trying to follow this example here https://www.youtube.com/watch?v=gxCu5TEmxXE, but when doing tsc -p, I get an error. Is there something I need to import?  ERROR:  node_modules/@angular/common/src/location/location.d.ts(1,10): error TS2305:...
When I am importing more than 300 record in firebase using google cloud function than am getting error :    Error: function crashed out of request scope Function killed. Function execution took 31903 ms, finished with status: 'connection error...
i am using firebase function for creating notifications with cloud messaging. But i am always getting this Error:  Function execution took 60006 ms, finished with status: 'timeout'   but the notification works.   This is the code i am using i...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.