my function:
async function takePhotoNStore(){
if(cameraRef){
let picture = await cameraRef.current.takePictureAsync();
const asset = await MediaLibrary.createAssetAsync(picture.uri);
await MediaLibrary.createAlbumAsync('Expo', asset, false);
}
}
I'm trying to create one album named "Expo" but it keeps creating multiple "Expo" album every time I take a new picture.