How can I deserialize map from Firebase Firestore?
My FirebaseFirestore looks like the below image
“The caller does not have permission to execute the specified operation.)” Flutter Firestore
I’m a noob to development and StackOverflow but I have attempted looking at multiple solutions unfortunately nothing is working as intended. I’m getting the error: Exception has occurred.
FirebaseException ([cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation.)
enter image description here
This happens when I’m trying to Sign Up using Username, Email and Password. I have attached my SignUpController class snippet where the error is and my Firestore rules. Any help would be much appreciated.
enter image description here
enter image description here
Flutter Firebase Firestore Methods Not Working After Recent Update
Hello Stack Overflow community,
How to ensure that a DocumentSnapshot and a QurySnapshot stream from a collection are in sync
I am using firestore with flutter with local persistence disabled. I have two clients A and B. Client A performs a batch write operation which includes:
Duplicated data from firestore flutter
I tried to fetch data from firebase firestore without streams to handle changes with FutureBuilder, but I got duplicated data like username, profile pic, when I use it inside listView everything fine, I tried a lot to figure out the problem.
Why do I get an error as “type ‘List’ is not a subtype of type ‘List<DocumentReference<Map>>'”?
I was running unit test in flutter and I am getting error as
type ‘List’ is not a subtype of type ‘List<DocumentReference<Map<String, dynamic>>>’
access data from build method to initState
Is there a way to access data from build method to initState method? because I have data that comes from firestore and I fetch it using futureBuilder but when data fetched whole UI updated. the problem now is I just want to get the variable from the build method called participantKeys to initialize it in the initState method, because I want to get the data from the futureBuilder, I tried a lot of solutions but always get the same (UI updated).
How do I initialize Firebase in a background function
I am trying to make a background notification system using Workmanager and flutter_local_notifications, when I tried to run the app, I got an error that firebase wasn’t initalized.
Firebase tools npm install not functioning
I am creating a flutter app and trying to connect it to firebase. I was previously having issues with the node and npm versions, but I have now updated the to the latest version.