How can I listen to document changes inside referenced documents in firestore?
Is it possible to listen to changes inside referenced documents within an array ‘events’ in my collection ‘calendar’. Within this array I save references to another collection where I store my calendar item information that I then read out per day in my calendar?
How can I listen to document changes inside referenced documents in firestore?
Is it possible to listen to changes inside referenced documents within an array ‘events’ in my collection ‘calendar’. Within this array I save references to another collection where I store my calendar item information that I then read out per day in my calendar?
Getting unknown error when updating a document in cloud_firestore using update method
I’m using below code to update a document but getting an unknown error. I have searched through internet and did not find any explanations of this error.
Flutter set record with server timestamp as key
I need to add field to document when key is the Firebase/Firestore server timestamp. The only working solution i found till now is first create record with timestamp as value with FieldValue.serverTimestamp()
, than read it from Firestore and than use received value for a key. This solution looks ugly and I don’t think it is correct one.
Tried to read Provider<QuerySnapshot> but the matching provider returned null
I encounter an error like this in flutter with firestore. The ItemList is class I’ve defined.
Problem in fetching the image from gallery in flutter over the icon by using imagepicker
This is the code for selecting the image in flutter but when i select the image from the gallery it does not show on the icon and when i select camera for taking the image it does not open the camera instead it opens the gallery why?
Making a Firestore List copy , to Edit it locally and replacing the orginal list with the updated data
In dart, i want to get a firestore document and that document has a field ‘products’ which is a list of maps, i want to save that list locally, edit it(user will edit using interface) then when the user is finished replace the original list with the updated one :
I want to get a list of filtered pharmacies from a given Stream<List>
I tried this function to get a filtered list of pharmacies based on medication. However, I’m not sure if my implementation is correct. Could someone please review my approach and provide feedback or suggestions for improvement?
Firestore Vector and findNearest in Flutter
Lately, Firestore added Vector search as showed here: