Fetch Updates in Background Task
Fernando Rojo
Expo's current method of fetching updates when the app is foregrounded is inefficient. It requires choosing between falling back to a cached version, or forcing users to sit at a loading screen while the newer update downloads.
Since we always want users on the same version (like Web), we've opted for the second.
Expo Updates should fetch new JS bundles as as background task to help get around this trade off.
A
Ansh Nanda
Can’t you implement this as a background task with the existing APIs?
Fernando Rojo
Ansh Nanda: I’ve wondered the same thing actually. But the Expo team doesn’t seem to know the answer, so it would be nice to have first class support. What I’m proposing should really be the default behavior.
A
Ansh Nanda
Fernando Rojo: I’ll give a try and let you know.
But regardless, I completely agree. OTA updates is the main reason I use React Native over native code and its about time it has a better UX.