Background worker doesn’t work on real devices
The application requires periodic (15-30 mins) data synchronization with the backend.
I implemented this using the WorkManager API, but I encountered the issue that synchronization only triggers when the application is running; if the user or the Android OS terminates the application, my sync worker stops working.
At the same time, I see that synchronization works on the emulator even if I terminate the process.