Questions tagged [google-cloud-firestore]
Cloud Firestore is an auto-scaling real-time document database for storing, syncing, and querying data for mobile, web and server development.
google-cloud-firestore
42,802
questions
-1
votes
0
answers
11
views
Can't see my recyclerview item except after screen rotation [closed]
I am building android app using kotlin with firebase firestore. I discovered that anytime I fetch data to display on the homepage fragment, the data do not appear unless I rotate the screen of my ...
-1
votes
2
answers
46
views
How to add data in a Firestore Database (SwiftUI) [closed]
I'm having trouble in the setup steps for adding a document to my FireStore Database.
For reference, these are what my files currently look like:
FirestoreDemoApp.swift
import SwiftUI
import ...
0
votes
1
answer
24
views
firebase firestore querying based on nested attribute
Here is how the data is structured in my firebase firestore
users: {
xyz: {
profile: {
email: "[email protected]"
}
},
pqr: {
profile: {
email: "[email protected]"
}
}
but as email is ...
-1
votes
0
answers
17
views
Connect new firestore database to android app [closed]
I want to disconnect the default (named default) firestore database from my android app and connect a new (named) database with the app. Actually I am doing all this so that I can get database URL ...
0
votes
1
answer
34
views
How do I update a collection inside a firestore document?
I am trying to create a chat between users and me for customer support purposes, to do this I want to have it so that the login users can go to the contact page they can type in their message and hit ...
0
votes
1
answer
17
views
Firebase Cloud Function using Event for document change AttributeError: 'Event' object has no attribute 'after'
I deployed the following Python Firebase cloud function that's supposed to be triggered on change to document from Collection Appointments, then send an FCM accordingly to associated user.
# The Cloud ...
0
votes
2
answers
39
views
Is it possible to save FCM notifications in Firestore?
Send FCM notification to Android device from (Messaging tab) Firebase console. is it possible to save the notification messages in Cloud Firestore ( i.e Firestore database).
0
votes
1
answer
43
views
How can I efficiently insert more than 1 million records into Firestore?
Description:
I am working on a project where I need to insert more than 1 million records into Google Firestore. Currently, my approach is not efficient enough and the process is extremely slow. I am ...
0
votes
0
answers
34
views
firebase_firestore error Platform channel messages must be sent on the platform thread
I am creating a flutter application using firebase_firestore, I have a function that return a stream, when running the function, the following gets printed in the terminal:
[ERROR:flutter/shell/...
-2
votes
0
answers
15
views
I want to access my Firestore Database of project A, from Project B which is also deployed in same GCP [closed]
not able to access one DB (FIRESTORE) from two projects on same GCP.
I have two projects deployed in Google Cloud Platform project A & project B. Project A has firestore DB. now i want to access (...
0
votes
2
answers
29
views
Firestore alternative for collectionGroups
I have a question about Firestore search, collectiongroups, and something similar like that.
I have 2 main-collections: /users and /hobbies
Every user-doc in users has a subcollection "/hobbies&...
0
votes
0
answers
16
views
Flutter Create multiple document in same collection in Firestore
I want to create multiple documents inside the single or same collection in Firestor. The issue is when I can call the addTeacherBasicDetails() method, so create the perfect but after that, I can call ...
-2
votes
0
answers
42
views
flutter app not showing messages from firestore, messages are only getting stored
I was following a tutorial from Mitch koko channel on youtube. i created a messaging app. i followed the video exactly. my messages are getting stored in the firestore in the firebase database. but ...
1
vote
0
answers
20
views
Does the ordering of fields in a composite index matter for performance?
I have a Firestore query which is taking a while to execute (> 4 seconds). The query is structured as follows:
db
.collection('testCollection')
.where('fieldA', '==', 1)
.where('fieldB', '==',...
0
votes
1
answer
17
views
Chat History Fetched from Cloud Firestore Not Displaying in React Frontend
Problem:
Despite successful data fetching and processing, the chats do not appear in the UI. Could someone point out what might be going wrong or suggest any debugging steps?
I'm working on a web app ...