Questions tagged [polymerfire]

Polymer Web Components for use with the Firebase 3.x API.

Contains four elements <firebase-app>, <firebase-auth>, <firebase-document> and <firebase-query>.

Install with the following CLI
bower install --save firebase/polymerfire

Source code hosted on Github at https://github.com/firebase/polymerfire

121 questions
0
votes
1 answer

How to check for a logged in admin in polymerfire?

I just changed from a json datastore for my single app Polymer web app to polymerfire. All data in my web app is public, and only one admin should change data, so I have just one top node for all page data. For login, I use the firebase-auth…
Alex Kimoto
  • 509
  • 5
  • 13
0
votes
1 answer

Polymerfire firebase-query not working and no error log

I want to fetch data from Firebase using polymerfire and somehow it doesn't work. Firebase data lol-project (a name with 5 randomized letters) +- events +- (some random event id, which is auto-generated) +- name: "haha" +- desc:…
shihandrana
  • 220
  • 4
  • 16
0
votes
1 answer

Polymerfire - Cannot read property 'push' of undefined

I have problem similar to this, except that I'm using polymer template from this. I imported all polymerfire references both in the page where is declared and in the page where is used. Not working. I found later that…
shihandrana
  • 220
  • 4
  • 16
0
votes
1 answer

Setting up the Polymer with Firebase for production

I am using Polymerfire library and a native javascript API in my project and I need to set up the production environment. I searched through multiple posts (for example this one) and I came to a conclusion that I need to create a separate project.…
Jan Beneš
  • 742
  • 1
  • 5
  • 24
0
votes
1 answer

Vulcanization is not working in polymer

I have implemented lazy loading like this.After implemented this vulcanization is not working. page('/home', function() { Polymer.Base.importHref('/components/home/home.html', function() { app.route = 'home'; }); });
0
votes
1 answer

Sending notification to a particular device

Displaying a notification is easy function spawnNotification(theBody,theIcon,theTitle) { var options = { body: theBody, icon: theIcon } var n = new Notification(theTitle,options); } How do I send it to a particular device(token…
0
votes
3 answers

How can I loop through an array of keys and do query for each using firebase-query in a declarative manner?

As title suggests, I am trying to use firebase-query element to do query for an array of keys which in return I should get bunch of objects per each key from the query. This can easily be done in java or swift , but when it comes to polymer elements…
TheBen
  • 3,410
  • 3
  • 26
  • 51
0
votes
1 answer

Firebase Keyed JSON to convert into items for Polymer iron-list; or access nested JSON?

I've tried lots of options to get Firebase Key-indexed JSON to display db text and images (from storage) into divs and template by using getElementById and it works for only setting the elements of the last db record received for the template. But…
verNsíon1
  • 53
  • 7
0
votes
1 answer

Firebase web. Checking if an object in an array has a particular value

Im trying to compute if an array has a particular object that has a value which matches to what I want The array is membersArray and here is where it comes from
0
votes
1 answer

firebase-query in dom-repeat to populate a grid

I am trying to loop through an array of keys that I would like firebase-query to fetch the nodes that meet the equal-to condition for those keys. When it comes to Polymer, HTMl, and JavaScript, I can't figure it out. Any help will be appreciated,…
TheBen
  • 3,410
  • 3
  • 26
  • 51
0
votes
1 answer

PolymerFire server TimeStamp

I am trying to retrieve firebase server timestamp (firebase.database.ServerValue.TIMESTAMP) in a polymer project using polymerfire. Is that possible and how ? Thanks
Joce M
  • 21
  • 2
0
votes
0 answers

Polymer Firebase image upload error

I have my firebase app config as so Each time I try an image…
Tevin Thuku
  • 437
  • 1
  • 8
  • 19
0
votes
0 answers

Firebase-query with a progress bar (paper-progress) in Polymer

I am trying to combine the firebase-query element with a paper-progress bar from Polymer. Unfortunately the firebase-query has no loading property such as the iron-ajax. So I tried to change the value of indeterminate in my paperprogress when the…
0
votes
1 answer

Polymer Upload Image to firebase

Im trying to follow the firebase docs and upload an image to firebase using polymer. This is what I have _pushToFirebase: function() { // SLUGGING THE NAME B4 WE EVEN SAVE IT!! var sluggedname = this._slugify(this.$.crewName.value); …
Tevin Thuku
  • 437
  • 1
  • 8
  • 19
0
votes
2 answers

Polymer firebase.. Authentication with password and email

I have a function that logs in a user successfully. _login: function() { var email = this.$.emailvalue.value; var password = this.$.passwordvalue.value; return this.$.authenticate.signInWithEmailAndPassword(email, password).then(function()…
1 2 3
8 9