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?
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.
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 viaDirs
. so we can usemkdir
andcp
to copy the image into necessary folder.Thanks!