This is the line of code that attempts to get the documents in collection "notes". Currently for some reason in the DocumentSnapshot List only the manually added (directly in the Firebase site) documents appear, and the documents that are added through the app are ignored.
The underlined documents are the manually added ones, and they are the only ones to appear in the DocumentSnapshot List (for some reason).
!This is how I add a document to the "notes" collection. enter image description here This is the path.
Just to be clear the data is saved properly. The problem is that it is ignored when attempting to retrieve it.
As I said, I tried adding the data to the "notes" collection manually. When I did that, the said data did appear in the DocumentSnapshot List. But the data that I uploaded through the app (in the "saveNoteToFirebase" method) did not appear.