My Firestore rule: match /app/info { allow read; } My code: FirebaseFirestore.instance .collection('app') .doc('info') .snapshots()
I'm trying to update a field timestamp with the Firestore admin timestamp in a collection with more than 500 docs. const batch = db.batch(); const serverTimest
Imagine we have Chat application and in this application, we have many rooms, some private and some for everyone. Every room has an admin who can manage users (
I'm using the React Native FlatList module to show data that is stored in an firestore collection. This data should rendered into an content box with an colored
So far all the examples of using Google Cloud Firestore with .net show that you connect to your Firestore db by using this command: FirestoreDb db = FirestoreD
Trying to build my app but can't it always gives me problems with FirebaseFirestore. It seems to recognize FirebaseStorage and Firebase fine but not FireStore.
I was able to picked up image from flutter web with the code: Uint8List uploadedImage; _startFilePicker() async { InputElement uploadInput = FileUploadI
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
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
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
Error returning when executing the firebase deploy command. I tried some configuration options, but none worked. Error Firebase Deploy === Deploying to '###'...
I want to query a firestore database for document id. Currently I have the following code: db.collection('books').where('id', '==', 'fK3ddutEpD2qQqRMXNW5').get
I know that in Realtime Database I could get the push ID before it was added like this: DatabaseReference databaseReference= FirebaseDatabase.getInstance().ge
I am getting the Error gettingdocuments.com.google.firebase.firestore.FirebaseFirestoreException: PERMISSION_DENIED: Missing or insufficient permissions.
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
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
myReactApp/functions/index.js const functions = require("firebase-functions"); const express = require("express"); const cors = require("cors"); const stripe =
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
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
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