104
Android Background Fetch Support
complete
Colin Krist
With the release of https://docs.expo.io/versions/v32.0.0/sdk/background-fetch in SDK 32 there is still a need for Android to get this feature.
I'm impartial to how this gets implemented, but RN core has a system that could be utilized
NOTE: This feature has been opened due to the original background task feature request being marked complete without Android support being included in the current implementation
Евгения Иванова
Hello! What news? When is approximately planned to release a new version?
Ash Sharma
Would love to see this asap. Android is 85% of the worldwide market - if anything, I'd think it should have been built first ;)
Thanks for the awesome work, Expo team.
Tomasz Sapeta
Ash Sharma: However it was much easier to implement on iOS, also
background fetch
is an iOS-only feature. On Android we're just trying to achieve similar functionality.Kuriel i
still throwing message "expo-background-fetch is currently available only on iOS" on fresh expo init project
Tomasz Sapeta
Kuriel i: That's correct, because SDK33 is not released yet. Background fetch support on Android will be a part of the next big release.
Antonio Curiel
Tomasz Sapeta: nice, thanks Bro, do you know when is the next release available?
Tomasz Sapeta
Antonio Curiel: We don't have a specific date yet, but I'd say it should be available in a month.
Vertigo 101
+1 Great work expo team and to Tomasz, Though you should update the docs :)
Ardy Febriansyah
This reason i love expo, thanks for you hard works
frediusTc Dev
Thank u very much u r a king
frediusTc Dev
You Expo team are building the future
Evan Bacon
complete
Complete!! 😁💙 Thanks to Tomasz (https://twitter.com/tsapeta) from Software Mansion!!
sercan
Please upvote :) PR is over there, But anyways I start building expo with the current PR, can't wait :)
Tomasz Sapeta
Hello, sorry guys for disappointing you that we didn't include this into the initial BackgroundFetch release - actually this feature wasn't even planned to be a part of SDK32 as we didn't have time for Android's implementation.
I opened a PR adding background fetch support on Android, see https://github.com/expo/expo/pull/3281
Re: HeadlessJS API - it wouldn't work with Expo internal architecture - that's why we've implemented TaskManager which does similar thing and works on both platforms.
Tom Norton
Tomasz Sapeta: I see about Headless JS, thanks for the explanation! I presume we'd have to wait for the next sdk release to test this feature, right?
Tomasz Sapeta
Tom Norton: Yes, it will be released with the next sdk release, but if you want to test it before release, you probably can build Expo Client from source 😀 Let me know if you need any help with that!
Tom Norton
Tomasz Sapeta: Does the TaskManager module permit making network requests as-is?
Tomasz Sapeta
Tom Norton: Yes, the task can be an async function and you can do there whatever you want... but of course some UI-related APIs like ImagePicker may not work while in the background 😜
Tom Norton
Tomasz Sapeta: Excellent, thank you!
Ash Sharma
Tomasz Sapeta: I'm new to Expo and need to use this for Android immediately. Could you elaborate on "build Expo client from source"? You mean the raw source from the Github repo? What's the QA status for this feature on Android?
Thanks much.
Tom Norton
I was really hoping that with this release we could avoid ejecting for our project, but it's incompletely implemented. It's a core feature, let's get this second half of the job upvoted!
Load More
→