Search code examples
firebasefluttergoogle-cloud-firestore

Firebase Firestore not showing documents created by my flutter application


I was able to configure the Firestore database in Firebase with my flutter app and also create and read documents from my collection but when I go to Firestore console I don't see the created data, also when I creat data manually I am unable to see it in my application.

I am using the test mode which means any user can read or write.

I hope someone can help me with this puzzle. Thanks!!!


Solution

  • It sounds like the device/emulator that you are running on is not connected to the internet, or at least not to the Firestore servers. In that case, the client writes all local changes into a local database, waiting to send them to the server when it gets a connection. So the local app will work, but won't be able to synchronize its local cache with the database servers.

    You might want to check the connection on your device, and any proxies that might exist between your app and the Firestore servers.