Good afternoon, members of the forum. I have an application, with MainActivity, which starts a service when the application starts. The service sends a POST request to the server every 10 seconds. Everything is fine, requests are received, but only before the phone screen is locked. If the screen is locked, the service seems to stop completely, and when the screen is unlocked, the service resumes and requests start being sent. What could be the problem and how to solve it? Thanks in advance
Android Studio, Java.
Android Studio, Java.