I want to provide a feature that user can review all images which are uploaded by them. In my firebase storage, it contains user's images in /$uid/image
folder.
/$uid/image/imageA.png
/$uid/image/imageB.png
/$uid/image/imageC.png
However, i don't know how to get the reference of full users file.
i tried the code below to download it, but I got a storage/object-not-found
error code.
var imageRef = storageRef.child('UserImage/'+ user.uid + '/image');
i just want to get a list of image's download url in Json format. For example,
{$uid/image:[
'https://firebasestorage.googleapis.com/v0/b/XXXXXXXXXXXXXXXXXXXX1',
'https://firebasestorage.googleapis.com/v0/b/XXXXXXXXXXXXXXXXXXXX2',
'https://firebasestorage.googleapis.com/v0/b/XXXXXXXXXXXXXXXXXXXX3'
]}