Kotlin upload image to firebase is not working
When I tried to run the program and upload the image to the firebase, it doesn't success... Anyone can help me.. It looks like the Task is not success but I have do some research and still can't solve it.
val fileRef :StorageReference = storageProfilePicRef!!.child(firebaseUser!!.uid + ".jpg")
var uploadTask: StorageTask
uploadTask = fileRef.putFile(imageUri!!)
uploadTask.continueWithTask(Continuation { task ->
if(!task.isSuccessful){...