Notifications in a chat app

I made a simple chat application
Firstly

I have a question: Are my messages safe or can anyone look at them?

secondly

How can I make the application send a notification when a message is received?

I would like to thank all forum members

I would like to say that I searched a lot and did not find a solution, so I asked the question

You can check this application to see if there is an error in it :point_down:t2::point_down:t2:

Santos_Chat_.aia (138.8 KB)

  1. Safe ? In general, the only people who can see the messages are the ones who have the token in your app. If you are really worried about who can see what on the server, then you should use an encryption system for your messages.

2, See the cloudDB examples here:

1 Like


This is correct?

How do I encrypt these messages?

I tried this, but it now sends a notification to the user who sent the message and to the user who received the message.

Search the community for encryption or encoding, see if you find something that works for you.