I saw this and JavaScript supports 'array-contains'
but what about flutter? Is there any way to query array that contains? Or flutter not support this?
Asked
Active
Viewed 1.3k times
2

Daibaku
- 11,416
- 22
- 71
- 108
3 Answers
6
The array-contains
feature was added in version 0.8.0 of the FlutterFire library.
See https://github.com/flutter/flutter/issues/20489#issuecomment-419181186

Frank van Puffelen
- 565,676
- 79
- 828
- 807
2
Today I discover that they add array-contains to the plugin in version 0.8.0:
https://github.com/flutter/plugins/blob/master/packages/cloud_firestore/CHANGELOG.md
For iOS you should update the pod with pod update Firebase/Firestore

Michael Tijhuis
- 173
- 1
- 10
1
Best thing to do right now is to use a firebase cloud functions to achieve whatever isnt yet available for the flutter firestore library. Thats what i intend to do when its time to refactor.
-
Thanks for comment great idea I’ll check that! – Daibaku Sep 05 '18 at 14:09