-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background Service is killed when app is swiped (close by user) #1783
Comments
brvier
added a commit
to brvier/python-for-android
that referenced
this issue
Apr 5, 2019
brvier
changed the title
Background Service is killed when app is swiped (c;lose by user)
Background Service is killed when app is swiped (close by user)
Apr 5, 2019
As far as I remember this is an Android feature. When the app is closed the service is also killed. Isn't it? |
No it's not a feature, it's badly coded. Take a look at kde connect source code for example. And how the app so works. Or automate, ifttt |
On KDE Connect seems to be using the |
brvier
added a commit
to brvier/python-for-android
that referenced
this issue
Jun 27, 2019
brvier
added a commit
to brvier/python-for-android
that referenced
this issue
May 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Versions
Description
When you close a application, the service is also closed. This is an unexpected behaviors, as service should run in background, and not be killed then restarted when you kill the app.
This happen as when you remove task from task list, the method onTaskRemoved of the service is also called.
The text was updated successfully, but these errors were encountered: