Skip to content

Persistent always on background jobs

Compare
Choose a tag to compare
@vikeri vikeri released this 24 Apr 09:13
· 121 commits to master since this release

A new parameter, alwaysRunning is added to the schedule function and this will allow the app to run forever and prevent the system from killing it. To allow this, Android requires the app to show a notification.

Note: This will not work or at least act unexpectedly with multiple background jobs, currently only one job is supported. PR's fixing this are welcome but for our company's use-case it is not a priority.