Posts by Ricardo Oscar Kanitz • 121 points
4 posts
-
0
votes0
answers11
viewsQ: How to access items from a Map within an Array in Cloud Functions?
In firebase project I have an array messagescontaining a Map with the fields message, timestamp and type. I’m trying to access these fields with the lastMessage: data.messages; however the…
-
-1
votes1
answer151
viewsQ: How do I display a notification badge when I receive a notification?
Hello, in my application I have a list that shows the users who sent messages. I want to place a notification badge when the user receives a notification. Any idea how I can get such a function?…
-
0
votes1
answer28
viewsQ: Referenceerror: documentId is not defined
Hello, I am trying to create a Firebase Function for my flutter app to send notification to the token that is in an undercutting without specifying the Document. In Dart I can use "documentId", but…
-
0
votes1
answer2178
viewsQ: How to resolve "the getter data was called on null"?
Personal talk! I’m trying to create a function changeLikes where my firebase document (snapshot) has its likes incremented by Firebase by clicking on ontap through the FieldValue. However, I am…