alpha0010 / react-native-file-access

Filesystem access for React Native
MIT License
307 stars 19 forks source link

[feature-request] Adding album field to cpExternal #22

Closed ahmetbicer closed 3 years ago

ahmetbicer commented 3 years ago

When i use cpExternal to save images in my app, it saves the images to root of the Pictures directory. Can an album field be added to cpExternal function like below?

FileSystem.cpExternal(sourceUri, 'my-picture', 'my-album', 'images')

So it will save the images to Pictures/my-album/ directory or can the uri of the Pictures directory exposed via Dirs. so we can use mkdir and cp to copy the image into necessary folder.

Thanks!

ahmetbicer commented 3 years ago

Looks like this is a duplicate of #10, i am closing this issue, sorry for the bothering.

Thanks for amazing library btw!