New Filename creating an asset with createAssetAsync


#1

I would like to save an image with MediaLibrary.createAlbumAsync or MediaLibrary.addAssetsToAlbumAsync, what I manged to do, but moreover I would like to choose the filename of the image as I want.
Is it possible to do it ?

I tried to change the asset.filename after creating it with asset = createAssetAsync(uri), but it doesn’t work.

Thanks for your help


#2

Hey @spoutnik97,

Unfortunately this isn’t currently possible with the MediaLibrary API.

Cheers,

Adam