All Questions
Tagged with google-cloud-firestore flutter
9,548
questions
0
votes
0
answers
22
views
Firebase Listener doesnt work on safari but works on chrome
I am making a time table that users can store locally using Shared Preferences in flutter. When an admin makes an update in firestore, I want the changes to be updated locally as well (in Shared ...
0
votes
1
answer
25
views
How to generate methods in `PerFieldToJson` using `json_serializable`?
Minimum reproducible code:
// foo.dart
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
import 'package:json_annotation/...
0
votes
0
answers
11
views
connect flutter android studio to firestore [closed]
how to connect firestore and flutter app in android studio to make the app more interactive
I have a login page with 3 field to select as Jilla ,Upashabha and password. the jilla and upasabha as to be ...
0
votes
0
answers
20
views
can't assign docs of nested query firebase collection to a List<class>
I'm have been trying to get all data of collection a and subcollection b and insert them into a List of model to use that list later to show data in a ListView builder , problems are:
1- I can't get ...
0
votes
1
answer
26
views
Android Fetching Data from Firebase Firestore Error
I create an app that is fetching some data from Firebase Firestore and display them on a list. While the app is starting is not fetching the data and this error occurs.
W/ConnectionTracker( 4843): ...
0
votes
0
answers
34
views
firebase_firestore error Platform channel messages must be sent on the platform thread
I am creating a flutter application using firebase_firestore, I have a function that return a stream, when running the function, the following gets printed in the terminal:
[ERROR:flutter/shell/...
0
votes
0
answers
16
views
Flutter Create multiple document in same collection in Firestore
I want to create multiple documents inside the single or same collection in Firestor. The issue is when I can call the addTeacherBasicDetails() method, so create the perfect but after that, I can call ...
-2
votes
0
answers
42
views
flutter app not showing messages from firestore, messages are only getting stored
I was following a tutorial from Mitch koko channel on youtube. i created a messaging app. i followed the video exactly. my messages are getting stored in the firestore in the firebase database. but ...
-1
votes
0
answers
20
views
FirebaseFirestore Ios flutter
Analyzing dependencies
Pre-downloading: FirebaseFirestore from https://github.com/invertase/firestore-ios-sdk-frameworks.git, tag 10.29.0
[!] Error installing FirebaseFirestore
[!] Failed to download '...
0
votes
0
answers
33
views
Extract entities with Gemini
I'm doing a chat with Gemini, and its already working, but i want to extract structured data from the prompts to save to firestore.
typedef Seizure = (
int id, {
String type,
String? duration,
});
...
1
vote
1
answer
52
views
Updating Firestore Documents Using Firebase Cloud Functions is Extremely Slow
I am trying to update documents using Firebase Cloud Functions. My document updates do not need to consider existing values, and since they primarily involve single document updates with minimal risk ...
1
vote
1
answer
70
views
Changing online status when logging in/out using Flutter&Firebase
I've been trying to achieve online status in my FlutterFlow app by using Flutter and Firestore. (not Realtime Database)
On addition to AppLifeCycleState conditions below, I need to add these 2 ...
0
votes
1
answer
99
views
Firestore security rule unexpected behaviour of hasAny() method depending on the order
I am trying to use security rules in order to limit what information about other users is able to see one authenticated user, depending on if these users are in the same department or not. I have ...
0
votes
0
answers
45
views
I am trying to fetch data from firebase and add it to a list but the list always comes empty [closed]
I created a function fetch tasks to access the collection timestamps and retrieve its documents and place them into a list but for some reason the list always comes out empty. To replicate the error ...
1
vote
0
answers
60
views
uniqueKey.toString() generating "Instance of 'UniqueKey'" instead of a unique key on IOS
My flutter data model uses UniqueKey to generate unique keys for firebase documents:
final String uKey = UniqueKey().toString();
DocumentReference documentReferencer =
_mainCollection.doc(...