I'm using the basic unity firebase storage documentation provided by firebase.
after implementing the codes i get an error saying
'StorageMetadata.DownloadUrl' is obsolete: 'StorageMetadata.DownloadUrl is deprecated. Please use StorageReference.GetDownloadUrlAsync() instead' (CS0619) [Assembly-CSharp]
after that i have changed the code as
string download_url = storage_ref.Child("ss.jpg").GetDownloadUrlAsync().ToString(); in my code
images_ref.PutFileAsync(local_file).ContinueWith((Task<StorageMetadata> task) => { if(task.IsFaulted || task.IsCanceled) { Debug.Log(task.Exception.ToString()); status.text = "Uo-oh, an error occurred!"; } else { // Metadata contains file metadata such as size, content-type, and download URL. Firebase.Storage.StorageMetadata metadata = task.Result; Debug.Log("Finished uploading..."); //string download_url = metadata.DownloadUrl.ToString(); // This shows error //Changed as string download_url = storage_ref.Child("ss.jpg").GetDownloadUrlAsync().ToString(); Debug.Log("download url = " + download_url); } }); but when use this it does not returns a string of that URL
It returns :
download url = System.Threading.Tasks.Task`1[System.Uri]
I need to get the string value of downloadURL of the image once it is uploaded. Please help.
Thank you in advance.

DownloadUrl()butGetDownloadUrlAsyncthough