Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
10 views

Firebase functions not changing firestore database

I'm new to firebase functions and recently I was tasked with adding two new functions. One needs to run daily at midnight and the other runs whenever a budget for an order in a firebase collection (...
Franco Garcia's user avatar
0 votes
0 answers
19 views

Unable to Fetch and Display Admin, Passengers, and Drivers Chats from Firebase Firestore in Flutter

I am working on a Flutter project where I need to display chat messages between admin, passengers, and drivers. The chat data is stored in Firebase Firestore under the admin_chats collection. Each ...
AHMAD Farooq's user avatar
1 vote
1 answer
26 views

The named parameter 'documentSnapshot' is required, but there's no corresponding argument

I want to navigate from a page not using Firebase to another page that I used Firebase, I could not know what the right argument. This is a non-firebase page, the error in the tourist() route. class ...
Ohood Al-Ismaili's user avatar
0 votes
0 answers
27 views

Express.js Server not listening

I am trying to run a backend server which communicates with the frontend. My frontend works fine. when I run node server.js in the terminal i get this message When i try to check if the server is ...
user14's user avatar
  • 9
0 votes
1 answer
27 views

run firebase emulator in spring boot test

I need to migrate some documents from one collection to another. This migration runs when the application starts up. It checks if the migration is finished, if it's not, it will run it otherwise it ...
Thomas E's user avatar
  • 521
0 votes
1 answer
32 views

ECONNRESET error in postman when inserting document to Firestore from Laravel

I relatively new on using firebase on laravel and currently encountering an error in postman "Error: read ECONNRESET" everytime I run createUser what could be the problem? public function ...
ralphy's user avatar
  • 99
0 votes
0 answers
70 views
+50

ionic 7 with firebase on android fails to connect with firestore

after looking at all the threads and suggestions, for me I still get the error. adding experimentalForceLongPolling:true did not help. I tired another flag as well without any luck. File: https://...
Moblize IT's user avatar
  • 1,278
0 votes
0 answers
27 views

Firebase initialised successfully multiple times and memory issues [closed]

My setup is as follows: I have a main.py file, in which I import all my functions: from folder.file import function1 from folder.file import function2 cred = credentials.ApplicationDefault() ...
Raul Ponzheimer's user avatar
1 vote
2 answers
75 views

Flutter doesn't load data from Firestore Database

I'm trying this code: try { print("via!"); QuerySnapshot qs = await FirebaseFirestore.instance .collection('muscle_groups') .get(); print(qs.docs.length); ...
loreeemartiii's user avatar
0 votes
0 answers
30 views

Firebase cloud function works from Curl but no Golang

I deployed some basic Firebase Cloud Functions and I tested them using curl and they worked, but when I try to programmatically access them from my Golang code I get the error stream error: stream ID ...
Ahmed Zaidan's user avatar
0 votes
0 answers
26 views

How to Fix 'Untitled' Appearing in Recent Chats in Firestore (Quasar App)? [closed]

Firestore Structure: { "chatId": "abc123", "title": "Chat with AI", "messages": [{ "role": "user", "content": &...
Arbab Tahir's user avatar
0 votes
0 answers
32 views

Save button does not retain state after app restart [closed]

There is a strange problem that occurs in my code when I click Save for a job, the code saves it and replaces the word Save with Remove, but if I exit the application and come back in, Remove goes and ...
john's user avatar
  • 1
0 votes
1 answer
37 views

Clear Firestore database after testing

I am running Android UI tests. I use a separate Firestore DB for testing. I want to delete all documents after a test finishes. This curl command works. curl -v -X DELETE "http://127.0.0.1:8080/...
akalanka's user avatar
  • 607
0 votes
0 answers
26 views

Firestore transaction inconsistent results

Use case: Say I need to track overall population, states and all cities within the state. Overall aggregated metrics need to have total population across cities, total states and cities. Eventually ...
arshad sayed's user avatar
1 vote
1 answer
25 views

How do I check the equality of a Firestore Reference in Firestore Security Rules?

For background, our database has a letterbox collection with a field called members, an array storing Firestore references to our users collection. In security rules, we need to check whether a user ...
Connor White's user avatar
0 votes
1 answer
33 views

Firebase and Firestore - how to restore user credential (and data) after reinstall app?

I read lot of documentations regarding accounts such as: https://firebase.google.com/docs/auth/android/account-linking But I don't understand the concept regarding the unique ids. In my app, users can ...
dor506's user avatar
  • 5,414
0 votes
1 answer
33 views

Error saving item to Firestore: Missing or insufficient permissions

I am trying to upload an image to the Firebase storage and then write it into Firestore database. func storeMarketplaceItem() { guard let userId = Auth.auth().currentUser?.uid else { ...
sats's user avatar
  • 159
0 votes
1 answer
83 views

How to access a non-default Firestore Database in Firebase Storage Rules?

When writing rules for Firebase Storage, I get a warning that the parameter for firestore.get must always start with /databases/(default)/documents, like this: firestore.get(/databases/(default)/...
Eull's user avatar
  • 1
-1 votes
2 answers
53 views

Firestore Bandwidth costs for downloading documents with large embedding vectors [closed]

Background I'm developing an application that uses vector embeddings for similarity search. I'm considering storing these embeddings directly in Firestore documents, but I'm concerned about potential ...
Shajeel Afzal's user avatar
1 vote
0 answers
22 views

Laravel 11 + Firebase Firestore: Server Stops Responding

I am working on a Laravel 11 and PHP 8.2.12 project on Windows 11, using kreait/firebase-php to connect to Firestore. I have a strange issue where calling a specific route that interacts with ...
Sonon Seong's user avatar
0 votes
0 answers
26 views

How to Implement Scalable Custom Scheduled Push Notifications in Flutter Using FCM Without WorkManager?

I’m developing a Flutter app where users can set custom schedules for receiving push notifications. Each user can choose their own frequency, such as: 10 notifications per day 5 notifications per day ...
Mahdi Zareei's user avatar
0 votes
0 answers
15 views

Firestore - Querying a collection based on current time

I would like to retrieve a list of events stored in a Firestore collection in Python. I want to retrieve only future events (but I also want to keep past events up to 2 hours). I also want to listen ...
Zkimi's user avatar
  • 23
0 votes
0 answers
39 views

Firestore: Unsupported field value: a custom Timestamp object after updating firebase version

I updated to firebase v11.3.1 from v8.2.5 and I am using the compat mode. However my updates no longer work due to using FieldValue.serverTimestamp() for a date field. Any suggestions on how to ...
MadMac's user avatar
  • 4,993
0 votes
0 answers
40 views

Building XCFramework with FirebaseFirestore fails due to module library evolution compatibility

I'm creating a minimal XCFramework that wraps Firestore operations, but keep encountering build errors related to Firebase's library evolution support. The goal is to create a drag-and-drop ....
Nishant Tomer's user avatar
0 votes
0 answers
17 views

TypeError: (0 , _next_auth_firebase_adapter__WEBPACK_IMPORTED_MODULE_2__.default) is not a function

Receiving this error whenever i run npm run dev. Full error: ⨯ TypeError: (0 , _next_auth_firebase_adapter__WEBPACK_IMPORTED_MODULE_2__.default) is not a function at admin (c:\Users\user\Downloads\...
Ju5Luv's user avatar
  • 1
0 votes
1 answer
29 views

How can I fetch a set of documents whose ids match an array of ids in node.js using firebase?

I'm working with Firebase Firestore and I have the following code to fetch a set of "lines": for (let i = 0; i < indexes.length; i++) { const doc = await lineCollection.doc(indexes[i])...
gib65's user avatar
  • 2,021
0 votes
1 answer
79 views

How use arrayUnion using firestore rest api?

I can't find a way to achieve the request even following the Firestore documentation. I tried this request: PATH (PATCH METHOD): https://firestore.googleapis.com/v1/projects/social-autt/databases/(...
Moises Avila's user avatar
0 votes
0 answers
38 views

Firebase Cloud Function (Firestore database) - Update millions documents in less than the hour limit [duplicate]

In our project, we need to update one field in the users collection in millions of documents once a day. We use the cloud function (Node.js) for this, recently we update 2 million documents in a time ...
Matt Trefies's user avatar
0 votes
2 answers
36 views

Does a Firestore Precondition count as an extra read?

Firestore's Update and Delete document methods accept an optional Precondition argument, to check whether the doc exists or its last update time. Does that check count as an extra document read? I'd ...
BoBch27's user avatar
  • 26
0 votes
1 answer
91 views

How do I share a FirestoreDataConverter between @firebase/firestore and firebase-admin/firestore?

I am writing an Angular application which uses Firestore. I want to be able to use my interfaces and FirestoreDataConverters (which are declared in an Angular Library) in my Firebase Functions too. ...
Igor Augustyński's user avatar
0 votes
1 answer
31 views

Firebase database rules dont apply to collection

I am trying to limit rules for my database from the iOS sdk. I want users to be able to read any collection. However they should not be able to write to the collections specified below. But the users ...
Ahmed Zaidan's user avatar
0 votes
0 answers
71 views

Laravel 11 + Firebase Firestore: Service Account File Not Readable & Server Stops Responding

i'm working on a Laravel 11 and the PHP 8.2.12 project on Windows 11, using kreait/firebase-php to connect to Firestore. I have a strange issue where calling a specific route that interacts with ...
Ghadi Alkehily's user avatar
0 votes
1 answer
27 views

Confirmation over automatic re-queries for billing

I read in the official documentation that if the app is terminated or if a session has been inactive for more than 30 minutes that despite if a local/non stale cache is present, the query will be ...
Nathan's user avatar
  • 13
2 votes
2 answers
1k views

Getting deprecation warning using firebase in react native

I am using firebase in my react native project for authentication and getting this warning even after updating my code according to modular api - This method is deprecated (as well as all React ...
Muskan Verma's user avatar
0 votes
2 answers
52 views

Where is the Firestore databaseURL?

I have set up a little Firebase project with a Firestore database. And I am facing a problem. The databaseURL does not seem to appear anywhere. I do not remember having the same issue when using the ...
Michel's user avatar
  • 11.8k
0 votes
0 answers
27 views

How do I read and write data on firebase based on the authentication status of a user in clerk

I've recently encountered an issue when I tried to read and write data to firebase based on the authentication status of a user in clerk. Apparently this article shows how you can integrate a user's ...
HANSANA ADHIKARI's user avatar
0 votes
0 answers
23 views

Using Provider with Firestore subcollections

In my Firestore i have a collection Meals and each Document Meal has a subcollection Ingredients. In my project i am using Provider for statemanagement. The id to get all ingredients is changing at ...
ing.non's user avatar
-1 votes
1 answer
48 views

Why is the mock in my React unit test returning null

I have a hook that retrieves data from a firebase backend if the storage is clear. The unit test keeps failing as a result of the null return value. Here's the hook import { useEffect, useState } from ...
D.Hodges's user avatar
  • 2,107
0 votes
0 answers
44 views

Though all my firebase rules are correct still getting permission issue in my flutter app

Though all my rules in the firebase are correct i am still getting this issue in flutter (24.11.0 [Firestore]: Listen for Query(target=Query(AdviserInformation where [email protected] ...
Kushal_Hemanth's user avatar
2 votes
1 answer
35 views

How to add data to Firestore database using python?

I am trying to add test_data dictionary to my Firestore database using python. It is not working since .set() method is not showing there anymore by vscode auto suggestion. from datetime import ...
november's user avatar
0 votes
1 answer
34 views

How to efficiently list recently active group chats for users without fan-out writes in 1000+ member groups?

I'm using a two-collection approach (userChats and chats) for quickly accessing a user's group chats as opposed to the use of an extremely long participant array of user IDs. However, I am struggling ...
George Assan's user avatar
0 votes
1 answer
46 views

Even though there is data in Firestore, query snapshot is empty

Although there is efficiency in the Firestore database, in the example below, when the chat application performs onSnapshot, querySnapshot returns empty. useEffect(() => { if (!token || !...
Bilgehan Demirkaya's user avatar
0 votes
2 answers
59 views

How to get realtime updates with getx

I am fairly new to flutter. I am using Getx for state management.What is the best way to listen to firestore realtime updates? I use the RxListin an obx in the ui to build items using a ...
Abdirahman Abdullahi's user avatar
0 votes
2 answers
41 views

Widget is not refreshed when provider value changes

I have a users Firestore collection where the ids are my users uid. When a user logs in (with Firebase auth), i'd like to wrap the whole application by the corresponding firestore document. My code is ...
woshitom's user avatar
  • 5,131
0 votes
1 answer
54 views

Firestore gRPC Listen does not send deletions

I am using Postman to call the firestore.googleapis.com gRPC Listen. I am using the web UI (https://console.firebase.google.com/) to manually make changes to a Firestore for testing purposes. When I ...
user17331277's user avatar
0 votes
0 answers
39 views

How to properly pass authentication to cloud functions when calling from chrome extension

This is cloud function I'm using to access Firestore: const functions = require("firebase-functions"); const admin = require("firebase-admin"); admin.initializeApp(); exports....
Muhammad Usman's user avatar
0 votes
1 answer
62 views

How to track user activity from the backend?

I am using Firebase Auth, and my users have to be authenticated to use the app. I would like to have an overview of my (web) app usage from my users. Of course, I could implement tracking from the ...
Thomas's user avatar
  • 1,649
0 votes
1 answer
67 views

How to change Firestore database in Firebase Admin Node.js? [duplicate]

I'm using the Firebase Admin SDK with Node.js. My Firebase app has some Firestore databases. For example: (default) system. But every time I save data, it always goes to the (default) database and I ...
Vanortton's user avatar
  • 123
0 votes
1 answer
57 views

Is there a way to store relationship data while still being able to sort on the username of the friends in the firestore?

I am trying to create a relationship document in the firestore however I am struggling with making it sortable using the orderBy function. So far I am storing the following data: uids: a list ...
Para1life's user avatar
0 votes
1 answer
44 views

Saving String List to Firestore

I am working to save times which is chosen by users. Chosen times should be saved to firestore. In my logs, Log.d("FirestoreSave", "Saving Place: $placeInfo") shows the times also ...
ponyboyltc's user avatar

1
2 3 4 5
860