expo/expo-asset-utils

[Unhandled promise rejection: Error: Directory for file doesn't exist

barnu5 opened this issue · 0 comments

Was this lib intended to work with .mp4 files?

import AssetUtils from "expo-asset-utils";
const asset = await AssetUtils.resolveAsync('blah.com/movie.mp4');

error:

[Unhandled promise rejection: Error: Directory for file:///var/mobile/Containers/Data/Application/ ..... / doesn't exist