Can someone explain this to me. I am working with node-firestore-backup-restore-master backup script for Firestore from github. Got it working but it only reads one docume
In firestore, Documents shown in italics because of,
The italics documents are not shown in your app, it can't fetched, only way to do this is directly specify the exact path and name of the document.
SOLUTION:
instead of adding only one collection to empty document, add one empty field in that document before adding collection.
In android I add an empty hash map to the field. but won't shown in database Here my example code:
Map dummyMap= new HashMap<>();
DocumentReference df=db.collection("col1").document("doc1");
df.set(dummyMap); // add empty field, wont shown in console
df.collection("your collection name");
The dummyMap and your collection are in same document "doc1".