Michael Gallego
Michael Gallego
@felipecesar42 Did you manage to get only 1 result to pop up? I also don't want it to listen all the time.
I'm surprised you got a read at all. I tried filtering my collection with a where clause and it seemed to have not work. I checked multiple times to see...
@DarshanGowda0 Yeah I used the exact format in the documentation: `var queryRef = _firestore.collection('locations').where('city', isEqualTo: 'bangalore');` but with my values: `var queryRef = _firestore.collection('events').where('category', isEqualTo: 'activities');` I have this field...
@momoDragon Can you please show me where that link is located or what exactly is it saying? I have a lot of information in my console and it keeps updating...
The way I did it was have the subscription cancel once it fetched all the data. [https://gist.github.com/mikeyyg96/db3facc147981917d43945e2e4ff82a6](url)
Check the link I posted. I can't put code here it messes up the formatting.
`subscription = radiusRX.switchMap((rad) { return _geoflutterfire.collection(collectionRef: queryRef).within( center: center, radius: rad, field: field, strictMode: true); }).listen((List documentList) { Future.forEach(documentList, (DocumentSnapshot document) { // Fetches the data in the snapshot }).whenComplete((){...
This didn't really help me. In #15, the OP is trying to do a range filter to get a query between two conditions. I'm only trying to do a query...
@DarshanGowda0 If that's the case, do you know a work around? I want to filter the query based on preferences the user makes. Say, for example, in a collection of...
This would be useful