Google profile image in FireBase FireStorage

0

I'm having trouble with the following code:

StorageReference imagemRef = storageReference
        .child("imagens")
        .child("perfil")
        .child(Jogador.uid + ".jpeg");

UploadTask uploadTask = imagemRef.putFile(acct.getPhotoUrl());

Where acct is GoogleSignInAccount that returns the Uri of the google profile image. Can anyone tell me what's wrong? Since putFile accepts Uri as a parameter.

    
asked by anonymous 22.09.2018 / 02:26

0 answers