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

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

This isn’t something Expo currently supports but please open a feature request here if you’d like:

1 Like

For others interested in this, here’s a link to the relevant feature request:

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

1 Like