How to save file to external directory (sdcard) on android?

#1

I need save files to sdcard but can’t find any solutions with Expo.

FileSystem have only documentDirectory and cacheDirectory, haven’t got something like sharedDirectory, externalDirectory or sdcardDirectory.

I also try to save a file at “file:///sdcard/foo/bar” but not successful.

1 Like
#2

This isn’t something Expo currently supports but please open a feature request here if you’d like: https://expo.canny.io/feature-requests

1 Like
#3

For others interested in this, here’s a link to the relevant feature request: https://expo.canny.io/feature-requests/p/external-storage-api

External Storage API
I would like to be able to write to / read from a SD card, without having to detach from expo.
– Estefan Antelo Doval