Skip to main content

All Questions

0 votes
0 answers
11 views

Firebase functions onValueCreated database trigger not working

I wrote below trigger exports.onNewGameRequest = onValueCreated( {ref: "/game_requests/{uid}", region: "europe-west1"}, async (event) => { // Grab the current value of what ...
cubesoft's user avatar
  • 3,508
0 votes
1 answer
15 views

Ionic Capacitor and Firebase Firestore

trying to make Firebase Firestore work in Ionic Capacitor on an iOS device for five hours and I'm losing my nerves right now. Hope you can ramp me up here. The setup: Ionic: ionic (Ionic CLI) ...
genesis's user avatar
  • 23
0 votes
0 answers
15 views

Where query on firestore [duplicate]

I have a collection of users, each with a collection called "logs". I have a collectionGroup with all "logs" collections. Each "logs" collection have documents which are ...
Victor's user avatar
  • 285
0 votes
0 answers
19 views

React Native Firestore useEffect Fetch Issue with where Clause and Pagination

I am working on a React Native project that uses Firestore to fetch a list of services. I am trying to fetch services with a price greater than or equal to 70 and implement pagination using Firestore'...
Hristo Ivanov's user avatar
0 votes
1 answer
22 views

How to filter query on a nested object in Firestore

I have nested an object inside my Firestore objects and am trying to filter based on it ..but it returns no object. here is what my nested objects look like : Now in my function whenever I do ...
Ahmed Wagdi's user avatar
  • 4,175
0 votes
2 answers
22 views

How do I get just one singular field out of a Firestore document and add it to a new document?

I am trying to make a chat where at the top of each message it displays the user's name on the top of each document they add when they send each message but I am unable to get the single field without ...
Epimetheus14's user avatar
0 votes
1 answer
19 views

How to I get data from a firestore collection within a document that requires an argument?

I am trying to create and admin chat where the admin can view all the user messages and then reply to them I have been able to add documents to this collection but I am unable to display the messages ...
Epimetheus14's user avatar
0 votes
1 answer
35 views

How do I update a collection inside a firestore document?

I am trying to create a chat between users and me for customer support purposes, to do this I want to have it so that the login users can go to the contact page they can type in their message and hit ...
Epimetheus14's user avatar
0 votes
1 answer
17 views

Chat History Fetched from Cloud Firestore Not Displaying in React Frontend

Problem: Despite successful data fetching and processing, the chats do not appear in the UI. Could someone point out what might be going wrong or suggest any debugging steps? I'm working on a web app ...
Shripal Shah's user avatar
0 votes
2 answers
39 views

Firebase Triggered Cloud Function is not aware of user

I have integrated a payment system to my Firebase app and their system sends a POST request to my backend. I handle that request as below: app.post("/subscription", (req, res) => { ...
Amor Soma's user avatar
-1 votes
1 answer
60 views

Unable to Register New Users in Firebase with Expo [closed]

I'm running into an issue with my Firebase project using Expo. When I try to register a new user, the system doesn't allow me to create a partition in the database with data beyond the user's email ...
Pedro Henrique Vieira Barreto's user avatar
-2 votes
0 answers
29 views

Creating Array and map fields in Firestore through the REST API [closed]

I can create normal records using Firestore API with React native. I'm having trouble creating Array and Map data type records. The error I get is: cannot convert firestore v1 value with type unset ...
MertCelik's user avatar
0 votes
2 answers
36 views

How do I retrieve data from firestore

I am trying to create a chat app using react vite and firebase, i am using firestore to store and retrieve chats, i imported getFirestore from firebase/firestore, and passed it to the "db" ...
Kevin Anthony's user avatar
0 votes
0 answers
42 views

Firebase Functions have incorrect data when triggered via Unit Tests

I’m trying run unit tests against for my Cloud Functions through the emulator. However, when I call a wrapped onDocumentWritten function in my unit test, it never receives the proper input data - the ...
Michael Berk's user avatar
0 votes
1 answer
33 views

How many users can simultaneously listen to changes in one document in Firestore or Realtime Database?

In Firestore or Realtime Database, how many active users can listen for changes to the same document simultaneously? For instance, if 1000 users are subscribed to updates on one dokument will all ...
Richardson's user avatar
  • 2,171

15 30 50 per page
1
2 3 4 5
560