Category "google-cloud-firestore"

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

Redux Toolkit: can I use createAsycThunk with Firebase listener functions (e.g. firestore.collection.onSnapshot)

Is there a way to use createAsyncThunk with Firebase listeners, for example firestore.collection.onSnapshot? It may not work because the way onSnapshot works (i

How to make a complex query to the firebase in flutter

My firestore-firebase database looks like: products -> collection Name | uid1 -> Document id | price : "200" | category: "a" | uid2

Flutter Firestore real-time pagination using multiple listeners streamed combined

I want to create a pagination screen, using Bloc, from the Firestore database. The screen should update on document changes. My FirestoreProviderApi receives fe

How get the first letter of displayName of a user during google sign in by using flutter and firestore?

And How capitalize the displayName first element? How I get the capital first letter of displayName of user, who just registered on my app and store the first l