flutter firestore await fore query snapshot stream return old value first, then update to new value
I’m using flutter with firestore database, trying to build a time range query for returning stream of data from firestore. the behavior I see is weird, I run the query, I get old query results, after couple of seconds, I get stream update with the new query results. I’m using await for
for the purpose of waiting the stream to finish.
How Can I Add Field All Collections With Firestore
I need to add a field to a collection of approximately 2 million. Is there an easy way to do this? If I am going to do this with batch write, how should I query the fields that do not exist?
how can I get all data of collection and subcollection and insert them into one list
I have this database of nested collections doctors –> visits
doctors_collection & visits_collection
flutter firestore hangs on query snapshot stream randomly
I’m trying to fetch data using firestore stream on flutter application, however, this query randomly hangs and never come back
Switching between Public and Private profiles
I’m working on a group project in which a user can create two types of accounts, a public and a private. If the user creates a public account, his/her private account will also be created and if he creates a private account, then only the private account will be created.
Switching between Public and Private profiles in flutter , firebase
I’m working on a group project in which user can create two types of accounts. A Public and a Private. if the user create Public account his/her private account will also be created and if he creates private account then only the private account will be created.
i can add the data to collection and documents but when fetching the data problem occurred using firebase firestore [closed]
Closed 21 secs ago.
I face a problem while using firebase firestore i can add the data to collection and documents but when fetching the data problem occurred
I face a problem while using firebase firestore i can add the data to collection and documents but when fetching the exact documents the data didn’t in the UI
#Note : i am using flutter along with firebase
I hope anyone help as soon as possible cause i am building my graduation project
there is error show when build the flutter project
here is the error show when try to build the project
Flutter: Firestore server unavailable from background
I want to sync my firestore data from background once a FCM message is received. Therefore I want to fetch data from firestore server only using GetOptions(source: Source.server)
, because server data could have changed.