Questions tagged as 'google-storage'

1
answer

Delete web firebase folder

How to delete a folder from storage? To delete a file I use: firebase.storage().ref('pasta/arquivo.png').delete() But it does not work if I use it directly in the folder: firebase.storage().ref('pasta').delete()     
asked by 03.03.2018 / 03:44
1
answer

Error sending pdf to FirebaseStorage

I'm trying to send pdf files to the Firebase Storage and with this code I get to the point of getting the Uri, send, but only falls on onFailure, follow the code @Override public void onClick(View v) { if (Conte...
asked by 18.09.2018 / 08:01
1
answer

Sort firebase list

Currently I use this function to read the data from the firebase database: function ler() { database.ref(referencia_database).orderByChild('nome').once('value').then(function(snapshot) { snapshot.forEach(function(childSnapshot) {...
asked by 03.03.2018 / 00:00
1
answer

How to check if file exists in Firebase web storage?

I'm doing a web application with firebase, in this application I have an image register (optional), similar to the idea of a profile (the user may or may not have a registered image if a default image is not loaded), I would like how do I check...
asked by 17.02.2018 / 04:13
0
answers

Send camera photo to Firebase Storage

I need to have my App open the camera, take a picture and go back to the previous Fragment and click the Upload button, send that photo to the Firebase Storage . I was able to do with images that are already saved in the phone, but with...
asked by 21.10.2017 / 08:04
1
answer

File sent to firebase has 0Bytes

I have a problem, I can send the pdf to the storage, but it is arriving with 0Bytes. I am not sending any files, but inside this structure I would like to know how to get the uri from the pdf file. private void uploadFile() { try {...
asked by 25.09.2018 / 02:43
0
answers

Download Firebase Storage

Until then I have this code but without success public void baixar(){ FirebaseStorage storage = FirebaseStorage.getInstance(); StorageReference storageRef = storage.getReferenceFromUrl("gs://the-xxxxxxxxxxlpha1.appspot.com/arquivos")...
asked by 01.10.2018 / 06:05
1
answer

Problems in getDownloadUrl firebase

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.addOnSucc...
asked by 16.08.2018 / 23:14
0
answers

Photo stores in google clound and mongoDB?

I want to use Meteor and react to create a form with an image upload field that saves the uploading file to a google clound storage, and save only the image path in MongoDB Someone could point a direction, links, tutorials. I do not know how...
asked by 05.07.2018 / 23:16