0
Hi, I’m having a hard time getDownloadUrl firebase.
After the last firebase update my app stopped working.
Is showing 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 the error
Which error is being presented?
– Denis Rudnei de Souza
I just added a photo with the error I’m going through
– Edimilson
Can with
taskSnapshot.getDownloadUrlAsync()
?– Denis Rudnei de Souza