Skip to content

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

Open
@tvaknin

Description

@tvaknin

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

Activity

tvaknin

tvaknin commented on Oct 20, 2019

@tvaknin
Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Run JobService forever until user decide to kill it. · Issue #376 · codepath/android_guides