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
13,514
questions with no upvoted or accepted answers
16
votes
0
answers
28k
views
Local module descriptor class for com.google.android.gms.providerinstaller.dynamite not found. Flutter Firebase
I just installed flutter with firebase but when adding to database I get the following error
İnstalled Google Play Services
Add in AndroidManifest(main)
-Add in AndroidManifest(user)
Local module ...
16
votes
5
answers
2k
views
React with Firebase - submitting Formik form data
I have a react app that uses Formik for forms and Cloud Firestore for the database.
I am trying to save the form data in Cloud Firestore. I get no errors in my console or react inspector tools, and ...
15
votes
2
answers
1k
views
How to identify unused indexes in a Firebase Firestore?
I have an application that uses Firebase Firestore. This is a great platform and my application grows every day, as well as my indexes. However, I suspect that they have unnecessary indexes. But I don'...
12
votes
2
answers
3k
views
Firestore query where(documentId(), 'in', array) is giving me an error
I'm trying to run a query for documents in a collection that match an array of ids (custom document ids), and I'm getting this error:
Error: The corresponding value for FieldPath.documentId() must ...
11
votes
1
answer
5k
views
Avoid Firebase / BoringSSL Console Logs on iOS
After installing Firebase (Cloud Firestore), I usually get tons of console logs, usually belonging to BoringSSL, such as this:
2018-08-27 13:49:03.747112+0100 VM[25611:371248] [BoringSSL] ...
10
votes
1
answer
4k
views
Flutter web app paused at web_entrypoint.dart
I am new to flutter, I was trying to build a web app , and i am trying to save text data to firestore but whenever i run my web app it doesn't run and a new file is opened named web_entrypoint.dart ...
10
votes
0
answers
1k
views
Debugging firestore network requests from chrome dev tools
Using Angular + Google Cloud Firestore, I was hoping to debug a request fired from a form to make sure it wasn't firing too often. When I go to the Network tab in Chrome dev tools, I see a request ...
10
votes
1
answer
313
views
Filter on document reference as a field
I have 3 collections:
User => with some field
Organization => with some field
UserOrg with fields like:
uid // user id
orgid // orgid
userDetails // document reference of user doc like user/uid
...
10
votes
1
answer
1k
views
Firestore read rules with self condition
I'm currently trying to build small app on firebase as an evaluation of it.
It looks interesting and super productive, but I have one problem with firestore rules.
I have one collection (games) with ...
10
votes
3
answers
3k
views
Firebase Storage security rules and download tokens for uploaded files
TLDR: This is a question about the URL returned from the task.snapshot.ref.getDownloadURL() and its respective downloadToken. It asks about what is the main role and functionality of the token and if ...
10
votes
2
answers
7k
views
How to migrate MySql Database to Firestore
I'm searching the best way to migrate my MySql database to Firebase's new Cloud Firestore.
What are the steps? I'm trying first of all to convert my tables and relations in my relational db to a ...
9
votes
1
answer
401
views
How many Firestore reads when listening to a collection after changing one item?
Suppose I have a Firestore collection containing 10 items, and my app listens to a snapshot of that collection to get realtime updates, showing the results in a list view.
If I update one document ...
9
votes
2
answers
658
views
Cloud Firestore throttling high-volume update syncing
(Note: sorry if I am using the relational DB terms here.)
Let's say I have ten clients that are connected to a database. This database has a sustained throughput of about 1k updates per second. ...
9
votes
0
answers
1k
views
Firestore trigger functions not logging in local emulator
Firestore trigger functions not logging(trigger) in local emulator, howewer when I deploy them they logs and works fine.
const admin = require("firebase-admin");
const serviceAccount = require('./...
9
votes
0
answers
686
views
How to mock test(unit test) on firebase with python?
Following official docs, I am developing. I don't know how to write When I write a unit test of Firestore. Are there any good samples?