D
D
darly2017-06-04 18:38:32
PostgreSQL
darly, 2017-06-04 18:38:32

How to make an Android application alert when an entry is added to the server database?

I have a Spring server with a PostgreSQL database running Hibernate. There is a client application on Android, from which POST and GET requests are sent to the server.
The application is essentially a messenger. There was such a problem: how to notify one user about adding a message record to the database from another without regular GET requests to the server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2017-06-04
@darly

Use Firebase Cloud Messaging .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question