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

Create a job execution script to execute Kolibri tasks in a WorkManager context #104

Closed
rtibbles opened this issue Apr 8, 2022 · 0 comments · Fixed by #119
Closed

Create a job execution script to execute Kolibri tasks in a WorkManager context #104

rtibbles opened this issue Apr 8, 2022 · 0 comments · Fixed by #119
Assignees

Comments

@rtibbles
Copy link
Member

rtibbles commented Apr 8, 2022

In order to allow our asynchronous tasks to be effectively run in the Android context, we will need to make a wrapper script that handles managing display of notifications in the case of a long running task, and of executing the job execution function with the appropriate job id passed in.

This script should access Android APIs via pyjnius in order to get the job_id information that needs to be passed as part of the WorkManager data: https://developer.android.com/topic/libraries/architecture/workmanager

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

Successfully merging a pull request may close this issue.

1 participant