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
Shouldn't the PythonService class be a little bit more flexible? Right now it's only possible to create a foreground service with a notification. If a developer wants, for instance, to create a sticky service without "On going" notifications, it's not possible.
I think it would be nice to change the start_service() in PythonActivity (and of course PythonService) to be able to do this kind of stuff easily.
Have you guys already thought this through?
The text was updated successfully, but these errors were encountered:
I solved this problem. In your service you just need to put your service in the background; but remember now it can be killed to recliam memory.
Here is the code that goes in your service/main.py:
Shouldn't the PythonService class be a little bit more flexible? Right now it's only possible to create a foreground service with a notification. If a developer wants, for instance, to create a sticky service without "On going" notifications, it's not possible.
I think it would be nice to change the start_service() in PythonActivity (and of course PythonService) to be able to do this kind of stuff easily.
Have you guys already thought this through?
The text was updated successfully, but these errors were encountered: