A
A
AndreyRafalsky132019-03-10 18:55:56
Android
AndreyRafalsky13, 2019-03-10 18:55:56

How can I be notified that a request has been received?

Good afternoon. I'm trying to implement a simple chat. I can't figure out how to implement a notification output. when a new friend request arrives. I have a collection of users. Each user has a receivedRequests list with IDs of users who sent him friend requests. How can I subscribe to this very sheet and when an element is added to it, get this new element?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question