API for running background tasks. Could be scheduled, run on an interval or event driven.
Cool. So you need to update this:
as it says:
"Expo apps don't support background code execution (running code when the app is not foregrounded or the device is sleeping). This means you cannot use background geolocation, play audio in the background, handle push notifications in the background, and more. This is a work in progress."
@Limoncello: play audio in the background & handle push notifications in the background is still not available.
@Rajendran Nadar: Thank you for clarification. Is the handling of push notifications in the background planned?
@Limoncello: Not yet but the background audio is in progress.
@Rajendran Nadar: Is there document describing what is and is not possible?
Does anyone have an example repo / snack for this addition?
@Brent Vatne since background fetch for android hasn't been completed should a new feature request be created in order to make this a priority in your backlog?
@Colin Krist: sure, sounds good
@everyone I've created a canny request to vote on for this https://expo.canny.io/feature-requests/p/android-background-fetch-support
Thanks for the great work guys. I can see this feature is complete. Waited a long time for it. However in the docs it talks only about IOS. Does TaskManager work on Android?
now supported for location and fetch, see https://docs.expo.io/versions/v32.0.0/sdk/task-manager - please open follow up requests for other specific use cases :)
Looks like the PR mentioned is merged https://github.com/expo/expo/pull/2338. Kudos to the team behind this effort.
It would be great to be able to fire an alarm that wakes the device.
one year later ...
I need that shit! xD
Hey i need this badly in our project. It would be more helpful if you guys can give some information on expected date of release for this.