Category "google-cloud-firestore"

Why can't I display my data from firebase?

I have a problem because I can’t display my data from firestore. I want to take my id from the xml. I’ve written this with help from a video and whe

Firebase Storage await uploadTask.onComplete outdated

Im using this code. The error message is the following: error: The getter 'onComplete' isn't defined for the type 'UploadTask'. (undefined_getter at [chatneu] l

Can Firestore update multiple documents matching a condition, using one query?

In other words, I'm trying to figure out what is the Firestore equivalent to this in SQL: UPDATE table SET field = 'foo' WHERE <condition>` Yes, I am a

Deploy error Cloud Functions - Firebase Deploy

Error returning when executing the firebase deploy command. I tried some configuration options, but none worked. Error Firebase Deploy === Deploying to '###'...

Query firestore database for document id

I want to query a firestore database for document id. Currently I have the following code: db.collection('books').where('id', '==', 'fK3ddutEpD2qQqRMXNW5').get

Is It Possible To Get The ID Before It Was Added?

I know that in Realtime Database I could get the push ID before it was added like this: DatabaseReference databaseReference= FirebaseDatabase.getInstance().ge

firestore: PERMISSION_DENIED: Missing or insufficient permissions

I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permissions.

what is the recommended Cloud Firestore location for Egypt and the middle east countries?

I was starting a new firestore database and actually I didn't know what GCP resource location that's suitable for my target audience in Egypt. Any help will be

Trying to test firebase rules with emulator

I'm trying to setup my testEnvironment for testing my firestore rules with my locally running emulator. When i try to access testEnv it is undefined, and I gues

Why is the response (payment Intent) after completing the payment undefined?

myReactApp/functions/index.js const functions = require("firebase-functions"); const express = require("express"); const cors = require("cors"); const stripe =

Flutter :The shrinker may have failed to optimize the Java bytecode

I'm trying to integrate cloud firestore to and android app but all I get is this error every single time Launching lib/main.dart on Android SDK built for x86 i

Could not reach Cloud Firestore backend - React native Firebase v9

I saw many questions on SO regarding this issue and none of them was answered (or the solution doesn't work), I don't know why. People are having this error con

Either zero or 2 or more [DropdownMenuItem]s were detected with the same value

I am new to Flutter but I am trying to create a DropdownButtonFormField and it is not working. I am getting an error that says I have duplicate values. What is

'You Look Like a Robot' Error , while using puppeteer in firebase cloud functions

Im using the puppeteer package , in order to scrap a web page data that is fetched by clicking a button in this page this are the presetting that I'm using: con

Is there a Firestore Timestamp in metadata for Document Creation?

I am wondering if Cloud Firestore timestamps each document on creation in its metadata, and if so, is that metadata available? I know I can create my own times

Updating a document in Firebase Firestore from .Net Core console app

Use case Angular Firebase application that uses firestore as a form of persistence needs to communicate with a Discord Bot. I've built a synchronizer bot to me

Flutter || W/DynamiteModule( 4887): Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found

When I fetch data from Firebase Firestore, data is not shown. And it gives me this problem. Is it related to Firebase or anything else? W/DynamiteModule( 4887):

Loading images from firestore in image slider

I'm trying to load the images in an image slider from firestore. The image urls are there in firestore. I'm using the following library https://github.com/denzc

Firestore fieldvalue.increment using setData does not increment the value, while updateData does

I have an existing document with count value as 1. When i use FieldValue.increment(1) using setData (which should overwrite with new incremented value), it does

Cannot switch Firestore from Datastore to native mode on GCP

Somehow the Firestore initialized with the Datastore mode and I can't switch it back to the Firestore native mode even the Datastore is empty. There's no useful