Is it possible to write non-text files to disk using Expo.FileSystem, for example an image or video?
I want to store a base64 encoded image in Expo.FileSystem.cacheDirectory so that I can call CameraRoll.saveToCameraRoll on android against it. I would really prefer not having to eject my app (i.e. use react-native-fetch-blob) for this.
I have tried using Expo.FileSystem.downloadAsync with a data uri but this fails on android.
Has anyone accomplished this? Thanks!