Skip to main content

All Questions

1 vote
1 answer
100 views

Order by date in firebase real-time database

I'm doing a query for retrieving data ordered by date. The JSON Tree: { results: { first:{ created_at: "ISOstring" }, second:{ created_at: "ISOstring" ...
ruslanonly's user avatar
0 votes
1 answer
264 views

Problem with Firebase Realtime Database rules

I have a problem with the Firebase Realtime Database rules in Linux. I am developing a project making use of its API and I can't get them to work. After reading almost of the docs available I tried it ...
Alberto Méndez's user avatar
1 vote
0 answers
203 views

HTML cannot send data to Firebase

After i write firebase login, firebase init this file this file appears My CSS firebaserc { "projects": { "default": "smarthome-e154e" } } My HTML if you want to ...
renaldyks's user avatar
  • 188
0 votes
1 answer
613 views

Using Firebase DB Emulators, how to clear database between tests and avoid PERMISSION_DENIED?

I'm following this guide to setup firebase emulators to test my realtime database security rules: https://firebase.google.com/docs/emulator-suite/connect_rtdb#clear_your_database_between_tests At &...
Simon Tran's user avatar
  • 2,130
2 votes
3 answers
2k views

React-Native-Firebase : RTDB Emulator

Does anybody knows how to use realtime database emulators? I can use function & firestore emulators like below. import functions from '@react-native-firebase/functions'; import firestore from '@...
Kid's user avatar
  • 1,240
0 votes
1 answer
121 views

Promises must be handled appropriately in Firebase CLI data request

I am trying to read data from a node after an onCreate event has been triggered in another node. Data from these nodes would then be sent to a Google Sheet. While there is no error reported when I ...
oTwo's user avatar
  • 285
2 votes
0 answers
438 views

Firebase Cloud Function: onUpdate change parameter is wrong went removing value

I have the following cloud function: export const userActicityUpdate = functions.database.ref("/userActivities/{userId}/{objectId}").onUpdate((change, context) => { console.log("Before:\n", ...
Wiingaard's user avatar
  • 4,302
1 vote
1 answer
823 views

Firebase API for moving a tree branch from a collection to another one

In my application, I need to move a quite big collection branch to another collection. Currently, I'm using something like that: srcRef .startAt(start) .endAt(end) .once('value', function(snap) { ...
devmao's user avatar
  • 680