My code was working fine. As soon as I added isEqualTo
, the app keeps on loading and loading.
I am guessing perhaps I do have to do something with RULES in FirebaseFirestore. Not sure though. And also I know nothing of rules.
StreamBuilder(
stream: _firebaseFirestore
.collection('wallpapers')
.where('uploadedBy', isEqualTo: _user!.uid)
.orderBy('date', descending: true)
.snapshots(),
)