imagefilebase64firebasedata-url

Can I store image on Firebase as file, instead of a data:url?


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?


Solution

  • 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.