Category "google-cloud-firestore"

How can I Store Document in chronological order in firebase with flutter

I am coding an appointment booking application I want to store my own created document in firestore database but in chronological order. So that I can see my la

Suddenly can't fetch any data inside firebase firestore, after trying to use tutorial that contain firestore emulatore

i tried following some of youtube tutorial video and saw a firestore emulators connect. but after i connect the app. the screen that works properly suddenly don

How to insert firebase storage images inside firestore field

I have a problem in my flutter app , and the problem is in the storage of firebase . I have a collection with field called avatar(String). It's value comes from

Firebase V9 does not give error in catch when offline

I want to set state in catch even if user offline but firebase V9 setDoc does not give anything in catch when user offline For Example: in Authentication, if t

Reload data in a component Ionic

I'm using Ionic and Firestore for my web appllication. In a component I show a list of items from firestore database,the detail of an item in url tabs/items/lis

RN Web + Firebase: snapshot listeners unsubscribe in unmount vs in global unmount (using context)

In short: which is most memory + cost efficient way to use Firestore snapshot listeners, unmount them always at screen unmount or have the unsubscribe function

Firestore not connected using Expo-dev-client

If I use expo start, my firestore work fine in Expo Go. But when i use expo start --dev-client it stop working. I already tried using EAS using EAS Migration Gu

Listen for documents just when actually added to collection - swift

I have a collection on Firestore and I listen for changes like this: func createMatchesListener(){ let db = Firestore.firestore() guard let current

Dialogflow - Firestore - Webhook call failed. Error: UNAVAILABLE, State: URL_UNREACHABLE, Reason: UNREACHABLE_5xx, HTTP status code: 500

I am trying for a fulfillment in Dialogflow using Firebase. There is data in Firestore and the intent is expected to retrieve the results based on the given par

When sorting by multiple fields in Firestore with startAt and endAt not working correctly

I am doing a document filter functionality. The problem is that when I receive a filter for the "max_players" and "name" fields, it returns an empty array when

LateError (LateInitializationError: Field 'documentSnapshot' has not been initialized)

I am using Cloud Firestore in my Flutter application and I am facing this issue in app: LateError (LateInitializationError: Field 'documentSnapshot' has not bee

Synchronously iterate through firestore collection

I have a firebase callable function that does some batch processing on documents in a collection. The steps are Copy document to a separate collection, arch

Why is my React component is rendering twice?

I don't know why my React component is rendering twice. So I am pulling a phone number from params and saving it to state so I can search through Firestore. Eve

Why is data retrieved from Firestore returning empty array when there are subcollections present?

I am trying to retrieve data from my the my firestore database using angularfire2. This is what my current database looks like. I have a users collection that c

Swift Singleton Pattern in Conjunction With Cloud Firestore

I have been looking into cloud firestore as my backend infrastructure. Ive been using realtime database but feel the switch is vital. I have looked at the fireb

How to get value of some field in firebase firestore android?

Like upper question, i want to get value of some field in firebase firestore instead of all document with DocumentSnapshot like this in SQL SELECT col_1, col_2

IllegalStateException: Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first

I've been getting this fatal error today after changing some gradle dependences. Even though I tried to revert the gradle dependences back to the original I'm s

Firestore query with inequality filters on multiple fields

I am building a calendar on IOS using Swift, with a Firestore back-end. I am retrieving all the events for each day in a month at one time. Currently I can only

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