Get the named of Collections from Document on Cloud Firestore

I want to get collections (Col01, Col02, Col03) from the document (Doc01). How can I approach this? Check the attached image. Thanks. Image

Is firestore callback method run in a separate thread?

I am fetching Firestore data through RX observable. Is it required to subscribe to it in a separate thread or Firestore callback run off the main thread by default? Also please share any references …

How to get the data from x document and upload it to a new document called ‘name’ and then delete the old one in java

How to get the data from x document and upload it to a new document called ‘name’ and then delete the old one in java const firestore = firebase.firestore(); // get the data from ‘name@xxx.com’ …

Firebase firestore problem ‘Make sure to call FirebaseApp.initializeApp(Context) first’

I’m doing a new project in Android Studio. I’d like to make my project in latest version and with Firebase Firestore to keep data. I know that i need to put apply plugin: ‘com.google.gms.google-…

Get IDs of deleted documents in firestore

I have a big collection with several thousand documents. These documents have subcollections with documents inside. Now I deleted a lot of the documents on the highest level. Structure: MyCollection =&…

How do I query a user’s info in Firestore if all my document IDs are auto-generated?

All of the examples I’m finding online have very simple document IDs, but what do you do if you’re auto-generating all your IDs (as the docs say you should)? For example, I want to query the date when …

How to retrieve a list of custom objects from Cloud Firestore in Android

I posted before but was not aware of the post standards for questions, so I have reformatted with code to back my issue. I’m working on an app that uses Google Maps to take you on local tours and keep …

Can’t get custom Object from Firestore

I’m trying to create a custom object from a document in the Firebase Firestore. Whenever I try to use the User object, I get a NullPointerException on the user object: static FirebaseAuth fAuth = …

Firestore Could not deserialize object. Failed to convert value of type java.util.HashMap to Date

I’m trying to read a field from the first document in a Firestore Collection but I get the following error: Could not deserialize object. Failed to convert value of type java.util.HashMap to Date I …

no FireBase FireStore , is it possible to read only until you find a specific document?

I have an app that a user registers animals, these animals are separated by lot, so, to know where the animal is, the user just types his TAG and I look for the tag in all lots of my database, …