Android firebase storing picture in phone with download url






















Improve this question. Mark Rotteveel Rjz Satvara Rjz Satvara 3, 2 2 gold badges 22 22 silver badges 42 42 bronze badges. The code you posted is exactly the code to do this. Is there a problem here, does that code not work?

That's not the question you're asking : I'd take a look at github. Any suggestions? Show 1 more comment. Active Oldest Votes. Improve this answer. Shamik Chodankar Shamik Chodankar 3 3 silver badges 9 9 bronze badges. MuhammadAliJr so, What is the code now? Have you found it? Add a comment. Frank van Puffelen k 67 67 gold badges silver badges bronze badges. Collectives on Stack Overflow. Learn more. Ask Question.

Asked 4 years, 2 months ago. Active 3 months ago. Viewed 33k times. I want to download image on firebase storage in android app. Improve this question. Naveen Tamrakar 3, 1 1 gold badge 17 17 silver badges 28 28 bronze badges. What isn't working about the code? Add a comment. Active Oldest Votes. Improve this answer. Community Bot 1 1 1 silver badge. Vishal Yadav Vishal Yadav 1, 4 4 gold badges 14 14 silver badges 30 30 bronze badges.

Zim Zim k 80 80 gold badges silver badges bronze badges. This is the only answer answering the question. Every other answer is how to get the url. Thank you! To download a file, first create a Cloud Storage reference to the file you want to download. Sorry, something went wrong. This issues does not have all the required information. Looks like you forgot to fill out some sections. Please update the issue with more information.

This used to work, but now the console. This used to work and stopped working between last weekend and this weekend. It looks like these may be two separate issues. You should use the Reference. I have the same problem.

I upload image using blob, and ref. The image is uploaded correctly but after that I try to access a Firestore DB document and I get the error "Failed to get document because the client is offline". But mi connectios is good. And When disable the upload file the access to document is great. I shared my code here. Plis, I've been looking for a solution for days and I can't find it. It is difficult to google this problem.

Should the name of the image be an actual url or just randomly generated id? Because right now the name just looks like my other random id generated images. So random generated id is fine. Show 7 more comments. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Google Cloud.

Learn more about Collectives on Stack Overflow. The Overflow Blog. Podcast An oral history of Stack Overflow — told by its founding team. Millinery on the Stack: Join us for Winter Summer? Bash, !



0コメント

  • 1000 / 1000