Skip to content
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

Run JobService forever until user decide to kill it. #376

Open
tvaknin opened this issue Oct 20, 2019 · 1 comment
Open

Run JobService forever until user decide to kill it. #376

tvaknin opened this issue Oct 20, 2019 · 1 comment

Comments

@tvaknin
Copy link

tvaknin commented Oct 20, 2019

Hi,
I used your guide to run a Background Service via JobScheduler and send that information with broadcast receiver to the main activity.
My app gathering barometer sensor data in the background.
The problem is that Android Destroy the JobService after a few minutes.
Is there any option to run JobService forever?

Thanks

@tvaknin
Copy link
Author

tvaknin commented Oct 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant