I'm having the same issue, but was able to catch the error when adding the AddOnFailureListener. The error message wasn't helpful.
An unknown error occurred, please check the HTTP result code and inner
exception for server response.
The result code was 0. The error code as -13000, which is an unknown error according to Firebase error table.
FirebaseApp.InitializeApp(Application.Context);
FirebaseStorage storage = FirebaseStorage.Instance;
StorageReference storageRef = storage.GetReferenceFromUrl("gs://");
StorageReference imageRef = storageRef.Child("folder/image.jpg");
var downloadURL = imageRef.DownloadUrl.AddOnSuccessListener(this, this).AddOnFailureListener(this, this);
public void OnSuccess(Java.Lang.Object result)
{
string downloadURL = result.ToString();
}
public void OnFailure(Java.Lang.Exception e)
{
Log.Warn("FirebaseStorage", "Download Failure", e);
}