I want to download an entire folder from Firebase storage. I can download single files using DownloadURL as follows, but it does not work for folders. How to download entire folder from Firebase? Answer There is no API in Firebase Storage to download all files in a folder. You will have to download the files one by one, or create
Tag: firebase
require is not defined in Firebase?
I am trying to run a html file in Firebase staging environment. I have used Firebase npm package in the js code. But while running in the browser it throws error “require is not defined”. HTML Code: JS Code: Please suggest me some solution. Answer You need to setup a tool (such as webpack) to manage your dependencies. In this
Setting limits on file uploads via Firebase auth and storage without server in the middle?
I’m learning about Firebase auth and storage in a web app. My idea asks users to login via Firebase and then upload an image. I can see that this is possible from Firebase auth and storage. However, I would like to put limits on the file count and file-size they can upload. Is it possible to control uploads within the
How to change email in firebase auth?
I am trying to change/update a user’s email address using : But I am getting …changeEmail is not a function error. I found the reference here from the old firebase docu. So how to I do it in the 3.x version? Because I cant find a reference in the new documentation. Answer You’re looking for the updateEmail() method on the
Function from external JS file not being called
I am using webpack and firebase. I have this line in my package.json > “start”: “webpack-dev-server ./index.js”, In my index.js file I have function In my index.html file I have this line > <input type=”submit” onclick=logUserIn() value=”Log in”> When I click that button I get this error > Uncaught ReferenceError: logUserIn is not defined I also have this line in
How to get firebase id
Anyone know how to get the Firebase unique id? I’ve tried name(), name, key, key(). Nothing works. I am able to see the data but I have no idea how to get the id back. I need it. Answer The call to push will return a Firebase reference. If you are using the Firebase 3 API, you can obtain the
Get GeoFire to return null if there is no index within radius zone
I am building a webapp with angularjs and am using firebase. I am using geofire to return values that are within a given radius of a given lat, lng. It s fully working and returns what I want when there are values in the radius. However, when there are no values in the radius zone it returns nothing. This is
Firebase Permission Denied
I’m relatively new to coding and am having trouble. I have this code to send data to firebase However, I keep getting the error: FIREBASE WARNING: set at /users/(GoogleID) failed: permission_denied 2016-05-23 22:52:42.707 firebase.js:227 Uncaught (in promise) Error: PERMISSION_DENIED: Permission denied(…) When I try to look this up it talks about rules for Firebase, which seems to be in a
Uncaught ReferenceError: Firebase is not defined
I am trying to follow the tutorial on designing a database in firebase, but I am getting the following error in the JavaScript console: Uncaught ReferenceError: Firebase is not defined Here is the link to the tutorial, and the code snippet that I was trying to run in the JavaScript console is: https://www.firebase.com/blog/2014-11-04-firebase-realtime-queries.html Answer In the heading, include the following:
Angular Firebase (AngularFire) CRUD SHOW and EDIT pages?
To learn AngularFire I’m trying to build a simple CRUD app. The INDEX and NEW pages went smoothly but I’m stuck on the SHOW and EDIT pages. I can’t get a selected record to display on the SHOW page. With MongoDB and Angular it’s easy to make the SHOW page. On the INDEX page you put in an anchor link