Questions tagged [firebase-polymer]

For questions involving the Polymer library's interface with the Firebase API — typically via the firebase-collection or firebase-document Polymer elements. Many Polymer apps use Firebase as both a static hosting solution as well as a backend (no-SQL) data store.

70 questions
6
votes
3 answers

Is there a way to monitor changes like "nodemon" for Firebase command line?

Is there any way to get the Firebase command line to simply refresh the server as I am applying changes to code similar to what nodemon does for nodeJS? I'm working with Polymer for web.
TheBen
  • 3,410
  • 3
  • 26
  • 51
5
votes
1 answer

Service Worker: How to build "Fresh" version of website for each new deployment?

The Problem I'm having an issue with a website (built w/ the Polymer Shop template) in production that's serving up old versions of code despite my new and improved deployments. I'm using the Polymer CLI $ polymer build command along w/ the Firebase…
Oneezy
  • 4,881
  • 7
  • 44
  • 73
5
votes
2 answers

Many Firebase-Elements slow everything down

In true Polymer fashion I'm building all of my elements as stand alone components that could be reused on their own. My app uses a Firebase database and the firebase-element elements to show data, and does a marvellous job at this, but the…
Boris
  • 737
  • 6
  • 18
5
votes
1 answer

How do you nest two of Polymer's firebase-collection elements inside dom-repeat?

I have a problem of looping two of Polymers firebase-collection elements. With my database structure i first have to check which events the user has access to, then get the information on that event from events. The problem with this code is that…
4
votes
2 answers

How to view the Polymerfire demo using Polymer’s `polymer serve` polyserve server?

I want to view this demo of Polymerfire in my browser. I expect to see the demo run in my browser. Instead, I see a blank page and the following console error. console.log.error.message GET http://localhost:8080/ 404 (Not Found) Navigated to…
4
votes
1 answer

Is there a working Polymer StarterKit 1.0 and Phone Gap / Cordova android build?

I am having issues with building my Polymer 1.0 app through PhoneGap. When I use phonegap to build the android apk and install it on my phone it shows the index.html file from the bower_components. Whichever element has the first index.html is what…
gkkirsch
  • 2,006
  • 2
  • 16
  • 14
3
votes
1 answer

Polymerfire getting data for each element in a list

Using a similar example to that on the polymerfire website, how can I get the information for each of the notes. If I get a list of notes avaliable like:
3
votes
1 answer

sending polymer iron form data to firebase

I want to send this form data to Firebase URL: https://blazing-heat-759.firebaseio.com/senso/
3
votes
0 answers

Cannot add to firebase using polymer project's

I am using polymer's to add records to my firebase. I am able to successfully log in buy cannot write, i get an error: 'Uncaught TypeError: Cannot read property 'ref' of undefined'. Has any one successfully tried to add record using new…
2
votes
1 answer

Flex Ratio Not Working in Polymer ^1.7.0?

I am using Flex-ratio property, but this property is not working. I am sharing my code. According to this link, this property is working fine on Polymer 1.0.
2
votes
1 answer

How to insert data into Firebase using Polymerfire (mutiple nodes + multiple paths)

My use case is that I have an with a single field that accepts a string list of email addresses which I parse into an array, then I want to: Store the individual email addresses in my Firebase (for indexing and lookup…
2
votes
2 answers

Polymer 1.x + Firebase 2.x: How to push or put data to Firebase using Polymerfire?

Using Polymerfire, I want to add new nodes to a Firebase without overwriting data. (I call this push or put behavior.) In other words. I want to start with this: State A my-app | - emails | + email1@example,com +…
2
votes
1 answer

app-indexeddb-mirror with Polymerfire

I built a simple page that has multiple tabs. Each tab loads a feed (collection/list) of articles from Firebase and renders cards on the page. Everything works as I wanted until I tried to persist the visited feeds into indexeddb with…
2
votes
0 answers

Polymer build error while using polymerfire

When trying to build using polymer fire, I'm getting this error, has anyone seen this before? What does 'no resolver found' mean? error: Promise rejection: Error: no resolver found for ../../../../bower_components/firebase/firebase.js The import…
Snewedon
  • 2,410
  • 2
  • 13
  • 27
2
votes
1 answer

Polymer 1.0 dom-repeat fails "Uncaught TypeError: Cannot read property 'extends' of undefined"

I have a simple dom-module with an dom-repeat template in it: