NOTE: this question is also on SO.
According to expo documentation:
MediaLibrary.addAssetsToAlbumAsync(assets, album, copyAssets) this would save assets to a camera roll.
My code is here:
const photoData = await this.camera.takePictureAsync(); const asset = await MediaLibrary.createAssetAsync(photoData.uri); const storeInAlbum = MediaLibrary.addAssetsToAlbumAsync(asset, 'testingRoll', false)
I can confirm the picture is taken. Also that the picture is saved to my general camera roll. However the storeInAlbum does not place the asset in album. I don’t get an error, just doesn’t do anything.
I can confirm “testingRoll” is a valid album. I’ve ran this to ensure that we have access to it:
I have even attempted to push asset into an array assets. Still no luck. What am I missing here?