Category "google-cloud-firestore"

(Flutter) How to retrieve Firebase Storage images in a Streambuilder with the paths stored in Firestore

In my code, I have a streambuilder that returns items from Firestore using the geoflutterfire package to load items that are within a radius of the user. These

Firestore returns empty list [duplicate]

I have 3 entries in my firestore database. I need to query the data and fetch it, then input it into an ArrayList. The problem is my query is

React Native Firestore getting data problem

When I try to access the data from a Firestore collection called 'Targets' it returns: {"_U": 0, "_V": 0, "_W": null, "_X": null} my firestore item is: item pho

Async arrow function expected no return value

I'm building an application with Firebase oAuth. I followed all the instructions, but my code is returning an error saying that 'asyn arrow function expected no

How to load events from firebase for a specific user for tablecalendar

I am currently building a project where a list of trainers is displayed for a user. When tapped on a listtile showing the trainer a modalBottomSheet opens up sh

Function DocumentReference.set() called with invalid data. Unsupported field value: a custom Budget object

Below code works fine until today. But I don't know now it is not working and gives below error.Could you tell me why? Error: Function DocumentReference.set

Firebase Storage REST API

I need very simple static image server for my flutter app. I am thinking about Cloud Storage, because I don't want to worry about own server administrating. I a

How to get document by current signed in user in Google Firestore

I am trying to get a specific document that is created when a user signs up. I made it so that when the use signs up, their firebase user ID is the name of the

How to send data via HTTP request to Firestore database

So, I am trying to make an app with Node.js, Vue, and Firebase. I currently have a very basic function using firebase functions to send data to the realtime dat

angularfire2 transactions and batch writes in firestore

How can I do batch writes/run transactions with firestore in an angular2 app? https://firebase.google.com/docs/firestore/manage-data/transactions If it's poss

how to add elements to Listview.builder without rebuilding all the previous items

i use Listview.builder with a List of items in flutter , when the user scroll down i listen the the scroll controller than i get more data from firebase Firesto

How to do a bulk update in Firestore

I'm using Cloud Firestore and have a collection of documents. For each document in the collection I would like to update one of the fields. Using a transactio

How can I filter a stream in Flutter?

I am new to flutter/dart and within this page, I have a list of "information resources" populating the screen with a widget I've created called InformationResou

How to save GeoPoint in Firebase Cloud Firestore?

in the database UI I can create a field with the type geopoint. After providing values, it looks something like this: location: [1° N, 1° E] I'm tryi

How to get data from firestore document fields in flutter?

I'm trying to test firestore in my flutter-app but I can't really load the data as expected. This is how I get the data: Firestore.instance .collecti

How to convert timestamp firestore to date string and display in antd table

First, i have antd table and datasource from firestore with some fields and include timestamp field. my data is good running and show it in antd table, the prob

Disable Firestore in native mode

I think that in my project cloud firestore was wrongly enabled in native mode, while I would like to use the "old" datastore or firebase in native mode. I don'

How to play list(array) of videos from firebase :In my case I tried with lot of changes but I get this error

Here there are my two Dart file from that I retrieve my Video from firestore but in that, I made video array and try to retrieve it but it gives me an error , i

How do you add multiple documents at once to a collection in Firestore?

I am somewhat new to Firebase and looking for the ability to write multiple JSON objects into a collection under random IDs in one operation. I am just using fi

Firebase/Firestore - database has insecure rules?

I have a SwiftUI application, which uses Firebase as a back end, and my rules are something like this: rules_version = '2'; service cloud.firestore { match /d