All Questions

40
votes
8answers
31405 views

How to get an array with all pictures?

I'm working to upload images, everything works great, but I have 100 pictures and I would like to show them all in my view, as I get the complete list of the images in a folder, I can not find in the ...
19
votes
6answers
6339 views

Get Download URL from file uploaded with Cloud Functions for Firebase

After uploading a file in Firebase Storage with Functions for Firebase, I'd like to get the download url of the file. I have this : ... return bucket .upload(fromFilePath, {destination: toFileP...
23
votes
1answers
8439 views

Firebase Storage and Access-Control-Allow-Origin

I'm trying to download files from Firebase Storage through a XMLHttpRequest, but Access-Control-Allow-Origin is not set on the resource, so it's not possible. Is there any way to set this header on th...
18
votes
1answers
6461 views

Store files with unique/random names

With the new Firebase API you can upload files into cloud storage from client code. The examples assume the file name is known or static during upload: // Create a root reference var storageRef = fir...
22
votes
1answers
7135 views

Firebase : Differences between realtime database and file storage

I learnt about real-time data storage and hosting storage from this post Difference between Data Storage and Hosting Storage? But i am still not clear about real time Database and and newly introduce...
7
votes
3answers
2681 views

FirebaseStorage: How to Delete Directory

FirebaseStorage always returns error 400 when I try to delete a directory i.e. something like the following always returns error 400. let storageRef = FIRStorage.storage().reference().child("path/to/...
42
votes
2answers
8823 views

Android - Firebase - TaskSnapshot - Method should only be accessed within private scope?

Everything was working great... until I came back to work from a 3 month break and updated my Firebase from 9.8 to 10.0.1 Now all of my calls to TaskSnapshot are giving me an error. Here is the exam...
19
votes
2answers
9038 views

Accessing firebase.storage() with AngularFire2 (Angular2 rc.5)

I try to access firebase.storage() on my project, with: "@angular": "2.0.0-rc.5" "angularfire2": "^2.0.0-beta.3-pre2" "firebase": "^3.3.0" I found this solution, and created my .component.ts file...
14
votes
3answers
8188 views

Upload files to Firebase Storage using Node.js

I'm trying to understand how to upload files in Firebase Storage, using Node.js. My first try was to use the Firebase library: "use strict"; var firebase = require('firebase'); var config = { a...
8
votes
2answers
3745 views

Get the data from the Firebase in limit to perform pull to refresh and load more functionality

Yet now i am getting the all data from the FireBase at one time.What i want to do that getting data in LIMITS like 15 records at a time. Like in first time user get the 15 records from the Firebase an...

Previous Next