FirebaseStorage Extension


#1

Hi everybody!, today i bring you FirebaseStorage extension

FirebaseStorage Extension
Getting Started
Find the storage bucket.
Screenshot_2

Then, change the rules
Screenshot_1

seems like this
Screenshot_3

Now add the extension to your project. finally you have to set the API and STORAGE BUCKET in the component properties. (You can find the API key in projects settings)
Screenshot_4

Methods
upload a photo. use file://… or content:// or http:// for path
Screenshot_6

upload a video. use file://… or content:// or http:// for path
Screenshot_5

Get and Delete a file with a given filename.
Screenshot_7

Events
Return the download Url from Firebase and filename.
Screenshot_8

Return error message
Screenshot_9

Video files takes more time than image to upload… try small files

com.mirxtremapps.FirebaseStorage.aix (34.6 KB)

Try the aia project (dont forget set your own API and StorageBucket)
FirebaseStorage.aia (37.7 KB)

This is the first version, i hope to improve this extensions, Thank!

Follow me on You Tube as mirxtrem apps.

Invitame un café, Invite me a coffee


How to use cloud firestore?
#2

A very good start! Bravo


#4

#Req Would You make us a firebaseDB Extension As known Issue we have a problem while compile on mit ai2u Offline with Firebase component… You Just masterpiece Of Firebase Thanks.


#5

@mirxtrem_apps could you please show how I can upload image captured from camera. Below is my code.

Error is Invalid HTTP method/URL pair

image


#6

I’ve fixed this. No need to add gs:// to the storagebucket.


#7

Thanks a lot sir. It’s helpful. :+1:


#8

@mirxtrem_apps

Hello Gustavo,

Nice work, I have a question with regard to it: I can save to a subfolder but I am not able to get the file back from the subfolder.

Is there a way to get to the subfolder to get the file with the .get block?


#9

How to set project bucket dring runtime. its definite that we are going to work in different pockets at the same considerably different folders.


#10

Help me

How to update webviewer url in firebase & open external


#11

is not possible yet.
stay close for next update!