skip to Main Content

Firebase – Handle huge number of index in Firestore queries

Here is my code: Query query = firestore.collection("users") .document(myUserID) .collection("unseen_profiles") .whereEqualTo("country", myProfileCountryFilter); if (!myProfileGenderFilter.isEmpty() && !myProfileGenderFilter.equalsIgnoreCase("everyone")) { query = query.whereEqualTo("gender", myProfileGenderFilter); } if (heightFilterOn) { query = query.whereGreaterThanOrEqualTo("height", minimumHeight); } if (weightFilterOn) { query = query.whereLessThanOrEqualTo("weight", maximumWeight); } if (customAgeFilterOn)…

VIEW QUESTION

Flutter – I have implemented search in my app , but i only get 10 product when I do searching from firebase

THESE ARE CODES, THAT I HAVE USED SO FAR. import 'dart:math'; import 'package:animated_text_kit/animated_text_kit.dart'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:firebase_ui_firestore/firebase_ui_firestore.dart'; import 'package:flutter/material.dart'; import 'package:multiyenyewe/screen/productDetailsScreen.dart'; import 'package:multiyenyewe/screen/searchServices.dart'; import 'package:shimmer_image/shimmer_image.dart'; import '../../firebaseService.dart'; import '../../model/productModel.dart'; import 'package:firebase_storage/firebase_storage.dart' as firebase_storage; class DataSnapShot extends StatefulWidget { final bool?…

VIEW QUESTION
Back To Top
Search