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
6
votes
0 answers

Polymerfire - how to reset firebase-document between pages?

So, I've got a simple polymer app with a page listing some users, and a user details page. I'm using firebase-query for the list page, and firebase-document for the details page. I'm using app-route to pass the id of the user for the user details…
6
votes
2 answers

I need a working example demo of the or Polymerfire element in Polymer 1.x

Please share a working code example of how to use the Polymer element. I have a custom I'm trying to make into a login button for user authentication. I want to use the Firebase to perform the user authentication…
4
votes
1 answer

Polymer app best practices

I have best practices questions to respect while developing Polymer Web App. Let's say I have a Todo app. The main element my-main-task is responsible for switching between those elements: list all tasks, view a single task, create a new task, edit…
3
votes
3 answers

How do I call fetchSignInMethodsForEmail() from Firebase Auth

I have a PSK (Polymer Starter Kit) PWA build with polymerfire, I want to call fetchSignInMethodsForEmail() from Firebase Auth. I have tried the following but with error. firebase.auth().fetchSignInMethodsForEmail(email).then((methods) => { // Do…
Andrew See
  • 1,062
  • 10
  • 21
3
votes
2 answers

polymerfire-auth error "auth/popup-closed-by-user" 404 on popup redirect

I created a Firebase project based on Polymer Starter Kit and made some modifications to fix routing, but the sign-in popup immediately closes and logs an error: The popup has been closed by the user before finalizing the operation. The…
3
votes
3 answers

Polymer + Firebase (Polymerfire): not working inside single page app view (with located in my-app.html)

I'm trying to push data to Firebase using Polymerfire and the Polymer App Toolbox template: my-app.html contains a configured component. my-models.html (which is a page configured in my-app.html routes) contains a
3
votes
3 answers

Polymer and Polymerfire: how to loop through the data from an observer?

I have a simple tag, and I'd like to manipulate some of the data before having it displayed through a . For example, I need to turn some fields into links, and also parse some dates. So, I need to get the data once it's…
3
votes
0 answers

Do I have to force notify change when firebase-query data are not directly exposed (in deeper level of JSON)?

I have some data in a 3-level structure in firebase. I can get the data and extract what I want easily using firebase-query element of Polymerfire. But if I change data in the third layer, nothing happens when I expect my iron-list to reflect that…
3
votes
1 answer

Polymerfire query orderByChild not working

orderByChild is not documented but is part of the public api of the query element from polymerfire. I have something like this in my app:
pomber
  • 23,132
  • 10
  • 81
  • 94
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:
2
votes
1 answer

Actions on Google Authentication with Polymer and Firebase

I have written a simple web app hosted in Firebase and using Firebase Functions (for API layer) and Firebase Authentication to manage and authenticate users. The web client layer is written using Polymer including Polymerfire and is using to handle…
2
votes
1 answer

Data binding to a dynamic path in Polymer

I am building a web app with Polymer 1.0 and Firebase, and I want to have the view change when data was entered into a path with a user ID in the path. To do that, I want to do something like this: [[question.answers.(user.uid).choice]] Let me…
2
votes
2 answers

Issues in saving document using Polymerfire

I'm trying to save data into firebase database but always run into TypeError. Can't seem to find what the issue is. Here is my