FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Image handling and file handling

Open vrjgamer opened this issue 10 years ago • 3 comments

I would be great to have a image and file handling methods in firebaseUI for convertion of Actual image or file to BASE64 String and back , with faster and better UI in case the listview or recyclerview has images or file handling.

vrjgamer avatar Mar 29 '16 04:03 vrjgamer

The Firebase Database is a JSON database. While you can BASE64 encode images and store them in the database, it is not well-suited for this. Until Firebase adds native support for storing images and other file types, it makes little sense to add it to FirebaseUI.

puf avatar Mar 29 '16 04:03 puf

why is it not recommended to use base64 on such database?

sivi29y avatar Mar 29 '16 13:03 sivi29y

Well we designed Firebase for small, quickly changing data. Having 10mb strings in there just doesn't fit into this model and ends up causing a lot of performance issues down the road.

Sadly, we wont be adding any file handling via base64 into FirebaseUI :(

abeisgoat avatar Apr 01 '16 17:04 abeisgoat