skip to Main Content

Adding map in Firestore? – Flutter

How can I append a new Map type in firestore? void addUser() async { final us = _firestore.collection("users").doc(_search.text); us.update({ "requests": ( {_auth.currentUser?.email: rep} ), }); } Am using this method but the requests field in my firestore overwrites the previous…

VIEW QUESTION

Firebase – Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

I use kotlin language. I keep facing this pending intent error. E/AndroidRuntime: FATAL EXCEPTION: main Process: com.chugnchunon.chungchunon_android, PID: 20394 java.lang.RuntimeException: Unable to create application com.chugnchunon.chungchunon_android.GlobalApplication: java.lang.IllegalArgumentException: com.chugnchunon.chungchunon_android: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE…

VIEW QUESTION

Displaying the data from the firebase in list that if I pressed on one of its item it takes me to a full data page – Flutter

I'm using flutter web in my graduation project and saving my data in the firebase so I'm displaying my data by the following code StreamBuilder<QuerySnapshot> ( stream: FirebaseFirestore.instance.collection('Guests').snapshots(), builder: (context, snapshots) { return (snapshots.connectionState == ConnectionState.waiting) ? Center( child: CircularProgressIndicator(),)…

VIEW QUESTION
Back To Top
Search