ismartcoding / plain-app

PlainApp is an open-source application that allows you to manage your phone through a web browser. Access files, videos, music, contacts, sms, calls, and more from your desktop using a secure, easy to use web interface!
https://docs.plain.icu
GNU Affero General Public License v3.0
2.29k stars 122 forks source link

Service Quick Tile #186

Open shailantani opened 1 week ago

shailantani commented 1 week ago

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.

ismartcoding commented 1 week ago

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.

shailantani commented 1 week ago

Sure, that makes sense. Thanks for the reply!

ismartcoding commented 1 week ago

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.