Skip to main content

Questions tagged [google-cloud-firestore]

Cloud Firestore is an auto-scaling real-time document database for storing, syncing, and querying data for mobile, web and server development.

google-cloud-firestore
1 vote
0 answers
8 views

GCP Cloud CLI won't create firestore in "native" mode

We're trying to run a script on could-shell to create a new firestore collection in native mode. However it creates it in datastore default mode. What should be change in our flags? --type=firestore-...
Elad Ben-David's user avatar
-3 votes
2 answers
26 views

Fatal Error: Call to undefined method Google\Cloud\Firestore\QuerySnapshot::count()

I want to echo 5000 user's documents from Firerstore to an HTML table using Laravel but am getting an error "call to undefined method Google\Cloud\Firestore\QuerySnapshot::count()". Please ...
Samuel Emeh's user avatar
0 votes
0 answers
14 views

Firebase: How do you notify the client app from auth.user().onCreate() cloud function?

TL;DR: Is there a way to notify the client (send a response with payload) from the auth.user().onCreate() cloud function? I'm trying to implement (what I thought would be) a simple 'sign-up' flow. ...
pax's user avatar
  • 1,785
0 votes
0 answers
27 views

Firestore security rule is not working properly when called from flutter web client

I am trying to use security rules in order to limit what information about other users is able to see one authenticated user, depending on if these users are in the same department or not. I have ...
Aleix Rué's user avatar
0 votes
0 answers
14 views

Cloud Build Variables are not getting imported into my React Application

Bare with me as I'm new to a lot of these concepts and my terminology may not be correct. I have a React application that I have running in a Google App Engine. I've set up a Cloud Build to ...
C Knight's user avatar
0 votes
0 answers
25 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
16 views

Unable to find a valid endpoint for function `ext-firestore-bundle-builder-serve`

When trying to deploy my firebase project with the bundler extension, I get the following warning: ⚠ hosting[project]: Unable to find a valid endpoint for function ext-firestore-bundle-builder-serve,...
Philip's user avatar
  • 3,304
0 votes
0 answers
17 views

Firestore DB read/write latency is same from public route and private service connect endpoint in GCP

I have firestore DB in GCP. I was accessing the firestore DB via public route and the latency was around 300ms (280-300). I create a private service connect endpoint to reduce the latency and access ...
Amit Yadav's user avatar
0 votes
0 answers
33 views

I am trying to fetch data from firebase and add it to a list but the list always comes empty [closed]

I created a function fetch tasks to access the collection timestamps and retrieve its documents and place them into a list but for some reason the list always comes out empty. To replicate the error ...
Luis Silva's user avatar
0 votes
1 answer
16 views

Fetching data from firebase and forwarding it to another component forwards an empty array

I am using an array and useState() to fetch the data from the firebase database. The array is initially empty. However after I recieve the data from the firebase after its initial loading and try to ...
NAMAN SAINI's user avatar
1 vote
1 answer
26 views

Two database Transaction with same database variable

the code looks like this.. private var db = Firebase.firestore db.collection("Classes").document("ClassID").get(resource) .addOnSuccessListener { ...
Carye James Adelante's user avatar
0 votes
1 answer
30 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
1 vote
0 answers
51 views

uniqueKey.toString() generating "Instance of 'UniqueKey'" instead of a unique key on IOS

My flutter data model uses UniqueKey to generate unique keys for firebase documents: final String uKey = UniqueKey().toString(); DocumentReference documentReferencer = _mainCollection.doc(...
Martin's user avatar
  • 11
0 votes
0 answers
15 views

RecyclerView in Android fragment not showing Firestore data on startup [closed]

I want to display data from Firebase Firestore's collection in a RecyclerView inside a fragment. So I use the code below. protected void onCreate(Bundle savedInstanceState) { (....) db = ...
Zarnis's user avatar
  • 67
0 votes
1 answer
23 views

Google firestore losing connection and not reconnecting

I am continually getting these errors in my console and in logrocket, where the status of the request is failed https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel?...
Paul de Wit's user avatar

15 30 50 per page
1
2 3 4 5
2851