问题
I want to store image on firebase and want to use it somewhere. I went through this SO post and tried this demo.
It stores images as data:url format. But I want to upload and store images as physical file so I can use it further, something like this url http://example.com/some_image.png
Can I achieve this with Firebase?
回答1:
No. The Firebase API currently does not support storing files outside of its database.
Update: at Google I/O 2016 Firebase added Firebase Storage to its offering, which is a service dedicated to storing files.
来源:https://stackoverflow.com/questions/30054575/can-i-store-image-on-firebase-as-file-instead-of-a-dataurl