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
1 answer
52 views

Updating Firestore Documents Using Firebase Cloud Functions is Extremely Slow

I am trying to update documents using Firebase Cloud Functions. My document updates do not need to consider existing values, and since they primarily involve single document updates with minimal risk ...
한경완's user avatar
2 votes
1 answer
22 views

ERROR Error: getBlob() is only available in Browser-like environments

I am trying to fetch data from Firebase storage using Angularfire 18.0.1 : import {Storage, getBlob, ref } from '@angular/fire/storage'; async ngOnInit() { const eventsRef = ref(this.storage, '...
Philip's user avatar
  • 3,344
0 votes
0 answers
27 views

Gzip binary blob data from Firebase - convert in Python

I am using the Python client to query Firestore data, and the data is stored in a Gzip (compressed) format. I am not sure what the encoding is, but using Pako ungzip in Typescript and Base64 decoding ...
pb-0's user avatar
  • 11
0 votes
0 answers
13 views

com.google.firebase.auth.FirebaseAuthInvalidCredentialsException: The sms code has expired. Please re-send the verification code to try again

I am building a simple authentication app that authenticates the users through email/password and then through Phone. The layout is simple - User logs in with email/password in Login Activity and is ...
Sourav_039_CSE's user avatar
1 vote
1 answer
70 views

Changing online status when logging in/out using Flutter&Firebase

I've been trying to achieve online status in my FlutterFlow app by using Flutter and Firestore. (not Realtime Database) On addition to AppLifeCycleState conditions below, I need to add these 2 ...
johndoe's user avatar
  • 11
1 vote
1 answer
46 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
-4 votes
2 answers
47 views

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

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 ...
Tunde Adam's user avatar
0 votes
1 answer
98 views

Firestore security rule unexpected behaviour of hasAny() method depending on the order

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
20 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
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
20 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,344
0 votes
1 answer
24 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
45 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
1 vote
2 answers
33 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
29 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

15 30 50 per page
1
3 4
5
6 7
2856