Answer the question
In order to leave comments, you need to log in
How to set up receiving data from the site without a request?
I can not find information about how I should receive server information in a stream or by events on the server.
For example, I need to receive data from the server several times a day and process this data immediately in the application.
The option to receive push notifications, then go into the application to send a rest request and receive a response in the form of json does not seem right to me. How can I make sure that the server immediately sends the necessary json with data and the application receives it in the background (if possible) and processes it?
Thanks for the tips and answers
Answer the question
In order to leave comments, you need to log in
Try looking at firebase.
Or look at websockets. If I understand you correctly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question