exilonX
exilonX

Reputation: 1761

Flutter - Firestore stream snapshot with where not streaming when clause arguments are updated

My flutter app is using Firestore as a database. I am listening on a stream for data using this:

Firestore.instance.collection('cars')
          .where("free", isEqualTo: true).snapshots()

The problem with this is that when I change the field free of a car with free : false the stream is not updating, probably because of the where("free", isEqualTo: true) but if I change the field to free : true the stream sends updates...

Upvotes: 2

Views: 1042

Answers (1)

Related Questions