-1

I store an actual image on the firebase storage and then I also store String of Uri to firestore. I want to use Glide library to retrieve an image, but I need my app to store working url to firestore for that.

Is there a way to do that?

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441
  • Check out this [Firecast](https://www.youtube.com/watch?v=7puuTDSf3pk) on how to upload and display public image URLs on Android. You can then store this URL in the Firestore. – petomalina Sep 14 '19 at 16:50

1 Answers1

2

You will want to generate a download URL and store that in the database.

This has been discussed in detail on Stack Overflow.

Doug Stevenson
  • 297,357
  • 32
  • 422
  • 441