I keep having these warnings in the Firebase Logs Console: "FIREBASE WARNING: Invalid query string segment:"  I checked everything but I can't find some reasons.  Do you have any ideas ?  Configuration  { "name": "functions&#...
I want to use onCreate method instead of onWrite for the sake of efficiency but I face that error:     functions.database.ref(...).onCreate is not a function.   However, there seems to be a function as mentioned in the doc https://firebase.google.com...
I'm getting this error in my terminal:  @firebase/database: FIREBASE WARNING: {"code":"app/invalid-  credential","message":"Credential implementation provided to .  initializeApp() via the \"credential\" proper...
I'm trying to download some images that I have uploaded to my Google Cloud Storage (aka into buckets). I'm unable to use the .ref() method on any of my const storage or const bucket because they are part of the admin SDK. The admin.storage ha...
I'm using firebase admin SDK on cloud functions to create users using     admin.auth().createUser({ email: someEmail, password: somePassword, })   now I want user to signIn using signInWithEmailAndPassword('someEmail', 'somePassword&#...
I'm in the process of trying to create a trigger that would add up test scores and then calculate the students placement based on previous test results.  I am attempting to utilize Promises within a FOR loop as seen below:  exports.boxScoresUpdat...
I have a simple transaction which should return the count of a child node stored in my realtime database and increment it. It might be worth noting this transaction is inside of a firebase cloud onWrite function.  The issue is that the data returned...
I'm initializing my firebase functions like so:  admin.initializeApp(functions.config().firebase)   I've generated a service account key which I believe I need to do for auth purpouses.  It gave me a json table with various key/values.  The i...
var app = angular.module('app', ['firebase']); const setAppCookie = () => firebase.auth().currentUser.getToken(true).then(token => {     Cookies.set('token', token, {         domain: window.location.hostname,         exp...
I am using the firebase-admin (5.13.1) NodeJS library, and am having trouble getting .val() to work on a .on('value') function.    var key = "someFirebaseKey";   db.ref().child('search/response').child(key).on('value',...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.