Issue Using Flutter 3.3.9, I fetch a record from my Firestore database using a Streambuilder. I use the following code segment to do this: StreamBuilder<Object>( stream: FirebaseFirestore.instance .collection(‘users’) .doc(userId) .snapshots(), builder: (context, snapshot) { if (snapshot.connectionState == ConnectionState.waiting) { return
Continue readingTag: google-cloud-firestore
reading data from firebase firestore collection at stream builder
Issue I got trouble with firebase fireStore. There is a stream builder reading data from items collection. Inside items collection there is some fields and another collections. I haven’t any problem with fields, the problem is with collection. how to
Continue readingreading data from firebase firestore collection at stream builder
Issue I got trouble with firebase fireStore. There is a stream builder reading data from items collection. Inside items collection there is some fields and another collections. I haven’t any problem with fields, the problem is with collection. how to
Continue readinghow can we search for a word in a firebase document field
Issue I am building a social media app with Flutter Firebase. I am currently developing a hashtag feature. I want to query all the posts which contains the hashtag in its caption? ARAYCONTAINS not working Here’s my code class HashtagPage
Continue readingFlutter _JsonQuerySnapshot' has no instance method '[]'
Issue I have collection for Users and groups, I want to display list of last update groups. But, the user uid must be stay in member field(array) of group Collection. So, I use StreamBuilder and get snapshot like this, FirebaseFirestore.instance
Continue readingParse error Unexpected token '�' at 1:1 ��{ on flutter app when running firebase deploy
Issue encounter the below message when trying to firebase deploy from root project Error: Parse Error in …\firestore.indexes.json Unexpected token ‘�’ at 1:1 ��{ I have a flutter app, upon which I also have a functions folder. Below is the
Continue readingGetting "Unhandled Exception: Null check operator used on a null value" while getting data from firestore database
Issue Hello Guys I am working on flutter project where I am getting user information from the firestore database but when I am getting that info it throws an exception The Error: E/flutter (18952): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator
Continue readingHow do I know if there are more documents left to get from a firestore collection?
Issue I’m using flutter and firebase. I use pagination, max 5 documents per page. How do I know if there are more documents left to get from a firestore collection. I want to use this information to enable/disable a next
Continue readingHow to get geopoints from Firebase Firestore as List<LatLng> for a Polyline in Flutter?
Issue I have a collection of documents in my firestore database. This is one of the documents: In my app I want to show Polylines on the Google Map based on the points in the document. The Polyline requires points
Continue readinghow to query a Firestore DocumentReference field in Flutter
Issue I have Item collection it contains a reference named category as you can see I wanna search if category is equal to category reference it should show me all data with that category reference here I am searching for
Continue reading