Hello, I have a difficulty in the getDownloadUrl firebase.
After the last firebase storage update my app stopped working.
You are experiencing an error in Uri downloadUrl = taskSnapshot.getDownloadUrl ();
uploadTask.addOnSuccessListener(new OnSuccessListener<UploadTask.TaskSnapshot>() {
@Override
public void onSuccess(UploadTask.TaskSnapshot taskSnapshot) {
Uri downloadUrl = taskSnapshot.getDownloadUrl();
Map newImage = new HashMap();
newImage.put("profileImageUrl", downloadUrl.toString());
mCustomerDatabase.updateChildren(newImage);
finish();
return;
}
});
Displays error