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
Back To Top
Search