Hi All,
I am a novice and I am facing an issue when I try to upload my profile picture.
I display a profile picture on a page
When a user clicks on the image, the Firestore media upload is called and if the user uploads a photo successfully, it is saved successfully in firebase storage and is successfully referenced in photo_url field in firebase database too.
Now, suppose if I click on the image to upload or change my picture and I cancel the process, the image which I already had gets deleted instead of still showing my old picture.
Thanks well in advance! Any help on this matter is highly appreciated!