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?

noogui
  • 16,300
  • 4
  • 25
  • 51

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,592
  • 2
  • 18
  • 30