expo: [SDK 44] [expo-file-system] after SDK update createDownloadResumable downloadAsync () does not download large video files.

Summary

Updated to SDK 44 and now videos are not cached if they are larger than ~ 15 MB. That is, an 80 MB file is downloaded only a couple of MB and that’s it. The file itself is created.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

Android, iOS

SDK Version (managed workflow only)

44

Environment

Expo CLI 5.0.3 environment info: System: OS: Windows 10 10.0.22000 Binaries: Node: 14.17.5 - C:\Program Files\nodejs\node.EXE npm: 6.14.14 - C:\Program Files\nodejs\npm.CMD npmPackages: expo: ^44.0.4 => 44.0.4 react: 17.0.1 => 17.0.1 react-dom: 17.0.1 => 17.0.1 react-native: 0.64.3 => 0.64.3 react-native-web: 0.17.1 => 0.17.1 Expo Workflow: managed

Reproducible demo

https://github.com/OctagonDS/demo

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I released expo-file-system@13.1.4 with this fix. It will not work in Expo Go or with the classic build service, but it will work with EAS Build / bare apps. The fix will become available in Expo Go and classic build service in SDK 45.