You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That means the service has to run in a separate process. When a service needs to run in a separate process in an Android app, it makes things more complicated because the app and the service can't easily share data or sync events. Handling this communication between processes adds extra complexity to the project. So put this in low priority.
A simple walk around for this is that you don't need to toggle the start/stop service button each time, just kill the whole app if you don't need it. And next time when you need it, just open the app, the service will be started automatically if the switch was on.
It's a very small issue, but its a bit long process, going to the app, and then starting the plain-app service.
A solution to that is, creating a quick settings tile which can toggle between starting/stopping the service.
Another alternative could be creating a simple widget, which can toggle between starting and stopping service too.
The text was updated successfully, but these errors were encountered: