Category "google-cloud-firestore"

flutter waning schedule binding while using listview builder

import 'package:firebase_storage/firebase_storage.dart'; import 'package:flutter/material.dart'; import 'package:firebase_core/firebase_core.dart'; import 'pack

Leaderboard ranking with Firebase

I have project that I need to display a leaderboard of the top 20, and if the user not in the leaderboard they will appear in the 21st place with their current

FireStore Query does not return records although there is data

Tried to query DB from Flutter with following snippet await _firestore.collection('products').get().then((docs) => { if (docs.docs.isNotEmpty){

Firestore Delete elements from a nested map kotlin

I have a collection, I want to delete 2 documents from this collection Paradas collection and delete it from the nested map too Nested map like in SQL, when yo

FirebaseError: Function updateDoc() called with invalid data. serverTimestamp() is not currently supported inside arrays

I'm trying to update the document with the new comments array but I'm getting this error when I submit a new comment. In every document, there is an array(comme

Could not reach Cloud Firestore backend. Connection failed 1 times

i'm using a very simple code and fetching data from firestore import firebase from 'firebase/app'; import 'firebase/firestore' const firebaseApp = firebase.ini

How to delete a specific document node on Firestore (Android Studio)

What i'm trying to achieve is user able to select which document they want to delete. After they press delete button on a specific recycle view column, the data

MissingPluginException for Linux desktop app

Just added desktop support to my flutter app, it runs fine in the android emulator, but wont render any element in neither browser nor desktop, just a simple bl

How to save the document id in document field while creating it in Flutter Firebase

I am trying to save the document id in the a new field but if i use 'postId': _firebase.collection('Posts').doc().id, this will generate a new id any suggestio

How to create user collection in firestore after sign in with google?

i am trying to create a user collection in firebase firestore after when user sign in with google. i use these lines of code const signInWithGoogle = async

flutter onClick delete image from firebase storage and firestore

I need on click delete image from firebase storage and firestore I've written this code that does the delete from firestore only. onLongPress: ()async{ await

Firestore to query by an array's field value

I'm trying to run a simple query, where I search for a document that contains a value inside an object array. For instance, look at my database structure: I wa

NextJS: How to correctly add firebase analytics to NextJS app

I have a react/nextjs app and I have firebase.js as follow: import firebase from 'firebase/app' import 'firebase/auth' import 'firebase/analytics' import 'fireb

Unexpected getting cloud_firestore/permission-denied in production sometimes

My Firestore rule: match /app/info { allow read; } My code: FirebaseFirestore.instance .collection('app') .doc('info') .snapshots()

How can I update more than 500 docs in Firestore using Batch?

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

Firestore dynamically update security rules

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 (

Displaying data from Firestore into React Native FlatList did not work

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

How to connect to Cloud Firestore DB with .net core?

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

No such module 'FirebaseFirestore'

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.

Upload image picked from Flutter web to firebase storage and to Firestore

I was able to picked up image from flutter web with the code: Uint8List uploadedImage; _startFilePicker() async { InputElement uploadInput = FileUploadI