How can I reference a segment of Firebase Storage from Android?

0

Good community, I have a problem, and I do not know how to reference a certain section of Firebase Storage from the Android code to save, load or delete an image, I mean the segment that is not as default. Thanks and best regards.

    
asked by Adrián Garrido Blázquez 28.12.2017 в 20:16
source

1 answer

1

When you create the reference to the storage in the getInstance().getReference() you can use the getReferenceFromUrl(""); and inside the quotes pass the url of firebase

For example, you find Here in the firebase documentation

// Create a storage reference from our storage service

Firebase.Storage.StorageReference storage_ref =
  storage.GetReferenceFromUrl("gs://<your-cloud-storage-bucket>");

Remember that if you go to Storage in Firebase, you can find the link above

I hope you serve

    
answered by 31.12.2017 / 16:38
source