0

Is there a way to upload a PNG file from my Drawable folder to Firebase storage and get the URL and put it in a FireStore Database?

ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56

1 Answers1

0

Yes, you would convert your drawable resource to a bitmap and save it to a file, then upload that file to Firebase Storage, during which you will determine the image URL. You can then store that value in your Firestore database.

urgentx
  • 3,832
  • 2
  • 19
  • 30